mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
021592d219
* aura_appendGfx * 3 more action commands * fire_shell * hammer, hurricane * spiny_surge * data stuff, cleanup, whirlwind * warnings * water_block data and func * water_block * effect stuff cleanup * big_snowflakes effect * data cleanup, fpr abi regs * 2 battle item funcs + data * 2 mo * shooting_star func * 3 16F740 funcs * btl_state_update_end_battle * map funcs * more dedupe * cleanin * draw_entity_model_C/D * effect butterflies, btl state funcs * it is done * it is done * PR comments, some cleanup
38 lines
845 B
C
Executable File
38 lines
845 B
C
Executable File
#ifndef _XSTDIO_H
|
|
#define _XSTDIO_H
|
|
#include "PR/ultratypes.h"
|
|
//#include "stdlib.h"
|
|
//#include "stdarg.h"
|
|
|
|
typedef struct {
|
|
/* 0x0 */ union {
|
|
/* 0x0 */ long long ll;
|
|
/* 0x0 */ double ld;
|
|
} v;
|
|
/* 0x8 */ unsigned char* s;
|
|
/* 0xC */ int n0;
|
|
/* 0x10 */ int nz0;
|
|
/* 0x14 */ int n1;
|
|
/* 0x18 */ int nz1;
|
|
/* 0x1C */ int n2;
|
|
/* 0x20 */ int nz2;
|
|
/* 0x24 */ int prec;
|
|
/* 0x28 */ int width;
|
|
/* 0x2C */ size_t nchar;
|
|
/* 0x30 */ unsigned int flags;
|
|
/* 0x34 */ char qual;
|
|
} _Pft;
|
|
|
|
#define FLAGS_SPACE 1
|
|
#define FLAGS_PLUS 2
|
|
#define FLAGS_MINUS 4
|
|
#define FLAGS_HASH 8
|
|
#define FLAGS_ZERO 16
|
|
typedef char *outfun(char*,const char*,size_t);
|
|
|
|
int _Printf(outfun prout, char *arg, const char *fmt, va_list args);
|
|
void _Litob(_Pft *args, char type);
|
|
void _Ldtob(_Pft* args, char type);
|
|
|
|
#endif
|