-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobals.h
48 lines (40 loc) · 1.08 KB
/
Globals.h
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
48
#pragma once
#include <windows.h>
#include <stdio.h>
#define LOG(format, ...) log(__FILE__, __LINE__, format, __VA_ARGS__);
void log(const char file[], int line, const char* format, ...);
#define CAP(n) ((n <= 0.0f) ? n=0.0f : (n >= 1.0f) ? n=1.0f : n=n)
#define DEGTORAD 0.0174532925199432957f
#define RADTODEG 57.295779513082320876f
typedef unsigned int uint;
enum update_status
{
UPDATE_CONTINUE = 1,
UPDATE_STOP,
UPDATE_ERROR
};
// Configuration -----------
#define SCREEN_WIDTH 256
#define SCREEN_HEIGHT 432
#define SCREEN_SIZE 2
#define WIN_FULLSCREEN false
#define WIN_RESIZABLE false
#define WIN_BORDERLESS false
#define WIN_FULLSCREEN_DESKTOP false
#define VSYNC false
#define TITLE "Pokemon Pinball"
// Scores
#define BUMPER_SCORE 500;
#define SLINGSHOT_SCORE 500;
#define PLUSLE_SCORE 2000;
#define MINUN_SCORE 2000;
#define ZIGZAGOON_SCORE 3000;
#define SEEDOT_SCORE 3000;
#define PELIPPER_SCORE 5000;
#define WAILMER_SCORE 10000;
#define PIKACHU_SCORE 10000;
#define SLINGSHOT_SCORE 500;
#define EVO_SCORE 2000;
#define GET_SCORE 3000;
#define UP_SCORE 1000;
#define HOLE_SCORE 1000;