2 Copyright (C) 2002 Rice1964
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 #define S2DEX_BG_1CYC 0x01
24 #define S2DEX_BG_COPY 0x02
25 #define S2DEX_OBJ_RECTANGLE 0x03
26 #define S2DEX_OBJ_SPRITE 0x04
27 #define S2DEX_OBJ_MOVEMEM 0x05
28 #define S2DEX_SELECT_DL 0xb0
29 #define S2DEX_OBJ_RENDERMODE 0xb1
30 #define S2DEX_OBJ_RECTANGLE_R 0xb2
31 #define S2DEX_OBJ_LOADTXTR 0xc1
32 #define S2DEX_OBJ_LDTX_SPRITE 0xc2
33 #define S2DEX_OBJ_LDTX_RECT 0xc3
34 #define S2DEX_OBJ_LDTX_RECT_R 0xc4
35 #define S2DEX_RDPHALF_0 0xe4
37 #define S2DEX_OBJLT_TXTRBLOCK 0x00001033
38 #define S2DEX_OBJLT_TXTRTILE 0x00fc1034
39 #define S2DEX_OBJLT_TLUT 0x00000030
40 #define S2DEX_BGLT_LOADBLOCK 0x0033
41 #define S2DEX_BGLT_LOADTILE 0xfff4
43 typedef struct { //Intel format
57 typedef struct { //Intel Format
69 } uObjTxtrTile; // 24 bytes
71 typedef struct { // Intel Format
91 typedef struct { // Intel format
117 } uObjTxSprite; /* 48 bytes */
119 typedef struct { // Intel format
137 typedef struct { //Intel format
144 typedef struct { // Intel Format
174 typedef struct { // Intel Format