This repository was archived by the owner on Jul 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefine.cpp
More file actions
47 lines (43 loc) · 1.24 KB
/
Copy pathdefine.cpp
File metadata and controls
47 lines (43 loc) · 1.24 KB
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
44
45
46
47
/*
Includes all the major, system wide definitions for use in all the program.
Copyright James Russell 2010
*/
//INCLUDES//
#include "define.h"
////////////////DEFINES////////////////
//Audio definitions.//
int AC_AudioFreq=44100;
Uint16 AC_AudioFrmt=MIX_DEFAULT_FORMAT;
int AC_AudioChan=2;
int AC_AudioChunkSize=4096;
int AC_SoundChannels=2;
//Image definitions.//
const int AC_NONE=0;
const int AC_CK=1;
const int AC_A=2;
//Engine error return variable.
int AC_EngineError=0;
//FPS varables.//
bool AC_RenderFPS=false;
//Loop variable.//
bool AC_Quit=false;
//SDL_Init flags.
Uint32 AC_SDL_InitFlags=SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_TIMER;
//Setup fail codes.//
const int SDL_Init_Fail=1;
const int Mix_Init_Fail=2;
const int TTF_Init_Fail=3;
const int VideoSetup_Fail=4;
//TTF variables and definitions.//
SDL_Color AC_Color_LightGrey={220,220,230};
SDL_Color AC_Color_LEDRed={255,0,0};
SDL_Color AC_Color_Black={0,0,0};
//Video definitions.//
const int AC_Screen_Width=640;
const int AC_Screen_Height=480;
const int AC_Screen_BPP=0;
const Uint32 AC_Screen_Flags=SDL_ANYFORMAT;
//Window manager info.//
const char *AC_WindowCaption="Oh! Poop! Alarm Clock";
const char *AC_WindowIconName="Oh! Poop! Alarm Clock";
////////////////EOF////////////////