|
Wing Commander II
Reconstructed Win32 source (1996)
|
Space palette layout and contiguous palette-entry reservation. More...
#include "game.h"Go to the source code of this file.
Functions | |
| void | ConfigureDefaultSpacePalette (short mode) |
| short | ReserveContiguousPaletteEntries (short entryCount) |
| void | ReleaseContiguousPaletteEntries (short firstEntry) |
| void | PrintPaletteAllocationMap (void) |
Variables | |
| short | g_nSpacePaletteFadeMode = -1 |
| short | g_awPaletteEntryAllocation [256] |
Space palette layout and contiguous palette-entry reservation.
Definition in file palalloc.c.
| void ConfigureDefaultSpacePalette | ( | short | mode | ) |
Definition at line 11 of file palalloc.c.
References ApplySpacePaletteModeHook(), ConfigureDefaultSpacePalette(), g_nSpacePaletteFadeMode, and void().
Referenced by ConfigureDefaultSpacePalette(), DrawTextAt(), LoadOriginFxDrivers(), and LogMemoryUsage().
Definition at line 57 of file palalloc.c.
References g_awPaletteEntryAllocation, and PrintPaletteAllocationMap().
Referenced by PrintPaletteAllocationMap(), and UpdateShipTurretGuns().
| void ReleaseContiguousPaletteEntries | ( | short | firstEntry | ) |
Definition at line 46 of file palalloc.c.
References g_awPaletteEntryAllocation, and ReleaseContiguousPaletteEntries().
Referenced by ReleaseContiguousPaletteEntries(), and UpdateShipTurretGuns().
| short ReserveContiguousPaletteEntries | ( | short | entryCount | ) |
Definition at line 19 of file palalloc.c.
References g_awPaletteEntryAllocation, and ReserveContiguousPaletteEntries().
Referenced by ReserveContiguousPaletteEntries(), and UpdateShipTurretGuns().
| short g_awPaletteEntryAllocation[256] |
Definition at line 76 of file palalloc.c.
Referenced by PrintPaletteAllocationMap(), ReleaseContiguousPaletteEntries(), and ReserveContiguousPaletteEntries().
| short g_nSpacePaletteFadeMode = -1 |
Definition at line 8 of file palalloc.c.
Referenced by AllocateViewport(), CalcRectangleArea(), ConfigureDefaultSpacePalette(), DrawSpaceSceneFrame(), FadeViewportPaletteToColour(), free_viewport(), house_keep_objects(), InitializeDIBScreenViewport(), LoadGamePaletteFile(), PanToScreen(), QueryCurrentGraphicsMode(), and UpdateSpacePaletteFade().