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:
zicodxx 2012-03-30 16:29:03 +02:00
parent 1237649a99
commit 24d0849125
2 changed files with 3 additions and 1 deletions

View file

@ -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
--------

View file

@ -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