mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-21 00:00:29 +02:00
53 lines
739 B
C
53 lines
739 B
C
/*
|
|
EVENT_MANAGER.H
|
|
|
|
header included in hcex build.
|
|
*/
|
|
|
|
#ifndef __EVENT_MANAGER_H
|
|
#define __EVENT_MANAGER_H
|
|
#pragma once
|
|
|
|
/* ---------- constants */
|
|
|
|
/* ---------- macros */
|
|
|
|
/* ---------- structures */
|
|
|
|
struct event_record
|
|
{
|
|
short type;
|
|
short __unknown2;
|
|
long data;
|
|
};
|
|
|
|
/* ---------- prototypes/EVENT_MANAGER.C */
|
|
|
|
void event_manager_initialize(
|
|
void);
|
|
|
|
void event_manager_dispose(
|
|
void);
|
|
|
|
void event_manager_suppress(
|
|
boolean suppress);
|
|
|
|
boolean get_next_event(
|
|
struct event_record *event,
|
|
short local_player_index);
|
|
|
|
unsigned long event_manager_time_of_last_event(
|
|
void);
|
|
|
|
void event_manager_flush(
|
|
void);
|
|
|
|
void event_manager_update(
|
|
void);
|
|
|
|
/* ---------- globals */
|
|
|
|
/* ---------- public code */
|
|
|
|
#endif // __EVENT_MANAGER_H
|