mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 11:00:04 -04:00
Modernize struct/enum/unions type declarations
This commit is contained in:
@@ -889,13 +889,13 @@ $$ENUM Region
|
||||
$$END
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
struct tPathNode {
|
||||
int x, y;
|
||||
} tPathNode;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
struct tForceFieldInfo {
|
||||
int room, face;
|
||||
} tForceFieldInfo;
|
||||
};
|
||||
|
||||
bool PriestKeyInit = false;
|
||||
int PriestKeyRoomMap[5][5];
|
||||
@@ -1343,10 +1343,10 @@ void PriestPlaySoundAtNode(int node) {
|
||||
#define WHITESPACE_CHARS " \t\r\n"
|
||||
|
||||
// Structure for storing a script message
|
||||
typedef struct {
|
||||
struct tScriptMessage {
|
||||
char *name; // the name of the message
|
||||
char *message; // the actual message text
|
||||
} tScriptMessage;
|
||||
};
|
||||
|
||||
// Global storage for level script messages
|
||||
tScriptMessage *message_list[MAX_SCRIPT_MESSAGES];
|
||||
|
||||
Reference in New Issue
Block a user