-
Notifications
You must be signed in to change notification settings - Fork 51
/
rpg_movecommand.h
80 lines (75 loc) · 1.82 KB
/
rpg_movecommand.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
74
75
76
77
78
79
80
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
* --------------------------------------
*
* This file is part of liblcf. Copyright (c) 2017 liblcf authors.
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
*
* liblcf is Free/Libre Open Source Software, released under the MIT License.
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code.
*/
#ifndef LCF_RPG_MOVECOMMAND_H
#define LCF_RPG_MOVECOMMAND_H
// Headers
#include <stdint.h>
#include <string>
/**
* RPG::MoveCommand class.
*/
namespace RPG {
class MoveCommand {
public:
struct Code {
enum Index {
move_up = 0,
move_right = 1,
move_down = 2,
move_left = 3,
move_upright = 4,
move_downright = 5,
move_downleft = 6,
move_upleft = 7,
move_random = 8,
move_towards_hero = 9,
move_away_from_hero = 10,
move_forward = 11,
face_up = 12,
face_right = 13,
face_down = 14,
face_left = 15,
turn_90_degree_right = 16,
turn_90_degree_left = 17,
turn_180_degree = 18,
turn_90_degree_random = 19,
face_random_direction = 20,
face_hero = 21,
face_away_from_hero = 22,
wait = 23,
begin_jump = 24,
end_jump = 25,
lock_facing = 26,
unlock_facing = 27,
increase_movement_speed = 28,
decrease_movement_speed = 29,
increase_movement_frequence = 30,
decrease_movement_frequence = 31,
switch_on = 32,
switch_off = 33,
change_graphic = 34,
play_sound_effect = 35,
walk_everywhere_on = 36,
walk_everywhere_off = 37,
stop_animation = 38,
start_animation = 39,
increase_transp = 40,
decrease_transp = 41
};
};
int32_t command_id = 0;
std::string parameter_string;
int32_t parameter_a = 0;
int32_t parameter_b = 0;
int32_t parameter_c = 0;
};
}
#endif