GameApi
28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
World.hh
Go to the documentation of this file.
1
2
class
WorldWalls
3
{
4
public
:
5
virtual
void
Jump
(
int
dx,
int
dy
)=0;
6
virtual
void
SetWallType
(
int
i)=0;
7
virtual
void
SetWallHeight
(
int
height
)=0;
8
virtual
void
SetWallYDelta
(
int
delta)=0;
9
};
10
static
const
int
n = 0x01;
// movement
11
static
const
int
s = 0x02;
12
static
const
int
e
= 0x04;
13
static
const
int
w = 0x08;
14
static
const
int
jump = 0x8000;
// jump(dx,dy)
15
static
const
int
d
= 0x10;
// height
16
static
const
int
dd = 0x20;
17
static
const
int
u = 0x40;
18
static
const
int
uu = 0x80;
19
static
const
int
gs = 0x100;
// groupstart(num)
20
static
const
int
ge = 0x200;
// groupend(num)
21
static
const
int
g = 0x400;
// group(num)
22
static
const
int
w0 = 0x10000;
// wall types
23
static
const
int
w1 = 0x800;
24
static
const
int
w2 = 0x1000;
25
static
const
int
w3 = 0x2000;
26
static
const
int
skip = 0x4000;
// if(state, skipcount)
27
void
ReadData
(
int
*
data
,
WorldWalls
&walls);
e
Env e
Definition
Common.cc:2
dy
size dy
Definition
GameApi_gui.cc:1727
ReadData
void ReadData(int *data, WorldWalls &walls)
WorldWalls
Definition
World.hh:3
WorldWalls::SetWallYDelta
virtual void SetWallYDelta(int delta)=0
WorldWalls::Jump
virtual void Jump(int dx, int dy)=0
WorldWalls::SetWallHeight
virtual void SetWallHeight(int height)=0
WorldWalls::SetWallType
virtual void SetWallType(int i)=0
d
d
Definition
meshpage.php:3895
data
lazy data
Definition
meshpage.php:1583
height
line height
Definition
meshpage.php:3536
World.hh
Generated by
1.15.0