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

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

Detailed Description

Title orchestra sequence and victory fireworks.

Definition in file intro.c.

Typedef Documentation

◆ TitleActorMotion

typedef struct TitleActorMotion TitleActorMotion

Function Documentation

◆ AnimateTitleOrchestra()

◆ DrawScaledTitleLogo()

void DrawScaledTitleLogo ( short y,
short scale )

◆ DrawTitleOrchestra()

◆ DrawTitleSky()

◆ PlayTitleConductorCue()

◆ PushTitleOrchestraAway()

◆ RandomInRange()

unsigned short RandomInRange ( unsigned short lo,
unsigned short hi )

Definition at line 31 of file eventmgr.c.

◆ RevealTitleLogo()

◆ ShowVictoryScreen()

◆ Title_Sequence()

Variable Documentation

◆ g_apszTitleActorFrames

char* g_apszTitleActorFrames[10]
Initial value:
= {
"abcdefghijkaakkkkaaaalllllllmmll",
"aaaaaaaabcddeeddccffgghhgghhiiih",
"aaaaaaaaaabbccbbaaccccccccccaccc",
"aaaabbbcccddeeddccffggaaggffcaaa",
"aabbbaacccddddddccddeeeeeeddccca",
"aaaaaabbbaaabbaaaabbbbaabbbbaccc",
"aabbcdbbbeaaaaaaeeaaaaaaaaaabaaa",
"abbbaacccdeeaaeeddaaaaaaaaaadacc",
"aaaaaaaaabbbccbbbbccddddddccaaaa",
"abccdefgghiijjiihhkkllmmllkkhnnn"
}

Definition at line 18 of file intro.c.

Referenced by AnimateTitleOrchestra(), PlayTitleConductorCue(), and PushTitleOrchestraAway().

◆ g_apTitleSections

◆ g_aTitleActorMotion

TitleActorMotion g_aTitleActorMotion[10]
Initial value:
= {
{ 58, 94, -1, 1 },
{ 186, 94, 0, 1 },
{ 278, 94, 1, 1 },
{ 58, 102, -3, 2 },
{ 186, 102, 0, 2 },
{ 278, 102, 3, 2 },
{ 58, 110, -5, 3 },
{ 186, 110, 0, 3 },
{ 278, 110, 5, 3 },
{ 158, 74, 0, 4 }
}

Definition at line 31 of file intro.c.

Referenced by AnimateTitleOrchestra(), DrawTitleOrchestra(), PlayTitleConductorCue(), and PushTitleOrchestraAway().

◆ g_pTitleFieldShape

unsigned char* g_pTitleFieldShape = 0

Definition at line 44 of file intro.c.

Referenced by DrawTitleSky(), RevealTitleLogo(), ShowVictoryScreen(), and Title_Sequence().

◆ g_pTitleMusic

void * g_pTitleMusic

Definition at line 601 of file intro.c.

Referenced by Title_Sequence().

◆ g_szTitleConductorFrames

char g_szTitleConductorFrames[]
Initial value:
=
"opoqopoqopoqopoqqrstrq"

Definition at line 15 of file intro.c.

Referenced by PlayTitleConductorCue(), and PushTitleOrchestraAway().