2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-03-16 07:20:33 +03:00
metamod-r/metamod/src/game_support.h

16 lines
450 B
C
Raw Normal View History

2016-07-26 07:22:47 +07:00
#pragma once
2016-07-04 13:11:20 +06:00
#include "types_meta.h" // mBOOL
#include "metamod.h" // gamedll_t
// Information we have about each game/mod DLL.
2016-07-26 07:22:47 +07:00
struct game_modinfo_t {
2016-07-04 13:11:20 +06:00
const char *name; // name (the game dir)
const char *linux_so; // filename of linux shared lib
const char *win_dll; // filename of win32 dll
const char *desc; // our long-name description
2016-07-26 07:22:47 +07:00
};
2016-07-04 13:11:20 +06:00
2016-07-26 07:22:47 +07:00
const game_modinfo_t *lookup_game(const char *name);
mBOOL setup_gamedll(gamedll_t *gamedll);