Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/neo/SConstruct b/neo/SConstruct
- index bc1ee17..a539323 100644
- --- a/neo/SConstruct
- +++ b/neo/SConstruct
- @@ -293,8 +293,8 @@ if ( g_os == 'Linux' ):
- # gcc 4.x option only - only export what we mean to from the game SO
- BASECPPFLAGS.append( '-fvisibility=hidden' )
- # get the 64 bits machine on the distcc array to produce 32 bit binaries :)
- - BASECPPFLAGS.append( '-m32' )
- - BASELINKFLAGS.append( '-m32' )
- + #BASECPPFLAGS.append( '-m32' )
- + #BASELINKFLAGS.append( '-m32' )
- if ( g_sdk or SDK != '0' ):
- BASECPPFLAGS.append( '-D_D3SDK' )
- diff --git a/neo/d3xp/Grabber.cpp b/neo/d3xp/Grabber.cpp
- index 4993108..e517715 100644
- --- a/neo/d3xp/Grabber.cpp
- +++ b/neo/d3xp/Grabber.cpp
- @@ -276,7 +276,8 @@ void idGrabber::StartDrag( idEntity *grabEnt, int id ) {
- aiEnt->StartRagdoll();
- }
- } else if ( grabEnt->IsType( idMoveableItem::Type ) ) {
- - grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL );
- +// grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, NULL );
- + grabEnt->PostEventMS( &EV_Touch, 250, thePlayer, 1 );
- }
- // Get the current physics object to manipulate
- diff --git a/neo/d3xp/Item.cpp b/neo/d3xp/Item.cpp
- index f1357bd..1028467 100644
- --- a/neo/d3xp/Item.cpp
- +++ b/neo/d3xp/Item.cpp
- @@ -294,7 +294,8 @@ void idItem::Spawn( void ) {
- if ( !ent ) {
- gameLocal.Error( "Item couldn't find owner '%s'", giveTo.c_str() );
- }
- - PostEventMS( &EV_Touch, 0, ent, NULL );
- +// PostEventMS( &EV_Touch, 0, ent, NULL );
- + PostEventMS( &EV_Touch, 0, ent, 1 );
- }
- #ifdef CTF
- diff --git a/neo/d3xp/Trigger.cpp b/neo/d3xp/Trigger.cpp
- index 7401a88..40fec9c 100644
- --- a/neo/d3xp/Trigger.cpp
- +++ b/neo/d3xp/Trigger.cpp
- @@ -1303,10 +1303,12 @@ void idTrigger_Flag::Event_Touch( idEntity *other, trace_t *trace ) {
- flag->PostEventMS( eventFlag, 0 );
- break;
- case 1 :
- - flag->PostEventMS( eventFlag, 0, NULL );
- + //flag->PostEventMS( eventFlag, 0, NULL );
- + flag->PostEventMS( eventFlag, 0, 1 );
- break;
- case 2 :
- - flag->PostEventMS( eventFlag, 0, NULL, NULL );
- + //flag->PostEventMS( eventFlag, 0, NULL, NULL );
- + flag->PostEventMS( eventFlag, 0, 1, 1 );
- break;
- }
- diff --git a/neo/d3xp/ai/AI_events.cpp b/neo/d3xp/ai/AI_events.cpp
- index 394561a..1757609 100644
- --- a/neo/d3xp/ai/AI_events.cpp
- +++ b/neo/d3xp/ai/AI_events.cpp
- @@ -2489,7 +2489,8 @@ void idAI::Event_ThrowMoveable( void ) {
- }
- if ( moveable ) {
- moveable->Unbind();
- - moveable->PostEventMS( &EV_SetOwner, 200, NULL );
- + //moveable->PostEventMS( &EV_SetOwner, 200, NULL );
- + moveable->PostEventMS( &EV_SetOwner, 200, 1 );
- }
- }
- @@ -2510,7 +2511,8 @@ void idAI::Event_ThrowAF( void ) {
- }
- if ( af ) {
- af->Unbind();
- - af->PostEventMS( &EV_SetOwner, 200, NULL );
- + //af->PostEventMS( &EV_SetOwner, 200, NULL );
- + af->PostEventMS( &EV_SetOwner, 200, 1 );
- }
- }
- diff --git a/neo/d3xp/gamesys/SysCvar.cpp b/neo/d3xp/gamesys/SysCvar.cpp
- index 7efc6bb..cf23cd0 100644
- --- a/neo/d3xp/gamesys/SysCvar.cpp
- +++ b/neo/d3xp/gamesys/SysCvar.cpp
- @@ -37,6 +37,8 @@ If you have questions concerning this license or the applicable additional terms
- #define BUILD_DEBUG "-release"
- #endif
- +#define BUILD_STRING "gjs278"
- +
- /*
- All game cvars should be defined here.
- diff --git a/neo/framework/Common.cpp b/neo/framework/Common.cpp
- index fc102e2..2b86c7d 100644
- --- a/neo/framework/Common.cpp
- +++ b/neo/framework/Common.cpp
- @@ -47,6 +47,8 @@ typedef enum {
- #define BUILD_DEBUG ""
- #endif
- +#define BUILD_STRING "gjs278"
- +
- struct version_s {
- version_s( void ) { sprintf( string, "%s.%d%s %s %s %s", ENGINE_VERSION, BUILD_NUMBER, BUILD_DEBUG, BUILD_STRING, __DATE__, __TIME__ ); }
- char string[256];
- diff --git a/neo/framework/FileSystem.cpp b/neo/framework/FileSystem.cpp
- index f697d13..f6c5330 100644
- --- a/neo/framework/FileSystem.cpp
- +++ b/neo/framework/FileSystem.cpp
- @@ -48,6 +48,8 @@ If you have questions concerning this license or the applicable additional terms
- #include "../curl/include/curl/curl.h"
- #endif
- +#define BUILD_OS_ID 6
- +
- /*
- =============================================================================
- diff --git a/neo/framework/async/AsyncClient.cpp b/neo/framework/async/AsyncClient.cpp
- index b61cbfc..2db5d8f 100644
- --- a/neo/framework/async/AsyncClient.cpp
- +++ b/neo/framework/async/AsyncClient.cpp
- @@ -29,6 +29,8 @@ If you have questions concerning this license or the applicable additional terms
- #include "../../idlib/precompiled.h"
- #pragma hdrstop
- +#define BUILD_OS_ID 6
- +
- #include "AsyncNetwork.h"
- #include "../Session_local.h"
- diff --git a/neo/framework/async/ServerScan.cpp b/neo/framework/async/ServerScan.cpp
- index 97f3f4c..1341ca0 100644
- --- a/neo/framework/async/ServerScan.cpp
- +++ b/neo/framework/async/ServerScan.cpp
- @@ -29,6 +29,8 @@ If you have questions concerning this license or the applicable additional terms
- #include "../../idlib/precompiled.h"
- #pragma hdrstop
- +#define BUILD_OS_ID 6
- +
- idCVar gui_filter_password( "gui_filter_password", "0", CVAR_GUI | CVAR_INTEGER | CVAR_ARCHIVE, "Password filter" );
- idCVar gui_filter_players( "gui_filter_players", "0", CVAR_GUI | CVAR_INTEGER | CVAR_ARCHIVE, "Players filter" );
- idCVar gui_filter_gameType( "gui_filter_gameType", "0", CVAR_GUI | CVAR_INTEGER | CVAR_ARCHIVE, "Gametype filter" );
- diff --git a/neo/game/Item.cpp b/neo/game/Item.cpp
- index 1ab31ae..a074c8c 100644
- --- a/neo/game/Item.cpp
- +++ b/neo/game/Item.cpp
- @@ -294,7 +294,8 @@ void idItem::Spawn( void ) {
- if ( !ent ) {
- gameLocal.Error( "Item couldn't find owner '%s'", giveTo.c_str() );
- }
- - PostEventMS( &EV_Touch, 0, ent, NULL );
- +// PostEventMS( &EV_Touch, 0, ent, NULL );
- + PostEventMS( &EV_Touch, 0, ent, 1 );
- }
- if ( spawnArgs.GetBool( "spin" ) || gameLocal.isMultiplayer ) {
- diff --git a/neo/game/ai/AI_events.cpp b/neo/game/ai/AI_events.cpp
- index 83be603..cfe40b9 100644
- --- a/neo/game/ai/AI_events.cpp
- +++ b/neo/game/ai/AI_events.cpp
- @@ -2335,7 +2335,8 @@ void idAI::Event_ThrowMoveable( void ) {
- }
- if ( moveable ) {
- moveable->Unbind();
- - moveable->PostEventMS( &EV_SetOwner, 200, NULL );
- + //moveable->PostEventMS( &EV_SetOwner, 200, NULL );
- + moveable->PostEventMS( &EV_SetOwner, 200, 1 );
- }
- }
- @@ -2356,7 +2357,8 @@ void idAI::Event_ThrowAF( void ) {
- }
- if ( af ) {
- af->Unbind();
- - af->PostEventMS( &EV_SetOwner, 200, NULL );
- + //af->PostEventMS( &EV_SetOwner, 200, NULL );
- + af->PostEventMS( &EV_SetOwner, 200, 1 );
- }
- }
- diff --git a/neo/game/gamesys/SysCvar.cpp b/neo/game/gamesys/SysCvar.cpp
- index f3ac007..e68b6f4 100644
- --- a/neo/game/gamesys/SysCvar.cpp
- +++ b/neo/game/gamesys/SysCvar.cpp
- @@ -37,6 +37,8 @@ If you have questions concerning this license or the applicable additional terms
- #define BUILD_DEBUG "-release"
- #endif
- +#define BUILD_STRING "gjs278"
- +
- /*
- All game cvars should be defined here.
- diff --git a/neo/sys/linux/main.cpp b/neo/sys/linux/main.cpp
- index 4e64b8a..493f2e6 100644
- --- a/neo/sys/linux/main.cpp
- +++ b/neo/sys/linux/main.cpp
- @@ -257,7 +257,7 @@ double Sys_GetClockTicks( void ) {
- : "=r" (lo), "=r" (hi) );
- return (double) lo + (double) 0xFFFFFFFF * hi;
- #else
- -#error unsupported CPU
- +//#error unsupported CPU
- #endif
- }
- diff --git a/neo/sys/sys_local.cpp b/neo/sys/sys_local.cpp
- index bf40527..f443b03 100644
- --- a/neo/sys/sys_local.cpp
- +++ b/neo/sys/sys_local.cpp
- @@ -124,7 +124,8 @@ void idSysLocal::DLL_GetFileName( const char *baseName, char *dllName, int maxLe
- #ifdef _WIN32
- idStr::snPrintf( dllName, maxLength, "%s" CPUSTRING ".dll", baseName );
- #elif defined( __linux__ )
- - idStr::snPrintf( dllName, maxLength, "%s" CPUSTRING ".so", baseName );
- +// idStr::snPrintf( dllName, maxLength, "%s" CPUSTRING ".so", baseName );
- + idStr::snPrintf( dllName, maxLength, "%s" ".so", baseName );
- #elif defined( MACOS_X )
- idStr::snPrintf( dllName, maxLength, "%s" ".dylib", baseName );
- #else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement