Don't force maximize the mainframe.
This commit is contained in:
parent
1cfa5fc5cd
commit
d716ed379c
2 changed files with 23 additions and 13 deletions
28
README.md
28
README.md
|
@ -1,19 +1,24 @@
|
||||||
# WorldSpawn
|
# WorldSpawn
|
||||||
The editor we use to create levels. It was forked from NetRaidiant and was a result of necessity.
|
The worlds most opinionated fork of QER.
|
||||||
We wanted to move away from a proprietary toolchain that assumed a different texture coordinate system and had technical issues
|
|
||||||
the author would not ever get back to us about, so we had to take matters into our own hands.
|
The editor we use at Vera Visions to create BSP levels.
|
||||||
|
It was forked from NetRaidiant and was a result of necessity originally.
|
||||||
|
|
||||||
|
We wanted to move away from a proprietary toolchain that assumed a different texture coordinate system and had technical issues the developer would not ever get back to us about, so we had to take matters into our own hands.
|
||||||
|
|
||||||
Use it if you actually want to use the features listed below - note that they require a modified engine.
|
Use it if you actually want to use the features listed below - note that they require a modified engine.
|
||||||
|
|
||||||
There's plenty of other editors for the first-party id Tech games.
|
There's plenty of other editors for the first-party id Tech games.
|
||||||
|
|
||||||
## Key changes
|
## Key changes
|
||||||
- All texture coordinates use the Valve 220 format for compatibility with J.A.C.K. exported .map files
|
- All texture coordinates use the Valve 220 format for compatibility with WorldCraft exported .map files
|
||||||
- Integration with our material system instead of long .shader files
|
- Integration with our material system (goodbye .shader files)
|
||||||
- Support for vertex-color/alpha editing of patches using our new fixed patch format
|
- Support for vertex-color/alpha editing of patches using our new fixed patch format, allowing technologies such as 4-way texture blending and whatever your designers can imagine.
|
||||||
- Support for VVM in the BSP compiler
|
- Support for VVM/IQM model format in the BSP compiler
|
||||||
- Support for HDR lightmaps in the BSP compiler
|
- Support for High-Dynamic-Range lightmaps in the BSP compiler
|
||||||
- Support for automatic cubemap surface-picking in the BSP compiler
|
- Support for Cubemap aware surfaces in the BSP compiler
|
||||||
- Lots of bug fixes, like the 'ghost-ent' bug, which places dummy ents at the center of your map
|
- Lots of bug fixes, like the 'ghost-ent' bug, which places dummy ents at the center of your map which somehow had flown other peoples radar for 20+ years
|
||||||
- Simplified build system, so less dependencies
|
- Simplified build system, so less dependencies!
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
To compile on a standard GNU/Linux system:
|
To compile on a standard GNU/Linux system:
|
||||||
|
@ -28,3 +33,4 @@ We don't work on NT. You're on your own with that one.
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
If you need help with this, you're better off using an alternative editor.
|
If you need help with this, you're better off using an alternative editor.
|
||||||
|
Compatibility is not a priority here.
|
||||||
|
|
|
@ -117,8 +117,7 @@ struct layout_globals_t {
|
||||||
nXYHeight(300),
|
nXYHeight(300),
|
||||||
nXYWidth(300),
|
nXYWidth(300),
|
||||||
nCamWidth(200),
|
nCamWidth(200),
|
||||||
nCamHeight(200),
|
nCamHeight(200)
|
||||||
nState(GDK_WINDOW_STATE_MAXIMIZED)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -3240,6 +3239,7 @@ void MainFrame::Create()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (g_layout_globals.nState & GDK_WINDOW_STATE_MAXIMIZED) {
|
if (g_layout_globals.nState & GDK_WINDOW_STATE_MAXIMIZED) {
|
||||||
WindowPosition default_position(-1, -1, 640, 480);
|
WindowPosition default_position(-1, -1, 640, 480);
|
||||||
window_set_position(window, default_position);
|
window_set_position(window, default_position);
|
||||||
|
@ -3248,6 +3248,10 @@ void MainFrame::Create()
|
||||||
window_set_position(window, g_layout_globals.m_position);
|
window_set_position(window, g_layout_globals.m_position);
|
||||||
gtk_window_resize(window, g_layout_globals.m_position.w, g_layout_globals.m_position.h);
|
gtk_window_resize(window, g_layout_globals.m_position.w, g_layout_globals.m_position.h);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
WindowPosition default_position(-1, -1, 640, 480);
|
||||||
|
window_set_position(window, default_position);
|
||||||
|
#endif
|
||||||
|
|
||||||
EntityList_constructWindow(window);
|
EntityList_constructWindow(window);
|
||||||
PreferencesDialog_constructWindow(window);
|
PreferencesDialog_constructWindow(window);
|
||||||
|
|
Loading…
Reference in a new issue