<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://aoineko.org/msxgl/index.php?action=history&amp;feed=atom&amp;title=Modules%2Fgame%2Fpawn%2FSettings</id>
		<title>Modules/game/pawn/Settings - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://aoineko.org/msxgl/index.php?action=history&amp;feed=atom&amp;title=Modules%2Fgame%2Fpawn%2FSettings"/>
		<link rel="alternate" type="text/html" href="https://aoineko.org/msxgl/index.php?title=Modules/game/pawn/Settings&amp;action=history"/>
		<updated>2026-04-24T10:55:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://aoineko.org/msxgl/index.php?title=Modules/game/pawn/Settings&amp;diff=3408&amp;oldid=prev</id>
		<title>Aoineko at 22:10, 22 September 2025</title>
		<link rel="alternate" type="text/html" href="https://aoineko.org/msxgl/index.php?title=Modules/game/pawn/Settings&amp;diff=3408&amp;oldid=prev"/>
				<updated>2025-09-22T22:10:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:10, 22 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Library configuration (&amp;lt;tt&amp;gt;msxgl_config.h&amp;lt;/tt&amp;gt;):&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Library configuration (&amp;lt;tt&amp;gt;msxgl_config.h&amp;lt;/tt&amp;gt;):&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;// Pawn setting&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// Pawn setting&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_ID_PER_LAYER			FALSE	// Set sprite ID for each layer (otherwise set per pawn)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_ID_PER_LAYER			FALSE	// Set sprite ID for each layer (otherwise set per pawn)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_USE_RT_LOAD			TRUE	// Load sprite pattern data on the fly (real-time)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_USE_RT_LOAD			TRUE	// Load sprite pattern data on the fly (real-time)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot; &gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// - PAWN_SPT_MODE_V9_P1 .......... V9990 sprite in P1 mode&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// - PAWN_SPT_MODE_V9_P1 .......... V9990 sprite in P1 mode&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// - PAWN_SPT_MODE_V9_P2 .......... V9990 sprite in P2 mode&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// - PAWN_SPT_MODE_V9_P2 .......... V9990 sprite in P2 mode&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_SPT_MODE				PAWN_SPT_MODE_MSX1&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#define PAWN_SPT_MODE				PAWN_SPT_MODE_MSX1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: For now, &amp;lt;tt&amp;gt;PAWN_COL_UP&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;PAWN_COL_RIGHT&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;PAWN_COL_LEFT&amp;lt;/tt&amp;gt; are fixed to &amp;lt;tt&amp;gt;PAWN_COL_50&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: For now, &amp;lt;tt&amp;gt;PAWN_COL_UP&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;PAWN_COL_RIGHT&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;PAWN_COL_LEFT&amp;lt;/tt&amp;gt; are fixed to &amp;lt;tt&amp;gt;PAWN_COL_50&amp;lt;/tt&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;html&amp;gt;&amp;lt;img style=&amp;quot;width:512px;&amp;quot; src=&amp;quot;https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/pawn.jpg&amp;quot; /&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;html&amp;gt;&amp;lt;img style=&amp;quot;width:512px;&amp;quot; src=&amp;quot;https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/pawn.jpg&amp;quot; /&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Aoineko</name></author>	</entry>

	<entry>
		<id>https://aoineko.org/msxgl/index.php?title=Modules/game/pawn/Settings&amp;diff=3388&amp;oldid=prev</id>
		<title>Aoineko: Created page with &quot;Library configuration (&lt;tt&gt;msxgl_config.h&lt;/tt&gt;): &lt;syntaxhighlight lang=&quot;c&quot;&gt;// Pawn setting #define PAWN_ID_PER_LAYER			FALSE	// Set sprite ID for each layer (otherwise set per...&quot;</title>
		<link rel="alternate" type="text/html" href="https://aoineko.org/msxgl/index.php?title=Modules/game/pawn/Settings&amp;diff=3388&amp;oldid=prev"/>
				<updated>2025-09-22T21:37:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Library configuration (&amp;lt;tt&amp;gt;msxgl_config.h&amp;lt;/tt&amp;gt;): &amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;// Pawn setting #define PAWN_ID_PER_LAYER			FALSE	// Set sprite ID for each layer (otherwise set per...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Library configuration (&amp;lt;tt&amp;gt;msxgl_config.h&amp;lt;/tt&amp;gt;):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;c&amp;quot;&amp;gt;// Pawn setting&lt;br /&gt;
