|
Jo Engine
2024.04.28
Jo Sega Saturn Engine
|
Go to the documentation of this file.
35 #ifndef __JO_TYPES_H__
36 # define __JO_TYPES_H__
39 # define __jo_force_inline __attribute__((always_inline)) inline
177 float m00, m01, m02, m03;
178 float m10, m11, m12, m13;
179 float m20, m21, m22, m23;
180 float m30, m31, m32, m33;
282 unsigned int sign : 1;
283 unsigned int exponent : 8;
284 unsigned int mantissa : 23;
unsigned short color_mode
Definition: types.h:220
Vector for 3D computation using integer.
Definition: types.h:142
@ RIGHT
Definition: types.h:305
int read
Definition: types.h:294
unsigned short height
Definition: types.h:236
@ JO_NBG1_SCREEN
Definition: types.h:319
float ry
Definition: types.h:107
@ UP_RIGHT
Definition: types.h:309
float y
Definition: types.h:134
unsigned short width
Definition: types.h:235
float z
Definition: types.h:81
int read_index
Definition: types.h:297
char * read_buffer
Definition: types.h:296
@ UP_LEFT
Definition: types.h:308
unsigned short width
Definition: types.h:243
Size struct.
Definition: types.h:200
short rx
Definition: types.h:126
float z
Definition: types.h:135
jo_fixed y
Definition: types.h:62
jo_color * data
Definition: types.h:251
void * data
Definition: types.h:221
3D position using floating numbers
Definition: types.h:78
unsigned short effect
Definition: types.h:267
jo_fixed x
Definition: types.h:88
unsigned short height
Definition: types.h:202
@ DOWN_RIGHT
Definition: types.h:311
Texture definition.
Definition: types.h:209
Vector4 for 3D computation using fixed number.
Definition: types.h:165
@ JO_NBG3_SCREEN
Definition: types.h:321
Vector for 2D computation using fixed number.
Definition: types.h:156
@ UP
Definition: types.h:306
@ JO_SPRITE_SCREEN
Definition: types.h:324
unsigned short width
Definition: types.h:260
unsigned short index
Definition: types.h:219
unsigned short adr
Definition: types.h:212
float x
Definition: types.h:79
jo_pos3D_fixed
Definition: types.h:166
float y
Definition: types.h:80
Palette contents struct.
Definition: types.h:250
unsigned int color_table_index
Definition: types.h:269
unsigned short size
Definition: types.h:213
Struct of one tile (pos and size)
Definition: types.h:257
struct __jo_size jo_size
Size struct.
jo_fixed fixed_scale_y
Definition: types.h:272
int z
Definition: types.h:72
unsigned short height
Definition: types.h:211
unsigned short jo_color
15 bits color type
Definition: types.h:42
float rx
Definition: types.h:106
jo_pos3D_fixed
Definition: types.h:151
jo_2d_object_attributes
Definition: types.h:125
unsigned short direction
Definition: types.h:268
Picture definition.
Definition: types.h:218
@ JO_ALL_SCROLL_SCREEN
Definition: types.h:329
jo_pos3D
Definition: types.h:143
unsigned char * data
Definition: types.h:237
int x
Definition: types.h:258
8 bits image struct
Definition: types.h:234
@ JO_NBG2_SCREEN
Definition: types.h:320
int jo_fixed
Fixed point Q16.16 number.
Definition: types.h:49
@ JO_RBG0_SCREEN
Definition: types.h:322
4x4 MATRIX for 3D computation using fixed number
Definition: types.h:186
int y
Definition: types.h:71
jo_fixed x
Definition: types.h:157
int y
Definition: types.h:259
@ NONE
Definition: types.h:303
@ JO_NBG0_SCREEN
Definition: types.h:318
3D rotation angles
Definition: types.h:96
Vector for 3D computation using fixed number.
Definition: types.h:150
Object for 2D manipulation (storyboard) using fixed number.
Definition: types.h:115
short ry
Definition: types.h:127
float x
Definition: types.h:133
jo_color * data
Definition: types.h:229
jo_fixed y
Definition: types.h:158
3D rotation angles
Definition: types.h:105
jo_fixed w
Definition: types.h:167
unsigned short width
Definition: types.h:201
jo_fixed z
Definition: types.h:90
unsigned int gouraud_shading_index
Definition: types.h:270
unsigned short height
Definition: types.h:228
@ DOWN
Definition: types.h:307
void * data
Definition: types.h:245
int rz
Definition: types.h:99
3D position
Definition: types.h:69
Float IEEE 754 format.
Definition: types.h:278
int x
Definition: types.h:70
void * handle
Definition: types.h:295
4x4 MATRIX for 3D computation using floating numbers
Definition: types.h:172
float f
Definition: types.h:279
jo_fixed fixed_scale_x
Definition: types.h:271
int ry
Definition: types.h:98
int size
Definition: types.h:293
jo_fixed x
Definition: types.h:61
jo_fixed y
Definition: types.h:89
short rz
Definition: types.h:117
jo_8_directions
8 directions definition
Definition: types.h:302
unsigned int clipping
Definition: types.h:273
int id
Definition: types.h:292
Sprite attributes.
Definition: types.h:266
2D position
Definition: types.h:53
jo_pos3D
Definition: types.h:116
unsigned short width
Definition: types.h:210
3D position using fixed numbers
Definition: types.h:87
@ JO_VDP2_3D_PLANE_SCREEN
Definition: types.h:326
float rz
Definition: types.h:108
int x
Definition: types.h:54
@ DOWN_LEFT
Definition: types.h:310
File definition.
Definition: types.h:291
unsigned short width
Definition: types.h:227
@ JO_BACK_SCREEN
Definition: types.h:323
2D position using fixed number
Definition: types.h:60
unsigned short height
Definition: types.h:261
unsigned short height
Definition: types.h:244
Vector for 3D computation using floating numbers.
Definition: types.h:132
Raw image struct.
Definition: types.h:242
@ JO_LNCL_SCREEN
Definition: types.h:327
int y
Definition: types.h:55
int rx
Definition: types.h:97
int id
Definition: types.h:252
15 bits image struct
Definition: types.h:226
Object for 3D manipulation (storyboard) using fixed number.
Definition: types.h:124
@ LEFT
Definition: types.h:304
jo_scroll_screen
Sega Saturn Scroll Screen Ids.
Definition: types.h:316