NXEngine v1.0.0.6
[NXEngine.git] / nx.h
blob7318e41b89bb7bab1312e75e3f18e74cd7274634
2 #ifndef _NX_H
3 #define _NX_H
5 #include <SDL/SDL.h>
6 #include <stdio.h>
7 #include <ctype.h>
8 //#include <sys/param.h>
9 //#include <limits.h>
11 #include "config.h"
12 #include "common/basics.h"
13 #include "common/BList.h"
14 #include "common/StringList.h"
15 #include "common/DBuffer.h"
16 #include "common/DString.h"
17 #include "common/InitList.h"
19 #include "graphics/graphics.h"
20 #include "graphics/tileset.h"
21 #include "graphics/sprites.h"
22 typedef SIFPoint Point;
23 using namespace Graphics;
24 using Sprites::draw_sprite;
25 using Sprites::draw_sprite_at_dp;
26 using Sprites::draw_sprite_clipped;
27 using Sprites::draw_sprite_clip_width;
28 using Sprites::draw_sprite_chopped;
29 using Sprites::draw_sprite_repeating_x;
30 using Sprites::create_spritesheet;
31 using Sprites::get_spritesheet;
32 using Tileset::draw_tile;
34 #define CSF 9
35 class Object;
37 // don't use this, use fileopen() instead.
38 // some platforms are retarded and need special workarounds (read: WinCE)
39 #pragma GCC poison fopen
40 FILE *fileopen(const char *fname, const char *mode);
42 #include "trig.h"
43 #include "autogen/sprites.h"
44 #include "dirnames.h"
45 #include "TextBox/TextBox.h"
46 #include "graphics/font.h"
48 #include "input.h"
49 #include "tsc.h"
50 #include "stageboss.h"
51 #include "ai/ai.h"
52 #include "map.h"
53 #include "statusbar.h"
54 #include "floattext.h"
55 #include "object.h"
56 #include "ObjManager.h"
57 #include "console.h"
58 #include "debug.h"
59 #include "game.h"
60 #include "caret.h"
61 #include "screeneffect.h"
62 #include "settings.h"
63 #include "slope.h"
64 #include "player.h"
65 #include "p_arms.h"
66 #include "replay.h"
67 #include "platform.h"
69 #include "sound/sound.h"
71 const char *strhex(int value);
73 #endif