Spellforce-Spell-framework
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "sf_wrappers.h"
#include "sf_modloader.h"
#include "../registry/sf_registry.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | InitModuleFunc) (void *) |
typedef SFMod *(* | RegisterModFunc) (void *) |
Functions | |
void | cleanup (void *modHandle) |
const char * | get_filename (const char *path) |
void | load_mod (const char *modPath, void *pFrameworkAPI) |
void | load_all_mods (const char *subfolder, void *pFrameworkAPI) |
void | initialize_mods () |
Variables | |
int | g_mod_count = 0 |
int | g_error_count = 0 |
typedef void(* InitModuleFunc) (void *) |
Definition at line 11 of file sf_modloader.c.
typedef SFMod *(* RegisterModFunc) (void *) |
Definition at line 12 of file sf_modloader.c.
void cleanup | ( | void * | modHandle | ) |
const char * get_filename | ( | const char * | path | ) |
void initialize_mods | ( | ) |
Definition at line 110 of file sf_modloader.c.
void load_all_mods | ( | const char * | subfolder, |
void * | pFrameworkAPI ) |
Definition at line 76 of file sf_modloader.c.
void load_mod | ( | const char * | modPath, |
void * | pFrameworkAPI ) |
Definition at line 32 of file sf_modloader.c.
int g_error_count = 0 |
Definition at line 14 of file sf_modloader.c.
int g_mod_count = 0 |
Definition at line 13 of file sf_modloader.c.