ported PrtView plugin

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@40 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
spog
2006-03-26 03:13:17 +00:00
parent 0819a13b05
commit 08d558e1a4
50 changed files with 1205 additions and 3100 deletions

View File

@@ -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;