Difference between revisions of "Modules/tile/Settings"

From MSX Game Library

< Modules‎ | tile

(Created page with "Library configuration (<tt>msxgl_config.h</tt>): <syntaxhighlight lang="c"> #define TILE_WIDTH 8 // Tile width #define TILE_HEIGHT 8 // Tile height #define TILE_BPP 4 //...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Library configuration (<tt>msxgl_config.h</tt>):
 
Library configuration (<tt>msxgl_config.h</tt>):
 
<syntaxhighlight lang="c">
 
<syntaxhighlight lang="c">
#define TILE_WIDTH 8 // Tile width
+
#define TILE_WIDTH 8 // Tile width
#define TILE_HEIGHT 8 // Tile height
+
#define TILE_HEIGHT 8 // Tile height
#define TILE_BPP 4 // Screen bits-per-pixel
+
#define TILE_BPP 4 // Screen bits-per-pixel
#define TILE_SCREEN_WIDTH 256 // Screen width
+
#define TILE_SCREEN_WIDTH 256 // Screen width
#define TILE_SCREEN_HEIGHT 212 // Screen height
+
#define TILE_SCREEN_HEIGHT 212 // Screen height
 
#define TILE_USE_SKIP TRUE // Skip drawing of a given index
 
#define TILE_USE_SKIP TRUE // Skip drawing of a given index
#define TILE_SKIP_INDEX 0 // The index tile to skip
+
#define TILE_SKIP_INDEX 0 // The index tile to skip
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 23:29, 13 January 2024

Library configuration (msxgl_config.h):

#define TILE_WIDTH				8		// Tile width
#define TILE_HEIGHT				8		// Tile height
#define TILE_BPP				4		// Screen bits-per-pixel
#define TILE_SCREEN_WIDTH		256		// Screen width
#define TILE_SCREEN_HEIGHT		212		// Screen height
#define TILE_USE_SKIP			TRUE	// Skip drawing of a given index
#define TILE_SKIP_INDEX			0		// The index tile to skip