Difference between revisions of "Modules/game/state/Settings"

From MSX Game Library

< Modules‎ | game‎ | state

(Created page with "Library configuration (<tt>msxgl_config.h</tt>): <syntaxhighlight lang="c"> // Game state setting #define GAME_USE_STATE TRUE // Add state machine features #define GAME_USE_V...")
 
m (Aoineko moved page Modules/game/main/Settings to Modules/game/state/Settings without leaving a redirect)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
 
// Game state setting
 
// Game state setting
#define GAME_USE_STATE TRUE // Add state machine features
+
#define GAME_USE_STATE TRUE // Add state machine features
#define GAME_USE_VSYNC TRUE // Add vertical synchronization features
+
#define GAME_USE_VSYNC TRUE // Add vertical synchronization features
#define GAME_USE_LOOP TRUE // Add game main loop with call to v-synch and state
+
#define GAME_USE_LOOP TRUE // Add game main loop with call to v-synch and state
 +
#define GAME_USE_SYNC_50HZ TRUE // Force 50Hz synchronization on 60Hz machine
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 13:39, 30 September 2025

Library configuration (msxgl_config.h):

// Game state setting
#define GAME_USE_STATE				TRUE	// Add state machine features
#define GAME_USE_VSYNC				TRUE	// Add vertical synchronization features
#define GAME_USE_LOOP				TRUE	// Add game main loop with call to v-synch and state
#define GAME_USE_SYNC_50HZ			TRUE	// Force 50Hz synchronization on 60Hz machine