mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
This makes the necessary campaign room API available to the scripting API so that it can be implemented using libRocket. Also adds an engine.sleep function which I needed for making my Lua debugger work reliably.
35 lines
861 B
C
35 lines
861 B
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.
|
|
*
|
|
*/
|
|
|
|
|
|
#ifndef _READYROOM_H
|
|
#define _READYROOM_H
|
|
|
|
#include "globalincs/pstypes.h"
|
|
|
|
extern int Sim_room_overlay_id;
|
|
extern int Campaign_room_overlay_id;
|
|
|
|
void sim_room_init();
|
|
void sim_room_close();
|
|
void sim_room_do_frame(float frametime);
|
|
|
|
// called by main menu to continue on with current campaign (if there is one).
|
|
int readyroom_continue_campaign();
|
|
|
|
void campaign_room_init();
|
|
void campaign_room_close();
|
|
void campaign_room_do_frame(float frametime);
|
|
|
|
bool campaign_build_campaign_list();
|
|
void campaign_select_campaign(const SCP_string& campaign_file);
|
|
void campaign_reset(const SCP_string& campaign_file);
|
|
|
|
#endif
|