-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
42 lines (29 loc) · 654 Bytes
/
main.cpp
File metadata and controls
42 lines (29 loc) · 654 Bytes
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
/*
* Core.cpp
* VectorStorm
*
* Created by Trevor Powell on 25/03/07.
* Copyright 2007 Trevor Powell. All rights reserved.
*
*/
#if !TARGET_OS_IPHONE
#include <SDL/SDL.h>
#include "Memory/VS_Heap.h"
#include "VS/Utils/VS_Preferences.h"
#include "VS/Math/VS_Random.h"
#include "VS/Graphics/VS_Screen.h"
#include "VS/Utils/VS_System.h"
int main( int argc, char* argv[] )
{
UNUSED(argc);
UNUSED(argv);
vsSystem *system = new vsSystem( 32 * 1024 * 1024 );
/* Create our game */
core::Init( 28 * 1024 * 1024 );
core::SetGame( coreGameRegistry::GetMainMenu() );
core::Go();
core::Deinit();
delete system;
return 0;
}
#endif