code fixes

Radiant:

binds...
	* m1x2 on clipper point = do clip
menus...
	* misc->colors->opengl font selector
misc...
	* calculate farplane from g_MaxWorldCoord, g_MinWorldCoord (was const 32768)
	* 1.0f nearplane
	* numerous code fixes
This commit is contained in:
Garux
2017-08-02 09:25:58 +03:00
parent 65ca31fd44
commit e3fd576624
68 changed files with 333 additions and 314 deletions

View File

@@ -261,12 +261,10 @@ const char* QERPlug_GetCommandList(){
char *TranslateString( char *buf ){
static char buf2[32768];
int i, l;
char *out;
l = strlen( buf );
out = buf2;
for ( i = 0 ; i < l ; i++ )
std::size_t l = strlen( buf );
char* out = buf2;
for ( std::size_t i = 0 ; i < l ; i++ )
{
if ( buf[i] == '\n' ) {
*out++ = '\r';