2022-03-10 02:01:03 +00:00
|
|
|
#ifndef DYNOS_C_H
|
|
|
|
#define DYNOS_C_H
|
|
|
|
#ifndef __cplusplus
|
|
|
|
|
|
|
|
#include "dynos.h"
|
2022-03-31 06:04:41 +00:00
|
|
|
#include "types.h"
|
2022-03-10 02:01:03 +00:00
|
|
|
|
2022-03-31 06:04:41 +00:00
|
|
|
// -- built in -- //
|
2022-03-10 02:01:03 +00:00
|
|
|
void *dynos_update_cmd (void *cmd);
|
|
|
|
void dynos_update_gfx ();
|
|
|
|
void dynos_update_opt (void *pad);
|
|
|
|
s32 dynos_gfx_import_texture (void **output, void *ptr, s32 tile, void *grapi, void **hashmap, void *pool, s32 *poolpos, s32 poolsize);
|
|
|
|
void dynos_gfx_swap_animations(void *ptr);
|
|
|
|
|
2022-03-31 06:04:41 +00:00
|
|
|
// -- warps -- //
|
|
|
|
bool dynos_warp_to_level(s32 aLevel, s32 aArea, s32 aAct);
|
|
|
|
bool dynos_warp_restart_level(void);
|
|
|
|
bool dynos_warp_exit_level(s32 aDelay);
|
|
|
|
bool dynos_warp_to_castle(s32 aLevel);
|
|
|
|
|
|
|
|
// -- dynos packs -- //
|
|
|
|
int dynos_packs_get_count(void);
|
|
|
|
const char* dynos_packs_get(s32 index);
|
|
|
|
bool dynos_packs_get_enabled(s32 index);
|
|
|
|
void dynos_packs_set_enabled(s32 index, bool value);
|
|
|
|
void dynos_generate_packs(const char* directory);
|
|
|
|
|
|
|
|
// -- geos -- //
|
|
|
|
void dynos_add_actor_custom(const char *modPath, const char* geoName);
|
|
|
|
const void* dynos_geolayout_get(const char *name);
|
|
|
|
|
|
|
|
// -- collisions -- //
|
2022-04-02 22:14:04 +00:00
|
|
|
void dynos_add_collision(const char *modPath, const char* collisionName);
|
2022-03-31 06:04:41 +00:00
|
|
|
Collision* dynos_collision_get(const char* collisionName);
|
|
|
|
|
2022-04-02 22:14:04 +00:00
|
|
|
// -- levels -- //
|
|
|
|
|
|
|
|
void dynos_add_level(const char *modPath, const char* levelName);
|
|
|
|
LevelScript* dynos_level_get(const char* levelName);
|
|
|
|
|
2022-03-10 02:01:03 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
2022-03-10 09:18:53 +00:00
|
|
|
|