mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 16:22:41 +02:00
Split lib_12dc0.c into rng.c and args.c
This commit is contained in:
1 parent
f262c23324
commit
36f092e775
67 files changed
+156
-134
No files matched your search
@@ -1,15 +1,12 @@
|
||||
#ifndef _IN_LIB_LIB_12DC0_H
|
||||
#define _IN_LIB_LIB_12DC0_H
|
||||
#ifndef _IN_LIB_ARGS_H
|
||||
#define _IN_LIB_ARGS_H
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
void rngSetSeed(u32 amount);
|
||||
u32 func00012e1c(u64 *value);
|
||||
char *argParseString(char *str);
|
||||
void argSetString(char *string);
|
||||
s32 argsParseDebugArgs(void);
|
||||
char *argFindByPrefix(s32 occurrence, char *string);
|
||||
void argGetLevel(s32 *stagenum);
|
||||
u32 random(void);
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef _IN_LIB_RNG_H
|
||||
#define _IN_LIB_RNG_H
|
||||
#include <ultra64.h>
|
||||
#include "types.h"
|
||||
|
||||
u32 random(void);
|
||||
void rngSetSeed(u32 seed);
|
||||
u32 func00012e1c(u64 *value);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user