-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathProject.cpp
More file actions
34 lines (34 loc) · 886 Bytes
/
Copy pathProject.cpp
File metadata and controls
34 lines (34 loc) · 886 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
/******************************************************************************/
#include "stdafx.h"
/******************************************************************************/
void InitPre()
{
App.name("Project");
App.flag=APP_MINIMIZABLE|APP_MAXIMIZABLE|APP_RESIZABLE|APP_FULL_TOGGLE;
#ifdef DEBUG
App.flag|=APP_MEM_LEAKS|APP_BREAKPOINT_ON_ERROR;
#endif
DataPath("../Data");
//Paks.add("engine.pak");
}
Bool Init()
{
return true;
}
void Shut()
{
}
/******************************************************************************/
Bool Update()
{
if(Kb.bp(KB_ESC))return false;
if(!App.active())Time.wait(1);
return true;
}
/******************************************************************************/
void Draw()
{
D.clear(TURQ);
D.text(0, 0.9f, S+Time.fps());
}
/******************************************************************************/