mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Add a new member to memberlabel_t to hold the offset of a structure member for CON access. This will be used in a future commit.
git-svn-id: https://svn.eduke32.com/eduke32@7188 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
acf477c09d
commit
04c9f99620
2 changed files with 562 additions and 569 deletions
File diff suppressed because it is too large
Load diff
|
@ -45,8 +45,12 @@ enum
|
|||
LABEL_EVENT = 64,
|
||||
};
|
||||
|
||||
#define LABEL_HASPARM2 1
|
||||
#define LABEL_ISSTRING 2
|
||||
#define LABEL_CHAR sizeof(uint8_t)
|
||||
#define LABEL_SHORT sizeof(uint16_t)
|
||||
#define LABEL_INT sizeof(uint32_t)
|
||||
#define LABEL_UNSIGNED 8
|
||||
#define LABEL_HASPARM2 16
|
||||
#define LABEL_ISSTRING 32
|
||||
|
||||
#define VM_INSTMASK 0xfff
|
||||
|
||||
|
@ -133,11 +137,15 @@ extern const char *EventNames[MAXEVENTS];
|
|||
#if !defined LUNATIC
|
||||
extern intptr_t *g_scriptPtr;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char *name;
|
||||
int lId, flags, maxParm2;
|
||||
} memberlabel_t;
|
||||
typedef struct
|
||||
{
|
||||
const char *name;
|
||||
|
||||
int32_t lId;
|
||||
uint32_t flags;
|
||||
int16_t maxParm2;
|
||||
int16_t offset;
|
||||
} memberlabel_t;
|
||||
|
||||
extern const memberlabel_t ActorLabels[];
|
||||
extern const memberlabel_t InputLabels[];
|
||||
|
|
Loading…
Reference in a new issue