mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 04:30:12 +02:00
entity_t and brush_t now converted to idEditorEntity and idEditorBrush
This commit is contained in:
@@ -329,9 +329,9 @@ static HANDLE hf; /* file handle */
|
||||
*/
|
||||
void OpenDialog(void) {
|
||||
/* Obtain the system directory name and store it in szDirName. */
|
||||
strcpy(szDirName, ValueForKey(g_qeglobals.d_project_entity, "mapspath"));
|
||||
strcpy(szDirName, g_qeglobals.d_project_entity->ValueForKey("mapspath"));
|
||||
if (strlen(szDirName) == 0) {
|
||||
strcpy(szDirName, ValueForKey(g_qeglobals.d_project_entity, "basepath"));
|
||||
strcpy(szDirName, g_qeglobals.d_project_entity->ValueForKey("basepath"));
|
||||
strcat(szDirName, "\\maps");
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ void OpenDialog(void) {
|
||||
*/
|
||||
void ProjectDialog(void) {
|
||||
/* Obtain the system directory name and store it in szDirName. */
|
||||
strcpy(szDirName, ValueForKey(g_qeglobals.d_project_entity, "basepath"));
|
||||
strcpy(szDirName, g_qeglobals.d_project_entity->ValueForKey("basepath"));
|
||||
|
||||
/* Place the terminating null character in the szFile. */
|
||||
szFile[0] = '\0';
|
||||
@@ -416,7 +416,7 @@ extern void AddSlash(CString &strPath);
|
||||
=======================================================================================================================
|
||||
*/
|
||||
void SaveAsDialog(bool bRegion) {
|
||||
strcpy(szDirName, ValueForKey(g_qeglobals.d_project_entity, "basepath"));
|
||||
strcpy(szDirName, g_qeglobals.d_project_entity->ValueForKey("basepath"));
|
||||
|
||||
CString strPath = szDirName;
|
||||
AddSlash(strPath);
|
||||
@@ -462,7 +462,7 @@ void SaveAsDialog(bool bRegion) {
|
||||
}
|
||||
|
||||
/*
|
||||
* Menu modifications £
|
||||
* Menu modifications �
|
||||
* FillBSPMenu
|
||||
*/
|
||||
const char *bsp_commands[256];
|
||||
|
||||
Reference in New Issue
Block a user