|
Wing Commander II
Reconstructed Win32 source (1996)
|
Shared Win32 declarations, types and library interfaces. More...
#include <windows.h>#include <ddraw.h>#include <mmsystem.h>#include <conio.h>#include <direct.h>#include <io.h>#include <ctype.h>#include <errno.h>#include <fcntl.h>#include <math.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include "game_data.h"#include "globals.h"#include "functions.h"#include "externs.h"Go to the source code of this file.
Data Structures | |
| struct | IxSample |
| struct | IxSound |
| struct | Viewport |
| struct | MouseCursorState |
| struct | HostMouseMessage |
| struct | InputEvent |
| struct | InputEventState |
| struct | InputDeviceSample |
| struct | RasterSurface |
| struct | RasterClip |
| struct | RLETransformVertex |
| struct | RLEFrameHeader |
| struct | FontWorkspace |
| struct | TextContext |
| struct | CockpitReadout |
| struct | ModalTextPanel |
| struct | HudMessageSlot |
| struct | WaveTableEntry |
| struct | ActiveSoundEntry |
| struct | GuardedAllocation |
| struct | FreedHeapBlock |
| struct | DebugOverlayConsole |
Macros | |
| #define | CANNED_SCENE_SNAPSHOT_BYTES |
| #define | LOAD_OBJECT_TYPE_RECORD(fileName, section, record) |
| #define | CUTSCENE_MOUTH_MIN_TICKS 6 |
| #define | CUTSCENE_SPRITE_MIN_TICKS 6 |
| #define | HOST_POINTER_SIZE 4 |
| #define | DEG2RAD 0.017453292519943295 |
| #define | COM_RELEASE(surface) |
| #define | SPRITE_ROW_OFFSET(viewport, row) |
Typedefs | |
| typedef unsigned int | DwordPtr |
| typedef short | INT16 |
| typedef unsigned short | UINT16 |
| typedef unsigned char | UINT8 |
| typedef signed char | INT8 |
| typedef struct IxSound | IxSound |
| typedef struct IxSample | IxSample |
| typedef struct Viewport | Viewport |
| typedef struct MouseCursorState | MouseCursorState |
| typedef struct HostMouseMessage | HostMouseMessage |
| typedef char | MouseCursorState_size_must_be_0x21[sizeof(MouseCursorState)==0x21 ? 1 :-1] |
| typedef struct InputEvent | InputEvent |
| typedef struct InputEventState | InputEventState |
| typedef struct InputDeviceSample | InputDeviceSample |
| typedef struct RasterSurface | RasterSurface |
| typedef struct RasterClip | RasterClip |
| typedef struct RLETransformVertex | RLETransformVertex |
| typedef struct RLEFrameHeader | RLEFrameHeader |
| typedef struct FontWorkspace | FontWorkspace |
| typedef struct TextContext | TextContext |
| typedef struct CockpitReadout | CockpitReadout |
| typedef struct ModalTextPanel | ModalTextPanel |
| typedef struct HudMessageSlot | HudMessageSlot |
| typedef char | CockpitReadout_size_must_be_0x0a[sizeof(CockpitReadout)==0x0a ? 1 :-1] |
| typedef struct WaveTableEntry | WaveTableEntry |
| typedef struct ActiveSoundEntry | ActiveSoundEntry |
| typedef struct GuardedAllocation | GuardedAllocation |
| typedef struct FreedHeapBlock | FreedHeapBlock |
| typedef struct DebugOverlayConsole | DebugOverlayConsole |
Enumerations | |
| enum | GAME_MODE { Player = 0 } |
| enum | GAME_STATUS { ALIVE = 0 } |
Functions | |
| void | ShowOnScreenMessage (short duration, const char *fmt,...) |
| void | SoundDebugPrintf (const char *fmt,...) |
| void | SystemDebugPrintf (const char *fmt,...) |
Shared Win32 declarations, types and library interfaces.
Definition in file game.h.
| #define CANNED_SCENE_SNAPSHOT_BYTES |
Definition at line 61 of file game.h.
Referenced by FinishCannedScenePlayback(), InitializeHighMemoryGraphicsBuffers(), ReadTapeInitialState(), and WriteTapeInitialState().
| #define COM_RELEASE | ( | surface | ) |
Definition at line 110 of file game.h.
Referenced by DIBerror(), DIBpositionWindow(), and DIBunInstall().
| #define DEG2RAD 0.017453292519943295 |
Definition at line 107 of file game.h.
Referenced by CosFixed(), and SinFixed().
| #define HOST_POINTER_SIZE 4 |
Definition at line 103 of file game.h.
Referenced by DecodeCutsceneFileResource(), DecodeSceneOffsetChunk(), DecodeSceneStructChunk(), DecodeSceneSymbolChunk(), InitializeCutsceneRuntimeResources(), and load_ship().
| #define LOAD_OBJECT_TYPE_RECORD | ( | fileName, | |
| section, | |||
| record ) |
Definition at line 73 of file game.h.
Referenced by load_ship(), and LoadAlternateShipType().
| #define SPRITE_ROW_OFFSET | ( | viewport, | |
| row ) |
| typedef struct ActiveSoundEntry ActiveSoundEntry |
| typedef struct CockpitReadout CockpitReadout |
| typedef char CockpitReadout_size_must_be_0x0a[ sizeof(CockpitReadout)==0x0a ? 1 :-1] |
| typedef struct DebugOverlayConsole DebugOverlayConsole |
| typedef struct FontWorkspace FontWorkspace |
| typedef struct FreedHeapBlock FreedHeapBlock |
| typedef struct GuardedAllocation GuardedAllocation |
| typedef struct HostMouseMessage HostMouseMessage |
| typedef struct HudMessageSlot HudMessageSlot |
| typedef struct InputDeviceSample InputDeviceSample |
| typedef struct InputEvent InputEvent |
| typedef struct InputEventState InputEventState |
| typedef struct ModalTextPanel ModalTextPanel |
| typedef struct MouseCursorState MouseCursorState |
| typedef char MouseCursorState_size_must_be_0x21[ sizeof(MouseCursorState)==0x21 ? 1 :-1] |
| typedef struct RasterClip RasterClip |
| typedef struct RasterSurface RasterSurface |
| typedef struct RLEFrameHeader RLEFrameHeader |
| typedef struct RLETransformVertex RLETransformVertex |
| typedef struct TextContext TextContext |
| typedef struct Viewport Viewport |
| typedef struct WaveTableEntry WaveTableEntry |
| enum GAME_STATUS |
| void ShowOnScreenMessage | ( | short | duration, |
| const char * | fmt, | ||
| ... ) |
| void SystemDebugPrintf | ( | const char * | fmt, |
| ... ) |
Definition at line 30 of file console.cpp.