|
Wing Commander II
Reconstructed Win32 source (1996)
|
Title orchestra sequence and victory fireworks. More...
#include "game.h"Go to the source code of this file.
Data Structures | |
| struct | TitleActorMotion |
Typedefs | |
| typedef struct TitleActorMotion | TitleActorMotion |
Functions | |
| void | Title_Sequence (void) |
| void | DrawTitleSky (short planetY) |
| void | DrawTitleOrchestra (void) |
| unsigned short | RandomInRange (unsigned short lo, unsigned short hi) |
| void | AnimateTitleOrchestra (void) |
| void | PlayTitleConductorCue (void) |
| void | DrawScaledTitleLogo (short y, short scale) |
| void | PushTitleOrchestraAway (void) |
| short | RevealTitleLogo (void) |
| void | ShowVictoryScreen (short logoY) |
Variables | |
| char | g_szTitleConductorFrames [] |
| char * | g_apszTitleActorFrames [10] |
| TitleActorMotion | g_aTitleActorMotion [10] |
| unsigned char * | g_pTitleFieldShape = 0 |
| unsigned char * | g_apTitleSections [13] |
| void * | g_pTitleMusic |
Title orchestra sequence and victory fireworks.
Definition in file intro.c.
| typedef struct TitleActorMotion TitleActorMotion |
Definition at line 148 of file intro.c.
References AnimateTitleOrchestra(), DrawSpriteDefault(), DrawTitleSky(), g_apszTitleActorFrames, g_apTitleSections, g_aTitleActorMotion, g_bSceneEscapeRequested, g_nFrameSkip, g_nFrameSkipCountdown, g_nMusicDriverMode, g_nTitleMusicSequenceStage, g_stSecondaryViewBufferBlock, RandomInRange(), RefreshMemoryStatusOverlay(), and WaitForInputKey().
Referenced by AnimateTitleOrchestra(), and Title_Sequence().
| void DrawScaledTitleLogo | ( | short | y, |
| short | scale ) |
Definition at line 336 of file intro.c.
References DrawScaledTitleLogo(), DrawSpriteScaled(), g_apTitleSections, g_stSecondaryViewBufferBlock, and GetTransformedShapeBounds().
Referenced by DrawScaledTitleLogo(), RevealTitleLogo(), and ShowVictoryScreen().
Definition at line 128 of file intro.c.
References DrawSpriteDefault(), DrawTitleOrchestra(), DrawTitleSky(), g_101_stScrViewInfo, g_apTitleSections, g_aTitleActorMotion, g_stSecondaryViewBufferBlock, and PanToScreen().
Referenced by DrawTitleOrchestra(), and Title_Sequence().
| void DrawTitleSky | ( | short | planetY | ) |
Definition at line 119 of file intro.c.
References DrawSpriteDefault(), DrawTitleSky(), g_apTitleSections, g_pTitleFieldShape, and g_stSecondaryViewBufferBlock.
Referenced by AnimateTitleOrchestra(), DrawTitleOrchestra(), DrawTitleSky(), PlayTitleConductorCue(), and PushTitleOrchestraAway().
Definition at line 220 of file intro.c.
References DrawSpriteDefault(), DrawTitleSky(), g_apszTitleActorFrames, g_apTitleSections, g_aTitleActorMotion, g_bSceneEscapeRequested, g_nFrameSkip, g_nFrameSkipCountdown, g_nMusicDriverMode, g_nTitleMusicSequenceStage, g_stSecondaryViewBufferBlock, g_szTitleConductorFrames, PlayTitleConductorCue(), RefreshMemoryStatusOverlay(), and WaitForInputKey().
Referenced by PlayTitleConductorCue(), and Title_Sequence().
Definition at line 353 of file intro.c.
References DrawSpriteScaled(), DrawTitleSky(), g_apszTitleActorFrames, g_apTitleSections, g_aTitleActorMotion, g_bSceneEscapeRequested, g_nFrameSkip, g_nFrameSkipCountdown, g_stSecondaryViewBufferBlock, g_szTitleConductorFrames, PushTitleOrchestraAway(), RefreshMemoryStatusOverlay(), and WaitForInputKey().
Referenced by PushTitleOrchestraAway(), and Title_Sequence().
| unsigned short RandomInRange | ( | unsigned short | lo, |
| unsigned short | hi ) |
Definition at line 31 of file eventmgr.c.
| short RevealTitleLogo | ( | void | ) |
Definition at line 406 of file intro.c.
References DrawScaledTitleLogo(), DrawSpriteDefault(), g_apTitleSections, g_bSceneEscapeRequested, g_nFrameSkip, g_nFrameSkipCountdown, g_pTitleFieldShape, g_stSecondaryViewBufferBlock, GetTransformedShapeBounds(), RefreshMemoryStatusOverlay(), RevealTitleLogo(), and WaitForInputKey().
Referenced by RevealTitleLogo(), and Title_Sequence().
| void ShowVictoryScreen | ( | short | logoY | ) |
Definition at line 485 of file intro.c.
References DrawScaledTitleLogo(), DrawSpriteDefault(), FlushSoundEffect(), FlushSoundEffects(), FireworkState::frame, g_16_aFireworks, g_bSceneEscapeRequested, g_nMusicDriverMode, g_nTitleMusicSequenceStage, g_pTitleFieldShape, g_stSecondaryViewBufferBlock, InitializeFireworks(), RandomInRange(), RefreshMemoryStatusOverlay(), ShowVictoryScreen(), FireworkState::soundHandle, TheEndFireWorks(), FireworkState::variant, void(), WaitForInputKey(), FireworkState::x, and FireworkState::y.
Referenced by ShowVictoryScreen(), and Title_Sequence().
Definition at line 51 of file intro.c.
References AnimateTitleOrchestra(), ClearViewport(), DrawTitleOrchestra(), FadeViewportPaletteToColour(), FetchDiskPacketRetrying(), FreePacketAndClear(), g_18_nInterfaceEventMode, g_1_pTitleFireworkShape, g_2_stModalSourceWindow, g_apTitleSections, g_bSceneEscapeRequested, g_cSecondaryViewBufferColour, g_nMusicDriverMode, g_nTitleMusicSequenceStage, g_pTitleFieldShape, g_pTitleMusic, InitializeConversationViewport(), PlayTitleConductorCue(), PushTitleOrchestraAway(), ReleasePacketHandle(), ResetScreenClipToFullHeight(), RestoreGamePalette(), RevealTitleLogo(), ShowVictoryScreen(), StartMusic(), StopMusic(), Title_Sequence(), and WaitForInputKey().
Referenced by Title_Sequence().
| char* g_apszTitleActorFrames[10] |
Definition at line 18 of file intro.c.
Referenced by AnimateTitleOrchestra(), PlayTitleConductorCue(), and PushTitleOrchestraAway().
| unsigned char * g_apTitleSections |
Definition at line 600 of file intro.c.
Referenced by AnimateTitleOrchestra(), DrawScaledTitleLogo(), DrawTitleOrchestra(), DrawTitleSky(), PlayTitleConductorCue(), PushTitleOrchestraAway(), RevealTitleLogo(), and Title_Sequence().
| TitleActorMotion g_aTitleActorMotion[10] |
Definition at line 31 of file intro.c.
Referenced by AnimateTitleOrchestra(), DrawTitleOrchestra(), PlayTitleConductorCue(), and PushTitleOrchestraAway().
| unsigned char* g_pTitleFieldShape = 0 |
Definition at line 44 of file intro.c.
Referenced by DrawTitleSky(), RevealTitleLogo(), ShowVictoryScreen(), and Title_Sequence().
| void * g_pTitleMusic |
Definition at line 601 of file intro.c.
Referenced by Title_Sequence().
| char g_szTitleConductorFrames[] |
Definition at line 15 of file intro.c.
Referenced by PlayTitleConductorCue(), and PushTitleOrchestraAway().