mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-23 03:00:30 +02:00
70 lines
986 B
C
70 lines
986 B
C
/*
|
|
HS_SCENARIO_DEFINITIONS.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __HS_SCENARIO_DEFINITIONS_H
|
|
#define __HS_SCENARIO_DEFINITIONS_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- headers */
|
|
|
|
#include "tag_files/tag_groups.h"
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct hs_script
|
|
{
|
|
char name[32];
|
|
short script_type;
|
|
short return_type;
|
|
long root_expression_index;
|
|
byte unused[52];
|
|
};
|
|
|
|
struct hs_global
|
|
{
|
|
char name[32];
|
|
short type;
|
|
short unused0;
|
|
long unused1;
|
|
long initialization_expression_index;
|
|
byte unused2[48];
|
|
};
|
|
|
|
struct hs_reference
|
|
{
|
|
byte unused[24];
|
|
struct tag_reference reference;
|
|
};
|
|
|
|
struct hs_source_file
|
|
{
|
|
char name[32];
|
|
struct tag_data source;
|
|
};
|
|
|
|
struct hs_syntax_node
|
|
{
|
|
short datum_header;
|
|
short index;
|
|
short type;
|
|
short flags;
|
|
long next_node_index;
|
|
long string_offset;
|
|
long data;
|
|
};
|
|
|
|
/* ---------- prototypes/EXAMPLE.C */
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __HS_SCENARIO_DEFINITIONS_H
|