Changed declaration of event_get_idle_second() from int32_t to fix since Windows does not know it without pstypes.h. Included maths.h for this but should now work flawlessly on all platforms
This commit is contained in:
parent
1237649a99
commit
24d0849125
|
@ -3,6 +3,7 @@ D1X-Rebirth Changelog
|
|||
20120330
|
||||
--------
|
||||
2d/font.c, include/gr.h: Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth
|
||||
arch/include/event.h: Changed declaration of event_get_idle_second() from int32_t to fix since Windows does not know it without pstypes.h. Included maths.h for this but should now work flawlessly on all platforms
|
||||
|
||||
20120329
|
||||
--------
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#ifndef _EVENT_H
|
||||
#define _EVENT_H
|
||||
#include "maths.h"
|
||||
|
||||
typedef enum event_type
|
||||
{
|
||||
|
@ -63,6 +64,6 @@ void event_toggle_focus(int activate_focus);
|
|||
|
||||
// See how long we were idle for
|
||||
void event_reset_idle_seconds();
|
||||
int32_t event_get_idle_seconds();
|
||||
fix event_get_idle_seconds();
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue