* Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE.
* Revert "Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE."
This reverts commit fe4c340e35.
* Committing leilei's changes from the leilei-cosmetic2 branch for the UI3.
* Now it compiles.
NeonKnight description:
I had disabled these pieces of code in order to test important stuff for the SP. However, instead of commenting them out, I thought it would be better, in case team models are going to be implemented in a future (the idea itself is good, I can see clans creating their own model with exchangeable heads), to just create a toggleable cvar.
The cvar is cg_missionpackChecks.
Also some pieces of commented code weren't parsed well in some editors, so I've changed the commenting format.
Squashed commit of the following:
commit 63ae78034d7ac04c08dc2f6184982b8dbebe8914
Author: sago007 <poul@poulsander.com>
Date: Sat Dec 1 22:26:23 2018 +0100
Minor indentation fixes and replaced the != 0 for boolean type cvar
commit 1ea163529a
Merge: 0027cfcd967ac8
Author: NeonKnightOA <openarena.arg@gmail.com>
Date: Sat Dec 1 12:44:30 2018 -0300
Merge branch 'master' into mpchecks
commit 0027cfc39b
Merge: 63d8bd10bee41a
Author: NeonKnightOA <openarena.arg@gmail.com>
Date: Sat Dec 1 10:55:59 2018 -0300
Merge branch 'master' into mpchecks
commit 63d8bd1dcb
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Sat Dec 1 10:53:10 2018 -0300
Just to make the code cleaner.
commit 2dea58d8d6
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 22:30:05 2018 -0300
Better marked the checks.
commit 91a9d07ef6
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 22:16:43 2018 -0300
This now works.
commit 821342a2a3
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 22:11:02 2018 -0300
An additional cvar, ui_missionpackChecks, had to be created.
commit 43bf272a06
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:56:19 2018 -0300
Forgot this.
commit 6601f06131
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:48:55 2018 -0300
Syntax error. -.-
commit dab5e1c7ca
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:28:10 2018 -0300
Missionpack checks. Disable team model check and SP-specific code. Also some comments were modified in order to work with SciTE and other editors.
commit b9a61dbe45
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:26:34 2018 -0300
Revert "Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE."
This reverts commit fe4c340e35.
commit fe4c340e35
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:21:31 2018 -0300
Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE.
Squashed commit of the following:
commit c05ffecf38
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 22:53:54 2018 -0300
This is also not needed anymore.
commit 14abe7715a
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 22:29:26 2018 -0300
Last checks found. Hopefully that's enough.
commit cad2ab0c5a
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 22:14:33 2018 -0300
We don't need g_ffa_gt anymore.
commit 2577547db4
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 22:04:09 2018 -0300
More checks located.
commit d9c96477c6
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 21:29:41 2018 -0300
Had to do this just to get it to compile.
commit 2089039745
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 21:18:25 2018 -0300
Fixing several syntax errors.
commit 0edba34607
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 21:07:23 2018 -0300
Oops... my mistakes. -.-
commit 05e9ef79d4
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Fri Nov 30 21:00:00 2018 -0300
New checks for team flags, team obelisks, control points and rounds.
commit 06e325ab00
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Thu Nov 29 17:10:48 2018 -0300
Some syntax errors fixed.
commit e394d4fc54
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Thu Nov 29 17:00:01 2018 -0300
Finished the splitting.
commit 5e267d161f
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Thu Nov 29 16:34:01 2018 -0300
Splitting the function.
commit 7c643f14aa
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Thu Nov 29 12:36:14 2018 -0300
Syntax error.
commit aba598fde4
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Thu Nov 29 12:26:58 2018 -0300
All the isTeam checks were moved to a centralized function.
commit b9a61dbe45
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:26:34 2018 -0300
Revert "Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE."
This reverts commit fe4c340e35.
commit fe4c340e35
Author: Neon_Knight <openarena.arg@gmail.com>
Date: Wed Nov 28 21:21:31 2018 -0300
Toggleable missionpack checks. Disables team models and relevant checks interfering with testing. Some comments were also modified in order to work with SciTE.
Without this, the following error happens when trying to run with
native libraries (.so):
```
Sys_LoadGameDll(/path/to/qagamex86_64.so) failed to find vmMain function:
"/path/to/qagamex86_64.so: undefined symbol: vmMain" !
Failed to load DLL /path/to/qagamex86_64.so.
----- Server Shutdown (Server fatal crashed: VM_Create on game failed) -----
```
- loads of rfactory cg/ui changes for huds and menus
- lfx particles for the renderer
- player animation enhancements
- player model eyes support
- more third person camera stuff
- camera-in-virtual-eyes stuff
- weapon model bobbing stuff
- some other things
While the !strcmp is common it is too easy for humans to misread it. I have fixed several bugs caused by people that after a long day no longer read "if the two strings do not compare then they must be equal". Q_strequal is a macro so there are no performance progrem, just easier to read code.
I am a bit unsure about the return value of CG_SmokePuff
In places like CG_HasteTrail a LE_SCALE_FADE has been assigned to it. But most places it was just unused. I have removed the unsed versions but I wonder if they should have been assigned a value instead.
Fix UI player model FOV when using non-640x480 resolution.
(this is great!)
git-svn-id: http://oax.googlecode.com/svn/trunk@310 48ef5666-4144-11de-b6cc-f32266f7ba4a
the following changes has been copied (revision numbers from ioquake3):
1939: Fix player queueing for tournament play (#4939)
1972: Fix spawnflag behaviour for trigger_hurt, patch by DevHC
1973: Fix one byte overflow
1981: ensure that ent->classname is always non-null (for entity numbers up to level.num_entities-1, and ENTITYNUM_WORLD and ENTITYNUM_NONE), for player entities and #ENTITYNUM_NONE in particular, patch by DevHC
1983/1984: Make bg_lib.c strchr ANSI-C conformant
1987: strrchr instead of Q_strrchr
2010: Calls to trap_CM_PointContents don't update their origins based on moving entities (water). Patch by Ensiform
2015: Automatically selecting player model in q3_ui does not work if skin is not specified, patch by Zack Middleton
2016: Grappling hook does not load trail shader, patch by Zack Middleton
2036: Clear game logfile handle after closing file.
2047: TA UI forces overstrike mode on when focusing an edit box, by Ensiform (I have not yet verified this in missionpack)
2048: strchr in video
2051
2056
2063
git-svn-id: http://oax.googlecode.com/svn/trunk@257 48ef5666-4144-11de-b6cc-f32266f7ba4a
I kept the outcommented code in case it should cause problem but of all 0.8.1 bugs reported so far punkbuster is not one of them.
git-svn-id: http://oax.googlecode.com/svn/trunk@131 48ef5666-4144-11de-b6cc-f32266f7ba4a