mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-03-13 22:22:13 +00:00
Bugs with entities
This commit is contained in:
parent
61753dee3b
commit
fae72c7a70
3 changed files with 26 additions and 14 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.38 2002/05/12 13:37:25 makro
|
||||
// Bugs with entities
|
||||
//
|
||||
// Revision 1.37 2002/05/11 12:45:25 makro
|
||||
// Spectators can go through breakables and doors with
|
||||
// a targetname or health. Bots should crouch more/jump less
|
||||
|
@ -646,8 +649,8 @@ void SP_func_breakable( gentity_t *ent ) {
|
|||
}
|
||||
|
||||
//Makro - added this so spectators can go through breakables
|
||||
ent->nextthink = level.time + FRAMETIME;
|
||||
ent->think = Think_SpawnNewDoorTrigger;
|
||||
//ent->nextthink = level.time + FRAMETIME;
|
||||
//ent->think = Think_SpawnNewDoorTrigger;
|
||||
|
||||
trap_LinkEntity (ent);
|
||||
}
|
||||
|
|
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.54 2002/05/12 13:37:25 makro
|
||||
// Bugs with entities
|
||||
//
|
||||
// Revision 1.53 2002/05/05 15:18:03 makro
|
||||
// Fixed some crash bugs. Bot stuff. Triggerable func_statics.
|
||||
// Made flags only spawn in CTF mode
|
||||
|
@ -605,9 +608,10 @@ void Bullet_Fire (gentity_t *ent, float spread, int damage, int MOD ) {
|
|||
tent = G_TempEntity( tr.endpos, EV_BULLET_HIT_GLASS );
|
||||
tent->s.eventParm = DirToByte( tr.plane.normal );
|
||||
tent->s.otherEntityNum = ent->s.number;
|
||||
} else if ( traceEnt->s.eType == ET_PRESSURE ) {
|
||||
// Pressure entities
|
||||
G_CreatePressure(tr.endpos, tr.plane.normal, traceEnt);
|
||||
//Makro - moved the pressure code out of these if's
|
||||
//} else if ( traceEnt->s.eType == ET_PRESSURE ) {
|
||||
// // Pressure entities
|
||||
// G_CreatePressure(tr.endpos, tr.plane.normal, traceEnt);
|
||||
} else {
|
||||
tent = G_TempEntity( tr.endpos, EV_BULLET_HIT_WALL );
|
||||
tent->s.eventParm = DirToByte( tr.plane.normal );
|
||||
|
@ -616,6 +620,12 @@ void Bullet_Fire (gentity_t *ent, float spread, int damage, int MOD ) {
|
|||
//tent->s.otherEntityNum = ent->s.number;
|
||||
//G_Printf("Surfaceflags: %d\n", tr.surfaceFlags);
|
||||
|
||||
//Makro - moved the pressure code out of these if's
|
||||
if ( traceEnt->s.eType == ET_PRESSURE ) {
|
||||
// Pressure entities
|
||||
G_CreatePressure(tr.endpos, tr.plane.normal, traceEnt);
|
||||
}
|
||||
|
||||
if ( traceEnt->takedamage) {
|
||||
G_Damage( traceEnt, ent, ent, forward, tr.endpos, damage, 0, MOD);
|
||||
|
||||
|
|
|
@ -6,14 +6,13 @@
|
|||
--------------------Configuration: game - Win32 Release--------------------
|
||||
</h3>
|
||||
<h3>Command Lines</h3>
|
||||
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP2DD.tmp" with contents
|
||||
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP3F2.tmp" with contents
|
||||
[
|
||||
/nologo /G6 /ML /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /FR"c:\reactionoutput/" /Fp"c:\reactionoutput/game.pch" /YX /Fo"c:\reactionoutput/" /Fd"c:\reactionoutput/" /FD /c
|
||||
"C:\Games\Quake3\rq3source\reaction\game\bg_misc.c"
|
||||
"C:\Games\Quake3\rq3source\reaction\game\bg_pmove.c"
|
||||
"C:\Games\Quake3\rq3source\reaction\game\g_weapon.c"
|
||||
]
|
||||
Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP2DD.tmp"
|
||||
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP2DE.tmp" with contents
|
||||
Creating command line "cl.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP3F2.tmp"
|
||||
Creating temporary file "D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP3F3.tmp" with contents
|
||||
[
|
||||
kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows /dll /incremental:no /pdb:"c:\reactionoutput/qagamex86.pdb" /map:"c:\reactionoutput/qagamex86.map" /machine:I386 /def:".\game.def" /out:"..\Release/qagamex86.dll" /implib:"c:\reactionoutput/qagamex86.lib"
|
||||
\reactionoutput\ai_chat.obj
|
||||
|
@ -56,18 +55,18 @@ kernel32.lib user32.lib winmm.lib /nologo /base:"0x20000000" /subsystem:windows
|
|||
\reactionoutput\zcam.obj
|
||||
\reactionoutput\zcam_target.obj
|
||||
]
|
||||
Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP2DE.tmp"
|
||||
Creating command line "link.exe @D:\DOCUME~1\Andrei\LOCALS~1\Temp\RSP3F3.tmp"
|
||||
<h3>Output Window</h3>
|
||||
Compiling...
|
||||
bg_misc.c
|
||||
bg_pmove.c
|
||||
g_weapon.c
|
||||
C:\Games\Quake3\rq3source\reaction\game\g_weapon.c(2639) : warning C4701: local variable 'tr' may be used without having been initialized
|
||||
Linking...
|
||||
Creating library c:\reactionoutput/qagamex86.lib and object c:\reactionoutput/qagamex86.exp
|
||||
|
||||
|
||||
|
||||
<h3>Results</h3>
|
||||
qagamex86.dll - 0 error(s), 0 warning(s)
|
||||
qagamex86.dll - 0 error(s), 1 warning(s)
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue