Add variables to common.h
This commit is contained in:
parent
905f5a7e73
commit
39286d7a62
4 changed files with 24 additions and 9 deletions
|
|
@ -4,5 +4,6 @@
|
|||
#include "types.h"
|
||||
#include "common_structs.h"
|
||||
#include "functions.h"
|
||||
#include "variables.h"
|
||||
|
||||
#endif
|
||||
23
include/variables.h
Normal file
23
include/variables.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef _VARIABLES_H
|
||||
#define _VARIABLES_H
|
||||
|
||||
#include "types.h"
|
||||
#include "common_structs.h"
|
||||
#include "dolphin/os.h"
|
||||
|
||||
extern u16 HuPadBtnDown[4];
|
||||
extern u8 HuPadDStk[4];
|
||||
|
||||
extern OSHeapHandle currentHeapHandle;
|
||||
|
||||
extern BOOL saftyFrameF;
|
||||
extern u16 strlinecnt;
|
||||
extern u16 empstrline;
|
||||
extern int fontcolor;
|
||||
extern u32 procfunc;
|
||||
|
||||
extern WipeState wipeData;
|
||||
|
||||
extern PlayerConfig gPlayerConfig[4];
|
||||
|
||||
#endif
|
||||
|
|
@ -4,13 +4,6 @@
|
|||
const double _half = 0.5;
|
||||
const double _three = 3.0;
|
||||
|
||||
extern WipeState wipeData;
|
||||
|
||||
extern PlayerConfig gPlayerConfig[4];
|
||||
extern u16 HuPadBtnDown[4];
|
||||
extern u8 HuPadDStk[4];
|
||||
extern int fontcolor;
|
||||
|
||||
static void SubchrMain(void);
|
||||
|
||||
static u8 cur_direction[4];
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
#include "common.h"
|
||||
#include "dolphin/os.h"
|
||||
|
||||
extern OSHeapHandle currentHeapHandle;
|
||||
|
||||
static u32 HeapSizeTbl[5] = { 0x240000, 0x140000, 0xA80000, 0x580000, 0 };
|
||||
static void *HeapTbl[5];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue