forked from devpack/mayhem
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Mayhem2.cpp
executable file
·43 lines (37 loc) · 1.15 KB
/
Mayhem2.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
///////////////////////////
///////////////////////////
//// ////
//// EXT & PRN ////
//// MAYHEM II ////
//// ////
///////////////////////////
///////////////////////////
#include <allegro5/allegro.h>
#include <stdio.h>
#include <string.h>
#include "collision.h"
#include "command.h"
#include "mapping_key.h"
#include "option.h"
#include "physics.h"
#include "platform_data.h"
#include "player_info.h"
#include "player_input.h"
#include "player_view.h"
#include "soundfx.h"
#include "utils.h"
#include "vaisseau_data.h"
#include "vaisseau_gfx.h"
#include "game_mgr.h"
#include "intro_sequence.h"
//----------------------------------------------------------------------------//
// MAIN //
//----------------------------------------------------------------------------//
int main() {
GameManager::Init();
// previous seq, nb views, nb players, start level
GameSequence *seq = new IntroSequence(NULL, 10.0, 0.5, 2, 0, 10, false, true);
GameManager::Run(seq);
GameManager::Shutdown();
return 0;
}