* code fixes
	* packer: !FAIL! msg for missing ingame resources, ~fail for the rest
	* bumped stack size to 4Mb to fix crash for huge skies, using old shaders with fairly useless q3map_surfacelight + q3map_lightsubdivide < 999 combo


Radiant:

binds...
	* F5: run first in the list or recently invoked build option
	* F11: fullscreen

misc...
	* opening *.map, sent via cmd line: enabled for non win32 too
	* fix: textures find/replace wnd better default pos, size
	* fix: crash in CSG::Subtract
	* fix crash: main wnd maximized + 'start on primary monitor' off + monitors > 1
	* correct save/restore of main wnd pos/size and maximized/fullscreened states
	* scale widgets consistently along with main wnd, while using regular layout
This commit is contained in:
Garux
2017-08-02 09:06:17 +03:00
parent bf6dd1f2d1
commit e7c45da823
18 changed files with 127 additions and 76 deletions

View File

@@ -148,6 +148,11 @@ inline bool string_equal_suffix( const char* string, const char* suffix){
return string_equal_n( s , suffix, string_length( suffix ) );
}
inline bool string_equal_suffix_nocase( const char* string, const char* suffix){
const char *s = string + string_length( string ) - string_length( suffix );
return string_equal_nocase_n( s , suffix, string_length( suffix ) );
}
/// \brief Copies \p other into \p string and returns \p string.
/// Assumes that the space allocated for \p string is at least string_length(other) + 1.
/// O(n)