#define PAWN_ID_PER_LAYER			FALSE	// Set sprite ID for each layer (otherwise set per pawn)&lt;br /&gt;
#define PAWN_USE_RT_LOAD			TRUE	// Load sprite pattern data on the fly (real-time)&lt;br /&gt;
#define PAWN_USE_SPRT_FX			TRUE	// Allow sprite effects (crop, flip, mask, rotate)&lt;br /&gt;
#define PAWN_SPRITE_SIZE			16		// Sprite size mode (8 for 8x8 pixel mode, or 16 for 16x16)&lt;br /&gt;
#define PAWN_USE_PHYSICS			TRUE	// Add physics and collision features&lt;br /&gt;
// Pawn coordinate unit&lt;br /&gt;
// - PAWN_UNIT_SCREEN				Default screen (pixel) unit (8-bit unsigned int)&lt;br /&gt;
// - PAWN_UNIT_QMN(n)				Fixed-point (Qm.n) unit (16-bit signed int)&lt;br /&gt;
#define PAWN_UNIT					PAWN_UNIT_SCREEN&lt;br /&gt;
// Pawn's bound (can be fixed for all pawn, or setable for each one)&lt;br /&gt;
#define PAWN_BOUND_X				PAWN_BOUND_CUSTOM&lt;br /&gt;
#define PAWN_BOUND_Y				PAWN_BOUND_CUSTOM&lt;br /&gt;
// Collision position options for each pawn's side&lt;br /&gt;
// - PAWN_COL_0&lt;br /&gt;
// - PAWN_COL_25&lt;br /&gt;
// - PAWN_COL_50&lt;br /&gt;
// - PAWN_COL_75&lt;br /&gt;
// - PAWN_COL_100&lt;br /&gt;
#define PAWN_COL_DOWN				(PAWN_COL_25|PAWN_COL_75)&lt;br /&gt;
#define PAWN_COL_UP					PAWN_COL_50&lt;br /&gt;
#define PAWN_COL_RIGHT				PAWN_COL_50&lt;br /&gt;
#define PAWN_COL_LEFT				PAWN_COL_50&lt;br /&gt;
// Options to determine which border collide or trigger events&lt;br /&gt;
// - PAWN_BORDER_NONE&lt;br /&gt;
// - PAWN_BORDER_DOWN&lt;br /&gt;
// - PAWN_BORDER_UP&lt;br /&gt;
// - PAWN_BORDER_RIGHT&lt;br /&gt;
// - PAWN_BORDER_LEFT&lt;br /&gt;
#define PAWN_BORDER_EVENT			(PAWN_BORDER_DOWN|PAWN_BORDER_RIGHT)&lt;br /&gt;
#define PAWN_BORDER_BLOCK			(PAWN_BORDER_UP|PAWN_BORDER_LEFT)&lt;br /&gt;
// Top/bottom border position (in pixel)&lt;br /&gt;
#define PAWN_BORDER_MIN_Y			0		// High border Y coordinade&lt;br /&gt;
#define PAWN_BORDER_MAX_Y			191		// Low border Y coordinate&lt;br /&gt;
#define PAWN_TILEMAP_WIDTH			32		// Width of the tiles map&lt;br /&gt;
#define PAWN_TILEMAP_HEIGHT			24		// Height of the tiles map&lt;br /&gt;
// Collision tilemap source&lt;br /&gt;
// - PAWN_TILEMAP_SRC_AUTO ........ Backward compatibility option&lt;br /&gt;
// - PAWN_TILEMAP_SRC_RAM ......... Tilemap located in a buffer in RAM (best for performance)&lt;br /&gt;
// - PAWN_TILEMAP_SRC_VRAM ........ Tilemap located in VRAM (slow but don't need additionnal data)&lt;br /&gt;
// - PAWN_TILEMAP_SRC_V9 .......... Tilemap located in V9990's VRAM&lt;br /&gt;
#define PAWN_TILEMAP_SRC			PAWN_TILEMAP_SRC_VRAM&lt;br /&gt;
// Pawn's sprite mode&lt;br /&gt;
// - PAWN_SPT_MODE_AUTO ........... Backward compatibility option&lt;br /&gt;
// - PAWN_SPT_MODE_MSX1 ........... Sprite Mode 1 (MSX1 screens)&lt;br /&gt;
// - PAWN_SPT_MODE_MSX2 ........... Sprite Mode 2 (MSX2 screens)&lt;br /&gt;
// - PAWN_SPT_MODE_MSX12 .......... Sprite Mode 1 &amp;amp; 2 (MSX1 &amp;amp; MSX2 screens)&lt;br /&gt;
// - PAWN_SPT_MODE_V9_P1 .......... V9990 sprite in P1 mode&lt;br /&gt;
// - PAWN_SPT_MODE_V9_P2 .......... V9990 sprite in P2 mode&lt;br /&gt;
#define PAWN_SPT_MODE				PAWN_SPT_MODE_MSX1&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;Note&amp;lt;/u&amp;gt;: For now, &amp;lt;tt&amp;gt;PAWN_COL_UP&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;PAWN_COL_RIGHT&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;PAWN_COL_LEFT&amp;lt;/tt&amp;gt; are fixed to &amp;lt;tt&amp;gt;PAWN_COL_50&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&amp;lt;img style=&amp;quot;width:512px;&amp;quot; src=&amp;quot;https://raw.githubusercontent.com/aoineko-fr/MSXgl/main/engine/doc/pawn.jpg&amp;quot; /&amp;gt;&amp;lt;/html&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aoineko</name></author>	</entry>

	</feed>