-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglobal_defines.h
57 lines (43 loc) · 1.85 KB
/
global_defines.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
49
50
51
52
53
54
55
56
/*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.
Alternatively, the contents of this file may be used under the terms
of the GNU Lesser General Public license (the "LGPL License"), in which case the
provisions of LGPL License are applicable instead of those
above.
For feedback and questions about our Files and Projects please mail us,
Janek Schäfer (foxblock) , TODO_at_ADD.MAIL
Alexander Matthes (Ziz) , zizsdl_at_googlemail.com
*/
/* This file contains some defines needed by multiply files of schizophrenia */
//#define ZOOMDOWN
//#define ZOOMUP
//#define FIRSTUP
#define FADE_TIME 500
/* Determines, whether Z sorting is activated or not. It should be deactivated
and the primitives should be sorted internal */
#define Z_SORTING 0
/* If Z_SORTING is 0, no resetting of the zbuffer is necessary */
//#define RESET_ZBUFFER spResetZBuffer();
#define RESET_ZBUFFER
/* At some point, if everywhere tiles are drawn, this define should be erased,
so, that no (unnecessary) cleaning is done anymore */
#define CLEAN_TARGET(color) spClearTarget(color);
#define GRAVITY_MAX 600
#define GRAVITY_COUNTER 0
#define JUMP_FORCE 2*GRAVITY_MAX
// Times are consecutive (relative, not absolute)
#define JUMP_MIN_TIME 100
#define JUMP_UPWARDS_TIME 300
#define JUMP_END_TIME 550
#define MAX_MOVEMENT_FORCE 350
#define MOVEMENT_ACCEL 2
//A dirty fix constanst for the gap between object and ground...
#define EXTRA_GRAVITATION_GAP 1000
#define MIN_SHIFT_SPEED 128