diff src/dmengine.h @ 2586:9807ae37ad69

Require stdbool.h, we require C11 now.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 Dec 2022 15:59:22 +0200
parents 78a0f44aa8b5
children
line wrap: on
line diff
--- a/src/dmengine.h	Thu Dec 08 15:56:36 2022 +0200
+++ b/src/dmengine.h	Thu Dec 08 15:59:22 2022 +0200
@@ -158,7 +158,7 @@
 
 typedef struct
 {
-    BOOL enabled;
+    bool enabled;
     DMTimelinePoints points;
 } DMTimelineCurve;
 
@@ -177,7 +177,7 @@
     int index;         // Track index
     int layer;         // Render order / layer
     char *name;        // Name of the timeline track
-    BOOL enabled;      // Enabled?
+    bool enabled;      // Enabled?
 
     int nevents, nallocated;    // Number of events
     DMTimelineEvent **events;   // Events
@@ -244,7 +244,7 @@
         startTimeAudio, offsetTime,
         pauseTime;
 
-    BOOL pauseFlag, paused, exitFlag;
+    bool pauseFlag, paused, exitFlag;
 
     // Rendering
     SDL_Window *window;
@@ -261,7 +261,7 @@
     int optVidWidth, optVidHeight,
         optVidDepth, optVFlags,
         optVidAspect, optVidSetup;
-    BOOL optVidNative;
+    bool optVidNative;
 
     int optResFlags;
     char *optPackFilename;
@@ -281,7 +281,7 @@
     SDL_Thread *audioSimThread;
     Uint8 * audioSimBuf;
     size_t audioSimBufSize;
-    BOOL audioSimDone;
+    bool audioSimDone;
     int  audioSimDelay;
 
 #ifdef DM_USE_JSS