forked from retrofw/cavestory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nx.h
executable file
·73 lines (62 loc) · 1.57 KB
/
nx.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef _NX_H
#define _NX_H
#include <SDL/SDL.h>
#include <stdio.h>
#include <ctype.h>
//#include <sys/param.h>
//#include <limits.h>
#include "config.h"
#include "common/basics.h"
#include "common/BList.h"
#include "common/StringList.h"
#include "common/DBuffer.h"
#include "common/DString.h"
#include "common/InitList.h"
#include "graphics/graphics.h"
#include "graphics/tileset.h"
#include "graphics/sprites.h"
typedef SIFPoint Point;
using namespace Graphics;
using Sprites::draw_sprite;
using Sprites::draw_sprite_at_dp;
using Sprites::draw_sprite_clipped;
using Sprites::draw_sprite_clip_width;
using Sprites::draw_sprite_chopped;
using Sprites::draw_sprite_repeating_x;
using Sprites::create_spritesheet;
using Sprites::get_spritesheet;
using Tileset::draw_tile;
#define CSF 9
class Object;
// don't use this, use fileopen() instead.
// some platforms are retarded and need special workarounds (read: WinCE)
#pragma GCC poison fopen
FILE *fileopen(const char *fname, const char *mode);
#include "trig.h"
#include "autogen/sprites.h"
#include "dirnames.h"
#include "TextBox/TextBox.h"
#include "graphics/font.h"
#include "input.h"
#include "tsc.h"
#include "stageboss.h"
#include "ai/ai.h"
#include "map.h"
#include "statusbar.h"
#include "floattext.h"
#include "object.h"
#include "ObjManager.h"
#include "console.h"
#include "debug.h"
#include "game.h"
#include "caret.h"
#include "screeneffect.h"
#include "settings.h"
#include "slope.h"
#include "player.h"
#include "p_arms.h"
#include "replay.h"
#include "platform.h"
#include "sound/sound.h"
const char *strhex(int value);
#endif