mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-11 04:31:35 -10:00
git-svn-id: svn://svn.icculus.org/fs2open/trunk/fs2_open@4325 387891d4-d844-0410-90c0-e4c51a9137d3
130 lines
3.4 KiB
C
130 lines
3.4 KiB
C
/*
|
|
* Copyright (C) Volition, Inc. 1999. All rights reserved.
|
|
*
|
|
* All source code herein is the property of Volition, Inc. You may not sell
|
|
* or otherwise commercially exploit the source or things you created based on the
|
|
* source.
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* $Logfile: /Freespace2/code/MenuUI/MainHallMenu.h $
|
|
* $Revision: 2.7 $
|
|
* $Date: 2007-11-20 01:11:12 $
|
|
* $Author: Goober5000 $
|
|
*
|
|
* Header file for main-hall menu code
|
|
*
|
|
* $Log: not supported by cvs2svn $
|
|
* Revision 2.6 2005/12/04 19:06:01 wmcoolmon
|
|
* Slightly better main hall error handling
|
|
*
|
|
* Revision 2.5 2005/07/13 03:15:50 Goober5000
|
|
* remove PreProcDefine #includes in FS2
|
|
* --Goober5000
|
|
*
|
|
* Revision 2.4 2005/06/03 06:39:26 taylor
|
|
* better audio pause/unpause support when game window loses focus or is minimized
|
|
*
|
|
* Revision 2.3 2004/08/11 05:06:27 Kazan
|
|
* added preprocdefines.h to prevent what happened with fred -- make sure to make all fred2 headers include this file as the _first_ include -- i have already modified fs2 files to do this
|
|
*
|
|
* Revision 2.2 2003/01/15 05:19:07 Goober5000
|
|
* bumped main halls down to 10
|
|
* --Goober5000
|
|
*
|
|
* Revision 2.1 2003/01/14 04:00:15 Goober5000
|
|
* allowed for up to 256 main halls
|
|
* --Goober5000
|
|
*
|
|
* Revision 2.0 2002/06/03 04:02:24 penguin
|
|
* Warpcore CVS sync
|
|
*
|
|
* Revision 1.1 2002/05/02 18:03:09 mharris
|
|
* Initial checkin - converted filenames and includes to lower case
|
|
*
|
|
*
|
|
* 4 8/26/99 9:45a Dave
|
|
* First pass at easter eggs and cheats.
|
|
*
|
|
* 3 6/03/99 10:15p Dave
|
|
* Put in temporary main hall screen.
|
|
*
|
|
* 2 10/07/98 10:53a Dave
|
|
* Initial checkin.
|
|
*
|
|
* 1 10/07/98 10:49a Dave
|
|
*
|
|
* 7 4/25/98 2:00p Dave
|
|
* Installed a bunch of multiplayer context help screens. Reworked ingame
|
|
* join ship select screen. Fix places where network timestamps get hosed.
|
|
*
|
|
* 6 3/31/98 7:09p Dave
|
|
* Changed around main hall code to make way for multiple different halls.
|
|
*
|
|
* 5 2/05/98 7:13p Dave
|
|
* Put in new misc animation sound triggers.
|
|
*
|
|
* 4 12/06/97 1:11a Lawrance
|
|
* make a general interface for help overlays
|
|
*
|
|
* 3 12/05/97 2:39p Lawrance
|
|
* added some different sounds to main hall, add support for looping
|
|
* ambient sounds
|
|
*
|
|
* 2 12/01/97 4:59p Dave
|
|
* Synchronized multiplayer debris objects. Put in pilot popup in main
|
|
* hall. Optimized simulated multiplayer lag module. Fixed a potential
|
|
* file_xfer bug.
|
|
*
|
|
* 1 11/19/97 8:30p Dave
|
|
*
|
|
* $NoKeywords: $
|
|
*
|
|
*/
|
|
|
|
#ifndef _MAIN_HALL_MENU_HEADER_FILE
|
|
#define _MAIN_HALL_MENU_HEADER_FILE
|
|
|
|
// the # of main halls we're supporting
|
|
#define MAIN_HALLS_MAX 10 // Goober5000 - bumped down to 10; don't go above 256 (size of ubyte)
|
|
|
|
// initialize the main hall proper
|
|
void main_hall_init(int main_hall_num);
|
|
|
|
// do a frame for the main hall
|
|
void main_hall_do(float frametime);
|
|
|
|
// close the main hall proper
|
|
void main_hall_close();
|
|
|
|
// start the main hall music playing
|
|
void main_hall_start_music();
|
|
|
|
// stop the main hall music
|
|
void main_hall_stop_music();
|
|
|
|
// get the music index
|
|
int main_hall_get_music_index(int main_hall_num);
|
|
|
|
// what main hall we're on
|
|
int main_hall_id();
|
|
|
|
// Vasudan?
|
|
int main_hall_is_vasudan();
|
|
|
|
// start the ambient sounds playing in the main hall
|
|
void main_hall_start_ambient();
|
|
void main_hall_stop_ambient();
|
|
void main_hall_reset_ambient_vol();
|
|
|
|
void main_hall_do_multi_ready();
|
|
|
|
// make the vasudan main hall funny
|
|
void main_hall_vasudan_funny();
|
|
|
|
void main_hall_pause();
|
|
void main_hall_unpause();
|
|
|
|
#endif
|