Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
game.h
Go to the documentation of this file.
1
#ifndef GAME_H
2
#define GAME_H
3
4
#include "
common.h
"
5
#include <sys/types.h>
6
#include <libgte.h>
7
#include <libgpu.h>
8
#include <libcd.h>
9
10
#include "
engine/task.h
"
11
#include "
engine/heap.h
"
12
#include "
engine/gfx.h
"
13
#include "
engine/file.h
"
14
#include "
engine/pad.h
"
15
#include "
engine/random.h
"
16
#include "
engine/sound.h
"
17
#include "
engine/overlay.h
"
18
#include "
engine/text.h
"
19
#include "
engine/game_state.h
"
20
#include "
engine/memcard.h
"
21
#include "
engine/menu.h
"
22
23
/* SDK functions declared here rather than from their PsyQ headers:
24
strings.h and memory.h declare these without prototypes, strlen as
25
unsigned */
26
int
strlen
(
const
char
*);
27
char
*
strcpy
(
char
*dst,
const
char
*src);
28
char
*
strncpy
(
char
*dst,
const
char
*src,
s32
n);
29
void
*
memcpy
(
void
*dst,
const
void
*src,
int
size);
30
int
atoi
(
u8
*s);
/* stdlib.h's; SHOCKTST parses its text file with these two */
31
int
strcspn
(
u8
*s,
char
*reject);
32
33
/* The kernel's file functions (libapi.h); the sim: device is the PC's */
34
long
open
(
char
*name,
unsigned
long
mode);
35
long
read
(
long
fd,
void
*buf,
long
n);
36
long
write
(
long
fd,
void
*buf,
long
n);
37
long
close
(
long
fd);
38
39
#endif
/* GAME_H */
common.h
s32
signed int s32
Definition
common.h:11
u8
unsigned char u8
Definition
common.h:8
menu.h
The inn and the field menu (menu/)
task.h
The task system and its registry (task/)
file.h
The disc file table, the CD reader, the file cache and the decompressor (file/)
strcspn
int strcspn(u8 *s, char *reject)
read
long read(long fd, void *buf, long n)
strncpy
char * strncpy(char *dst, const char *src, s32 n)
write
long write(long fd, void *buf, long n)
strlen
int strlen(const char *)
SDK functions declared here rather than from their PsyQ headers: strings.h and memory....
strcpy
char * strcpy(char *dst, const char *src)
memcpy
void * memcpy(void *dst, const void *src, int size)
atoi
int atoi(u8 *s)
stdlib.h's; SHOCKTST parses its text file with these two
close
long close(long fd)
open
long open(char *name, unsigned long mode)
The kernel's file functions (libapi.h); the sim: device is the PC's.
game_state.h
The game state: modes, party, items, cards, flags (game/)
gfx.h
Display, drawing layers, the drawing helpers and the screen fade (gfx/)
heap.h
The heap (system/heap.c)
memcard.h
Memory card saves (memcard/)
overlay.h
The game modes' overlays and the task that runs them (system/overlay.c)
pad.h
Controllers and the demo recorder (pad/)
random.h
Random numbers (system/random.c)
sound.h
Sound banks (sound/)
text.h
Text windows, the cursor, the message and talk boxes, the font and the text helpers (text/)
include
engine
game.h
Generated by
1.9.8