mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Fixed incorrect argument description for get/set_proto_data in sfall opcode list.txt.
Removed incorrect PROTO_CR_FLAGS value in define_extra.h (was actually critter's IN), and renamed PROTO_CR_ACTION_FLAGS to its correct name #112
This commit is contained in:
@@ -186,11 +186,10 @@
|
|||||||
#define PROTO_DR_ADDICT_DELAY (100)
|
#define PROTO_DR_ADDICT_DELAY (100)
|
||||||
|
|
||||||
// critters
|
// critters
|
||||||
#define PROTO_CR_ACTION_FLAGS (32)
|
#define PROTO_CR_FLAGS (32)
|
||||||
#define PROTO_CR_HEAD_FID (40)
|
#define PROTO_CR_HEAD_FID (40)
|
||||||
#define PROTO_CR_AI_PACKET (44)
|
#define PROTO_CR_AI_PACKET (44)
|
||||||
#define PROTO_CR_TEAM_NUM (48)
|
#define PROTO_CR_TEAM_NUM (48)
|
||||||
#define PROTO_CR_FLAGS (52)
|
|
||||||
#define PROTO_CR_BODY_TYPE (388)
|
#define PROTO_CR_BODY_TYPE (388)
|
||||||
#define PROTO_CR_KILL_EXP (392)
|
#define PROTO_CR_KILL_EXP (392)
|
||||||
#define PROTO_CR_KILL_TYPE (396)
|
#define PROTO_CR_KILL_TYPE (396)
|
||||||
|
|||||||
@@ -257,8 +257,8 @@
|
|||||||
0x8202 - void fs_seek(int id, int pos)
|
0x8202 - void fs_seek(int id, int pos)
|
||||||
0x8203 - void fs_resize(int id, int size)
|
0x8203 - void fs_resize(int id, int size)
|
||||||
|
|
||||||
0x8204 - int get_proto_data(object, int offset)
|
0x8204 - int get_proto_data(int pid, int offset)
|
||||||
0x8205 - void set_proto_data(object, int offset, int value)
|
0x8205 - void set_proto_data(int pid, int offset, int value)
|
||||||
|
|
||||||
0x8206 - void set_self(object)
|
0x8206 - void set_self(object)
|
||||||
0x8207 - void register_hook(int hook)
|
0x8207 - void register_hook(int hook)
|
||||||
|
|||||||
Reference in New Issue
Block a user