entity_t and brush_t now converted to idEditorEntity and idEditorBrush

This commit is contained in:
Justin Marshall
2026-05-24 11:33:16 -07:00
parent d6d01e1faf
commit 3242531044
41 changed files with 1598 additions and 1540 deletions
+5 -5
View File
@@ -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];