mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Added aliases for specific types
This commit is contained in:
parent
8c6a6f553a
commit
ce9c9121ce
1 changed files with 17 additions and 0 deletions
|
@ -22,6 +22,23 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
// scriptopcodes.h
|
||||
|
||||
#pragma once
|
||||
|
||||
/** Should stay a 8-byte value. */
|
||||
using opval_t = uint8_t;
|
||||
/** Store an index in the string table. */
|
||||
using op_name_t = uint32_t;
|
||||
/** Event number. */
|
||||
using op_ev_t = uint32_t;
|
||||
/** Index in the event name table. */
|
||||
using op_evName_t = uint32_t;
|
||||
/** Jump offset. */
|
||||
using op_offset_t = uint32_t;
|
||||
/** Parameter count. */
|
||||
using op_parmNum_t = uint8_t;
|
||||
/** Parameter count of const array. */
|
||||
using op_arrayParmNum_t = uint16_t;
|
||||
|
||||
typedef struct {
|
||||
const char *opcodename;
|
||||
int opcodelength;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue