ported PrtView plugin
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@40 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -93,6 +93,11 @@ const char* GameDescription_getRequiredKeyValue(const char* key)
|
||||
return g_pGameDescription->getRequiredKeyValue(key);
|
||||
}
|
||||
|
||||
const char* mapname_get()
|
||||
{
|
||||
return Map_Name(g_map);
|
||||
}
|
||||
|
||||
class RadiantCoreAPI
|
||||
{
|
||||
_QERFuncTable_1 m_radiantcore;
|
||||
@@ -110,6 +115,8 @@ public:
|
||||
m_radiantcore.getGameName = &gamename_get;
|
||||
m_radiantcore.getGameMode = &gamemode_get;
|
||||
|
||||
m_radiantcore.getMapName = &mapname_get;
|
||||
|
||||
m_radiantcore.getGameDescriptionKeyValue = &GameDescription_getKeyValue;
|
||||
m_radiantcore.getRequiredGameDescriptionKeyValue = &GameDescription_getRequiredKeyValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user