Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
188 lines
5.2 KiB
C
188 lines
5.2 KiB
C
#define SHELL Shell
|
|
|
|
#define GPATH "Content\\ShellScripts\\Graphics\\"
|
|
#define WPATH "Content\\ShellScripts\\Graphics\\Widgets\\"
|
|
#define SPATH "Content\\Audio\\"
|
|
#define MB_GPATH "Content\\ShellScripts\\MechBay\\Graphics\\"
|
|
#define MB_SPATH "Content\\ShellScripts\\MechBay\\"
|
|
#define FPATH "Content\\ShellScripts\\Graphics\\Fonts\\"
|
|
#define FILEPATH "Content\\ShellScripts\\Files\\"
|
|
#define MAPPATH "Content\\Textures\\HUD\\"
|
|
|
|
|
|
#define OPENINGCINEMA 0
|
|
#define PILOTENTRY 1
|
|
#define MAINMENU 2
|
|
#define CAMPAIGNLOBBY 3
|
|
#define INSTANT_SCREEN 4
|
|
#define MULTIPLAYER_SCREEN 5
|
|
#define OPTIONS 6
|
|
#define AUDIOOPTIONS 7
|
|
#define VIDEOOPTIONS 8
|
|
#define CONTROLOPTIONS 9
|
|
#define HUDOPTIONS 10
|
|
#define CINEMAOPTIONS 11 // replay them
|
|
#define IAWRAPUP_SCREEN 12
|
|
#define LOAD_SCREEN 13
|
|
#define BRIEFING 14
|
|
#define MECHBAY_SCREEN 15
|
|
#define TRAINING_SCREEN 16
|
|
#define MECHBAY_TUTORIAL 17
|
|
#define LOBBY_SCREEN 18
|
|
#define MODEM_SCREEN 19
|
|
#define MULTIPLAYERPARMS 20
|
|
#define STIENERCINEMA 21
|
|
#define DAVIONCINEMA 22
|
|
#define LOGSCREEN 23
|
|
#define DIRECT_SCREEN 24
|
|
#define LAUNCHGAME 25
|
|
#define PAUSEMENU 26
|
|
#define ENDMISSION 27
|
|
#define CAMPAIGNCINEMA 28
|
|
#define ENDINGCINEMA 29
|
|
#define CREDITSCINEMA 30
|
|
#define CAMPAIGN_REVIEW 31
|
|
#define IA_REVIEW 32
|
|
|
|
// to sync w/ mwapplication.cpp
|
|
#define ExitToWindowsShellCommand 0
|
|
#define StartSinglePlayerGameCommand 1
|
|
#define StartNetworkShellsCommand 2
|
|
#define StartNetworkGameCommand 3
|
|
#define ExitMissionCommand 4
|
|
#define DisconnectCommand 5
|
|
#define ExitToMainMenuCommand 6
|
|
#define ResumeMissionCommand 7
|
|
#define StartCampaignGameCommand 8
|
|
#define ExitNetworkShellCommand 9
|
|
#define ReturnNetworkLobbyCommand 10
|
|
#define EndNetworkShellsCommand 11
|
|
#define StartMissionReviewCommand 12
|
|
#define DisconnectLobbyCommand 13
|
|
#define SetPauseOptionResCommand 14
|
|
#define UnsetPauseOptionResCommand 15
|
|
|
|
// to sync w/ mwapplication.cpp - don't use bleow definitions...
|
|
#define EXIT_TO_WINDOWS_SHELL_COMMAND 0
|
|
#define START_SINGLE_PLAYER_GAME_COMMAND 1
|
|
#define START_NETWORK_SHELLS_COMMAND 2
|
|
#define START_NETWORK_GAME_COMMAND 3
|
|
#define EXIT_MISSION_COMMAND 4
|
|
#define DISCONNECT_COMMAND 5
|
|
#define EXIT_TO_MAIN_MENU_COMMAND 6
|
|
#define RESUME_MISSION_COMMAND 7
|
|
#define START_CAMPAIGN_GAME_COMMAND 8
|
|
#define EXIT_NETWORK_SHELLS_COMMAND 9
|
|
#define RETURN_NETWORK_LOBBY_COMMAND 10
|
|
#define END_NETWORK_STARTUP_SHELL_COMMAND 11
|
|
#define START_MISSION_REVIEW_SHELL_COMMAND 12
|
|
#define DISCONNECT_LOBBY_COMMAND 13
|
|
#define SET_PAUSE_OPTION_RES_COMMAND 14
|
|
#define UNSET_PAUSE_OPTION_RES_COMMAND 15
|
|
|
|
#define VIDEORES_600_480 0
|
|
#define VIDEORES_800_600 1
|
|
#define VIDEORES_1024_768 2
|
|
|
|
//
|
|
//Asset paths
|
|
//
|
|
#define szPATH_SOUNDS "Content\\ShellScripts\\Sounds\\"
|
|
#define szPATH_GRAPHICS "Content\\ShellScripts\\Graphics\\"
|
|
#define szPATH_FONTS "Content\\ShellScripts\\Graphics\\Fonts\\"
|
|
#define szPATH_SCRIPTS "Content\\ShellScripts\\"
|
|
#define szPATH_MOVIES "Content\\Movies\\"
|
|
//
|
|
//Default Z Orders for different controls
|
|
//
|
|
#define nZ_PANE 10
|
|
#define nZ_MOVIE 20
|
|
#define nZ_LISTBOX 30
|
|
#define nZ_EDITBOX 40
|
|
#define nZ_MissRegion 40
|
|
#define nZ_BUTTON 50
|
|
#define nZ_INFOPOINT 50
|
|
#define nZ_SLIDER 55
|
|
#define nZ_DROPDOWN 60
|
|
#define nZ_TEXT 70
|
|
#define nZ_HELPREGION 20
|
|
|
|
//
|
|
// Mail Messages for Brennan's c_ Controls
|
|
//
|
|
//c_Pane
|
|
#define nMSG_UPDATESTATE 10000
|
|
#define nMSG_CLICKED 10001
|
|
//c_Movieplayer
|
|
#define nMSG_LOOP 10010
|
|
#define nMSG_PLAY 10011
|
|
#define nMSG_STOP 10012
|
|
#define nMSG_MEDIAEND 10013
|
|
//c_Rollover
|
|
#define nMSG_NOHELP 10020
|
|
#define nMSG_CLEARHELP 10021
|
|
#define nMSG_INPUT_STRING 10022
|
|
#define nMSG_INPUT_RESID 10023
|
|
//c_MissionRegion
|
|
#define nMSG_MRCLICKED 10030
|
|
//c_Toggle
|
|
#define nMSG_UPDATETOGGLE 10040
|
|
|
|
// Defines for mc_listboxes
|
|
//#define MAX_MCCB_ITEMS 60
|
|
//#define MAX_MCCB_COLUMNS 20
|
|
|
|
//Music volume for UI
|
|
#define nMusicVolume 50
|
|
|
|
//
|
|
// Mail Messages for Campaign Menu
|
|
//
|
|
#define nMSG_INITMISSION 11001
|
|
#define nMSG_CAMPAIGNRETURN 11002
|
|
#define nMSG_INITLANCE 11003
|
|
#define nMSG_INITLCPILOTINFO 11004
|
|
#define nMSG_INITLCPILOTSTATS 11005
|
|
#define nMSG_INITLCMECHINFO 11006
|
|
#define nMSG_INITLCMECHSTATS 11007
|
|
#define nMSG_INITENTRYMECHS 11008
|
|
#define nMSG_INITENTRYPILOTS 11009
|
|
#define nMSG_INITLANCEMECHS 11010
|
|
#define nMSG_INITLANCEPILOTS 11011
|
|
#define nMSG_OPENCHASSIS 11012
|
|
#define nMSG_UPDATECHASSIS 11013
|
|
//
|
|
// Mail Messages for Options Menu
|
|
//
|
|
#define nMSG_OPTIONON 12011
|
|
#define nMSG_OPTIONOFF 12012
|
|
#define nMSG_ENDOPTIONS 12013
|
|
//Mail message to update control mapping
|
|
#define nMSG_SET_INDEX 12014
|
|
#define nMSG_MAP_MOUSE 12015
|
|
#define nMSG_MAP_KEY 12016
|
|
#define nMSG_MAP_JOY 12017
|
|
#define nMSG_SET_DEVICEOPTIONS 12018
|
|
//Message For Control options
|
|
#define MSG_SETOPTIONS 12020
|
|
#define nMSG_MAP_KEYJOY_COMBO 99996
|
|
#define nMSG_MAP_JOYSHIFT 12022
|
|
|
|
//Messages for MultiPlayer Options
|
|
#define MSG_SETDEFAULT 12022
|
|
//
|
|
// Mail Messages for Instant Action
|
|
//
|
|
#define nMSG_UPDATEIADATA 13001
|
|
|
|
//
|
|
// Colors in the UI
|
|
//
|
|
#define cWhite 0xFFffffff
|
|
#define cBlue1 0xFF343774
|
|
#define cBlack 0xFF000000
|
|
#define cRed 0xFFff0000
|
|
#define cYellow 0xFFffff00
|
|
#define cOrange 0xFFff8800
|
|
|