Changeset 642 for abuse/trunk/src/chars.h
- Timestamp:
- May 13, 2011, 9:13:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/chars.h
r555 r642 84 84 85 85 86 class character_type86 class CharacterType 87 87 { 88 public : 88 public: 89 CharacterType(LList *args, LSymbol *name); // lisp object describes object 90 ~CharacterType(); 91 89 92 uint16_t ts,tiv,tv; // total states, total index vars, total local vars 90 93 sequence **seq; // [0..ts-1] 91 void**seq_syms; // symbol describing what this state is [0..ts-1]94 LSymbol **seq_syms; // symbol describing what this state is [0..ts-1] 92 95 93 void**vars; // symbol describing variable names [0..tiv-1]96 LSymbol **vars; // symbol describing variable names [0..tiv-1] 94 97 short *var_index; // index into local var [0..tiv-1] 95 98 96 99 void add_var(void *symbol, void *name); 97 int add_state( void *symbol);// returns index into seq to use100 int add_state(LObject *symbol); // returns index into seq to use 98 101 int abil[TOTAL_ABILITIES]; 99 102 void *fun_table[TOTAL_OFUNS]; // pointers to lisp function for this object … … 107 110 int total_fields; // used by game editor to replace field names 108 111 named_field **fields; 109 character_type(void *args, void *name); // lisp object describes object110 112 111 113 sequence *get_sequence(character_state s); … … 115 117 void check_sizes(); 116 118 long isa_var_name(char *name); 117 118 ~character_type();119 119 } ; 120 120 121 extern character_type **figures;121 extern CharacterType **figures; 122 122 int flinch_state(character_state state); 123 123
Note: See TracChangeset
for help on using the changeset viewer.