mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 10:52:36 +01:00
- implement SetupTannerSkeleton, DrawTanner
This commit is contained in:
parent
65be109b19
commit
ffd2a02ab4
File diff suppressed because it is too large
Load Diff
@ -1439,7 +1439,9 @@ void DrawAllPedestrians(void)
|
||||
pPed = pUsedPeds;
|
||||
while (pPed != NULL)
|
||||
{
|
||||
if (pPed->pedType - 2 < 2 && PositionVisible((VECTOR *)&pPed->position) != 0 && FrustrumCheck((VECTOR *)&pPed->position, 60) != -1)
|
||||
if (pPed->pedType - 2 < 2 && // ???
|
||||
PositionVisible((VECTOR *)&pPed->position) != 0 &&
|
||||
FrustrumCheck((VECTOR *)&pPed->position, 60) != -1)
|
||||
{
|
||||
if (pPed->type - 8 < 6)
|
||||
DrawCiv(pPed);
|
||||
@ -1506,8 +1508,6 @@ void DrawAllPedestrians(void)
|
||||
// [D]
|
||||
int TannerActionHappening(void)
|
||||
{
|
||||
int iVar1;
|
||||
|
||||
PEDESTRIAN *pPed = player[0].pPed;
|
||||
|
||||
if (pPed && pPed->type == PED_ACTION_PRESSBUTTON)
|
||||
|
@ -7,11 +7,13 @@ extern REPLAY_PARAMETER_BLOCK *ReplayParameterPtr;
|
||||
extern REPLAY_STREAM ReplayStreams[8];
|
||||
extern int NumReplayStreams;
|
||||
|
||||
extern char *ReplayStart;
|
||||
extern char *replayptr;
|
||||
|
||||
extern unsigned long PingBufferPos;
|
||||
extern _PING_PACKET *PingBuffer;
|
||||
|
||||
|
||||
extern PLAYBACKCAMERA *PlaybackCamera;
|
||||
|
||||
extern void InitPadRecording(); // 0x0001A09C
|
||||
|
@ -26,20 +26,19 @@ unsigned char HorizonTextures[40] = {
|
||||
0x18, 0x19, 0x1A, 0x1B, 0x10, 0x11, 0x12, 0x13
|
||||
};
|
||||
|
||||
SVECTOR sun_position[4] =
|
||||
{
|
||||
{ 33536, 54536, 60536, 0 },
|
||||
{ 33536, 54536, 60536, 0 },
|
||||
{ 33536, 54536, 60536, 0 },
|
||||
{ 33536, 54536, 60536, 0 }
|
||||
|
||||
SVECTOR sun_position[4] = {
|
||||
{-0x7d00,-0x2af8,-0x1388},
|
||||
{-0x7d00,-0x2af8,-0x1388},
|
||||
{-0x7d00,-0x2af8,-0x1388},
|
||||
{-0x7d00,-0x2af8,-0x1388}
|
||||
};
|
||||
|
||||
SVECTOR moon_position[4] =
|
||||
{
|
||||
{ 33536, 54036, 47536, 0 },
|
||||
{ 33536, 54036, 47536, 0 },
|
||||
{ 33536, 54036, 47536, 0 },
|
||||
{ 33536, 54036, 47536, 0 }
|
||||
SVECTOR moon_position[4] = {
|
||||
{-0x7d00,-0x2cec,-0x4650},
|
||||
{-0x7d00,-0x2cec,-0x4650,},
|
||||
{-0x7d00,-0x2cec,-0x4650,},
|
||||
{-0x7d00,-0x2cec,-0x4650,}
|
||||
};
|
||||
|
||||
SVECTOR moon_shadow_position[4] =
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef SKY_H
|
||||
#define SKY_H
|
||||
|
||||
extern SVECTOR sun_position[4];
|
||||
extern SVECTOR moon_position[4];
|
||||
|
||||
extern void LoadSky(); // 0x000775C8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user