Jo Engine  9
Jo Sega Saturn Engine
Data Structures | Typedefs | Enumerations
types.h File Reference

Jo Engine Types. More...

Go to the source code of this file.

Data Structures

struct  jo_pos2D
 2D position More...
 
struct  jo_pos3D
 3D position More...
 
struct  jo_2d_object_attributes
 Object for 2D manipulation (storyboard) using fixed number. More...
 
struct  jo_3d_object_attributes
 Object for 3D manipulation (storyboard) using fixed number. More...
 
struct  jo_vectorf
 Vector for 3D computation using floating numbers. More...
 
struct  jo_vector
 Vector for 3D computation using fixed number. More...
 
union  jo_matrixf
 4x4 MATRIX for 3D computation using floating numbers More...
 
union  jo_matrix
 4x4 MATRIX for 3D computation using fixed number More...
 
struct  __jo_size
 Size struct. More...
 
struct  jo_texture_definition
 Texture definition. More...
 
struct  jo_picture_definition
 Picture definition. More...
 
struct  jo_sprite_attributes
 Sprite attributes. More...
 
union  jo_IEEE754
 Float IEEE 754 format. More...
 
struct  jo_file
 File definition. More...
 
struct  jo_matrixf.__unnamed__
 
struct  jo_matrix.__unnamed__
 
struct  jo_IEEE754.field
 

Typedefs

typedef unsigned short jo_color
 15 bits color type More...
 
typedef struct __jo_size jo_size
 Size struct. More...
 

Enumerations

enum  jo_8_directions {
  LEFT, RIGHT, UP, DOWN,
  UP_LEFT, UP_RIGHT, DOWN_LEFT, DOWN_RIGHT
}
 8 directions definition More...
 

Detailed Description

Jo Engine Types.

Author
Johannes Fetz
Bug:
No known bugs.

Data Structure Documentation

struct jo_pos2D

2D position

Data Fields
int x
int y
struct jo_pos3D

3D position

Remarks
Inherits from jo_pos2D (cast friendly)
Data Fields
int x
int y
int z
struct jo_2d_object_attributes

Object for 2D manipulation (storyboard) using fixed number.

Remarks
Inherits from jo_pos3D (cast friendly)
Data Fields
jo_pos3D
short rz
struct jo_3d_object_attributes

Object for 3D manipulation (storyboard) using fixed number.

Remarks
Inherits from jo_2d_object_attributes (cast friendly)
Data Fields
jo_2d_object_attributes
short rx
short ry
struct jo_vectorf

Vector for 3D computation using floating numbers.

Data Fields
float x
float y
float z
struct jo_vector

Vector for 3D computation using fixed number.

Remarks
Inherits from jo_pos3D (cast friendly)
Data Fields
jo_pos3D
union jo_matrixf

4x4 MATRIX for 3D computation using floating numbers

Data Fields
struct jo_matrixf __unnamed__
float m[4][4]
float table[16]
union jo_matrix

4x4 MATRIX for 3D computation using fixed number

Data Fields
struct jo_matrix __unnamed__
int m[4][4]
int table[16]
struct __jo_size

Size struct.

Data Fields
unsigned short height
unsigned short width
struct jo_texture_definition

Texture definition.

Remarks
Inherits from jo_size (cast friendly)
Data Fields
unsigned short adr
jo_size
unsigned short size
struct jo_picture_definition

Picture definition.

Data Fields
unsigned short color_mode
void * data
unsigned short index
struct jo_sprite_attributes

Sprite attributes.

Data Fields
unsigned int color_table_index
unsigned short direction
unsigned short effect
unsigned int fixed_scale
unsigned int gouraud_shading_index
union jo_IEEE754

Float IEEE 754 format.

Data Fields
float f
struct jo_IEEE754 field
struct jo_file

File definition.

Data Fields
void * handle
int id
int read
char * read_buffer
int read_index
int size
struct jo_matrixf.__unnamed__
Data Fields
float m00
float m01
float m02
float m03
float m10
float m11
float m12
float m13
float m20
float m21
float m22
float m23
float m30
float m31
float m32
float m33
struct jo_matrix.__unnamed__
Data Fields
int m00
int m01
int m02
int m03
int m10
int m11
int m12
int m13
int m20
int m21
int m22
int m23
int m30
int m31
int m32
int m33
struct jo_IEEE754.field
Data Fields
unsigned int exponent: 8
unsigned int mantissa: 23
unsigned int sign: 1

Typedef Documentation

typedef unsigned short jo_color

15 bits color type

typedef struct __jo_size jo_size

Size struct.

Enumeration Type Documentation

8 directions definition

Enumerator
LEFT 
RIGHT 
UP 
DOWN 
UP_LEFT 
UP_RIGHT 
DOWN_LEFT 
DOWN_RIGHT