Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
timer.c File Reference

Win32 frame timer and developer step waiting. More...

#include "wc1.h"

Go to the source code of this file.

Functions

void WaitForDebugStep (void)
void CALLBACK FrameTimerCallback (UINT timerId, UINT message, DWORD user, DWORD first, DWORD second)
void SetMultimediaTimerCallback (int period)

Variables

TextContext stLeftVduTextContext
Viewport stSpaceBufferViewport
Viewport stRightVduViewport
Viewport stPilotHandBackdropView
struct Shape * pCockpitWeaponShapePtr
Viewport stCurrentConvTextViewport
char szDefaultTxtBuf [0xc8]
struct Shape * pCockpitIndicatorShape
struct Shape * pCurrentConstellationShape

Detailed Description

Win32 frame timer and developer step waiting.

Address range 42afa0-42b04f.

Definition in file timer.c.

Function Documentation

◆ FrameTimerCallback()

void CALLBACK FrameTimerCallback ( UINT timerId,
UINT message,
DWORD user,
DWORD first,
DWORD second )

◆ SetMultimediaTimerCallback()

◆ WaitForDebugStep()

void WaitForDebugStep ( void )

Definition at line 23 of file timer.c.

References TakeDebugStepFlag(), and WaitForDebugStep().

Referenced by init_3Space_objects(), and WaitForDebugStep().

Variable Documentation

◆ pCockpitIndicatorShape

struct Shape* pCockpitIndicatorShape

Definition at line 19 of file timer.c.

Referenced by show_target_disp().

◆ pCockpitWeaponShapePtr

struct Shape* pCockpitWeaponShapePtr

◆ pCurrentConstellationShape

struct Shape* pCurrentConstellationShape

◆ stCurrentConvTextViewport

◆ stLeftVduTextContext

◆ stPilotHandBackdropView

◆ stRightVduViewport

◆ stSpaceBufferViewport

◆ szDefaultTxtBuf