summaryrefslogtreecommitdiff
path: root/src/cgame/cg_view.c
AgeCommit message (Collapse)Author
2013-01-03* (bug #4265) Fix CG_WorldToScreen to accomdate cg_viewsizeTim Angus
* (bug #4265) Clip health bars to the cg_viewsize viewport
2013-01-03* New ownerdraw for speedometerBen Millwood
- Controlled by cg_drawSpeed, which is a bitfield Bit 1 controls the text draw, bit 2 controls the graph, and bit 4 ignores vertical speed in the calculation.
2013-01-03* (bug 3677) Smoother handling of very short zooms (benmachine)Christopher Schwarz
2013-01-03* For non 4:3 resolutions, preserve vertical FOV instead of horizontal FOVTim Angus
2013-01-03* make poison cloud disorientation start/end more smoothlyRoman Tetelman
* add /give gas for testing
2013-01-03* put a cap of 2.5 seconds on the fov warping from pcloudRoman Tetelman
2013-01-03* Cleanup thirdperson spec codeChristopher Schwarz
- Remove the temporary manual override cvars - Bring back cg_thirdpersonangle by request even though it's only useful in non-gameplay cases - Move thirdperson view offset values to classconfigs where they belong - Attempt once again to fix cg_thirdpersonpitchfollow
2013-01-03* reduce the duration of the disorient on basilisk gasRoman Tetelman
2013-01-03* Restructure G_WideTrace a bitTim Angus
* Fix a load of 1.f style floats to 1.0f
2013-01-03* Fix thirdperson death cam view for suicidesChristopher Schwarz
2013-01-03* Make dead cam follow the killer's movements instead of just looking at ↵Christopher Schwarz
where they were at time of death.
2013-01-03* Should fix thirdpersonpitchfollow in shoulderview modeChristopher Schwarz
2013-01-03* Fix dead cameraChristopher Schwarz
* Partially fix thirdpersonpitchfollow so you shouldn't get stuck anymore, but you can still get angle wrapping
2013-01-03* Fix a minor oops in thirdperson pitch angle clamping code.Christopher Schwarz
2013-01-03* More thirdperson follow and shoulder-cam stuff:Christopher Schwarz
+ Totally redo all the shoulder view positions + Change cg_thirdPersonShoulderView -> cg_thirdPersonShoulderViewMode and give it new behaviors - 0: always use regular third person view - 1: use regular third person view but go to shoulder during wallwalk (default) - 2: always use shoulder view + Following of the player's pitch (in both modes) is disabled but can be reenabled using cg_thirdPersonPitchFollow 1 - This cvar is intended to be temporary. One way or the other will be kept for trunk. + Unbreak regular third person view during wallwalk (I still don't like the way it looks though) + Add a set of temporary cvars for tweaking shoulder view positions for each class - cg_shoulderViewOverride 1 will activate the following cvars and ignore the hard-coded positions - cg_shoulderViewUp cg_shoulderViewRight cg_shoulderViewForward then offset the views instead - These four cvars will not go to trunk. They are so that people can easily test different viewpoints (to be hardcoded) and suggest them to me during this testing phase.
2013-01-03* Add spec yaw tracking to shoulder camChristopher Schwarz
* Remove spec pitch tracking from case cam (until bugs it results in are fixed)
2013-01-03* Almost completely redo the meat of the thirdperson spec code againChristopher Schwarz
* Create a shoulder-cam mode that replaces thirdperson when you have cg_thirdPersonShoulderView 1 * Automatically switch to shoulder view when following someone wallwalking
2013-01-03* Fix the thirdperson view that automatically occurs when dead (still has ↵Christopher Schwarz
the same shortcomings that it has in trunk though)
2013-01-03* More thirdpersonspec tweaks and fixes - fix dead cam, don't follow ↵Christopher Schwarz
players' pitch aim. * Known issue: actually PLAYING in third person is (still) broken at the moment
2013-01-03* typoChristopher Schwarz
2013-01-03* Update thirdpersonspec to rotate around the correct axis and fix the FOV.Christopher Schwarz
2013-01-03* more thirdpersonspec fixes (Lakitu7)Roman Tetelman
2013-01-03* from __future__ import thirdpersonspec (Lakitu7)Roman Tetelman
2013-01-03* Replace reams of BG_Find* functions with: BG_Buildable, BG_Class, BG_Weapon,Tim Angus
BG_Upgrade * Move "overrides/*" to "configs/" and remove all the overriden data from bg_misc.c, instead requiring it to be in the cfg files * Add cfg files to source control * Clean up some naming and typing issues
2013-01-03* Merge clientSession_t::sessionTeam and clientSession_t::spectatorStateTim Angus
* Remove existing team_t (TEAM_FREE, TEAM_SPECTATOR) * s/pTeam_t/team_t/;s/buildableTeam_t/team_t/;s/WUTeam_t/team_t/ * s/pClass_t/class_t/ * s/PERS_TEAM/PERS_SPECSTATE/ * s/STAT_PTEAM/STAT_TEAM/;s/STAT_PCLASS/STAT_CLASS/
2013-01-03* Lucifer cannon projectile a little bigger with chargeMichael Levin
* Sitting on a booster won't make it blink the warning bolt (SS_BOOSTEDWARNING), also made the warning fade * Lucifer Cannon repeat rates fixed * G_Damage() wont deal damage to dead entities * Maybe fixed the buildable killed with shotgun won't show dying anim bug * Attacked hives won't attack back when the OM is dead * The monstrous hive bounding boxes shrunk to something reasonable * Tesla Generator muzzle offset to the ball part, now fires over turrets * HUDs can make vertical charge bars * Human charge bar no longer overlaps scanner * "There are no spawns remaining" Changes to trample attack: * No longer deals locational damage (wtf?) * Charge "holding" restored * Hit repeat rate limited to 50 ms Changes to health cross icons: * Inspired by Techhead, made new icons (sorry, yours didn't look so good in game :-\ ) * Icons fade from one to another * Switched SS_HEALING_2X and SS_HEALING_ACTIVE meaning for Humans -- glows when on medi station, special icon for medkit * Poisoned icon for humans (Techhead's idea)
2013-01-03* Humans hit with Basilisk gas now show a particle effect until it wears offMichael Levin
* Basilisk gas view bob effect now properly accounts for shorter time due to protection * SS_POISONCLOUDED moved to EF_POISONCLOUDED (which used to be EF_TALK for chat balloons) * Added a userinfo cvar cg_alwaysSprint which, when enabled, makes humans sprint all the time (PS_ALWAYSSPRINT) * Power bolt on the Human HUD glows when sprinting (not very visible though)
2013-01-03* Added charge meter to the UI, can be disabled via GUIMichael Levin
* Trample and Lucifer Cannon charging reworked and moved to PMove * Can no longer "cancel" a charging Lucifer Cannon * STAT_MISC2 is now unused, booster and charge information can be inferred elsewhere (STAT_UNUSED) * Trying to fire an empty weapon makes a clicking noise (also a bugfix, apparently the server would spam EV_NOAMMO which did nothing but is now used for the clicking noise -- audible to all players) * Created an alternate, muffled Lucifer Cannon warning noise for other people's Lucifer Cannons * Fixed bug which prevented players from switching to a different player while spectating someone in the spawn queue * Spectators are now properly moved to the lock view position when spectating a player in the spawn queue
2013-01-03* Spawn queue displays ordinals ("You are 2nd in the spawn queue")Michael Levin
* Server does not communicate the number of eggs and telenodes to all clients anymore -- the correct number of spawns is passed to the client when they are in the spawn queue only (puts PERS_UNUSED to use) Sticky and dead spectate (holy fuck that was hard for something so simple sounding): * Big thanks to Lakitu7 for passing along the patch (with contributions from TJW, Undeference, and R1CH) * UI has a new option to enable/disable sticky spectate * Spectators get to see the full dying animation * Dead players can spectate their teammates whether they are in the spawn queue or not I corrected several nasty bugs and recoded a LOT of the patch. Potentially the "spawn without a weapon" thing may have been fixed but maybe not. There are possibly other new bugs so keep an eye out for them.
2013-01-03* Turrets back to their "dumb" behaviorMichael Levin
Pounce changes: * Mechanics simplified, descriptions in tremulous.h * Client side prediction (no jerkiness) * Pounce will gradually cancel if released in midair or release with insufficent charge
2013-01-03Added armour files to version control.Michael Levin
2007-09-27* (bug 3249) Improve repeater interaction with marked deconstructionTim Angus
* (bug 3321) Allow medkits and medistats to operate simultaneously * (bug 3310) Fix odd CalcMuzzlePoint implementation * Random refactoring of g_buildable.c * Add BG_GetClientNormal
2007-09-16* && != &Tim Angus
2007-09-16* (bug 2783) Rework lcannon firing logicTim Angus
* Remove STAT_BOOSTEDTIME, instead inferring it via SS_BOOSTED * Set EF_TELEPORT_BIT when buying or selling the bsuit
2006-11-17* Removed some more TA:sTim Angus
2006-06-18* Move Mass Driver zoom control to secondary attackTim Angus
* Remove +zoom and -zoom altogether
2006-01-27* Merged ioq3-r529Tim Angus
- Quick fullscreen changes - Fix to that server crashing memory leak - Some FreeBSD changes * Default for r_znear changed
2005-12-11* Added trap_FS_GetFileList to cgame, so it's not longer necessary to hackTim Angus
around it not being there * Removed Q3 console notify code and improved cgame rendered notify area * Sorted out pain blend texture coordinates
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Move the game source from mod/src/ to src/Tim Angus
2005-12-10* Moved existing src directory out the way whilst I merge ioq3Tim Angus
2005-12-08* Reduced Dragoon pounce range to 64 from 96Tim Angus
* Dragoon pounce now incurs 400ms wait before other weapons may be used * Trapper cost down to 8 from 10 * Hovel is now free, but only one can be built * Teslagen damage up to 9 from 7 * Non locational damage does not apply locational armour anymore; instead it averages the armour regions together * Tweaks to pain blends * Added cg_animation.c, which apparently I forgot * Added generate-infopanes.sh and infopanes.def.h
2005-12-06* Pain blendsTim Angus
2005-11-29* Lowered steptime for spectatorTim Angus
* Added worldspawn keys to disable specific game elements
2005-11-27* Fixed death by poison MOD s/antitox/medkit/Tim Angus
* Fixed Marauders momentarily disappearing when wall jumping * Fixed a potential crash bug involving the use of generic1 * Fixed being able to build multiple coincident repeaters if there is no reactor * Fixed incorrect message when invoking "buy ammo" with an energy weapon and no reactor present * Fixed invoking "reload" during a weapon reload causing an unnecessary reload * Fixed aliens having the wrong blood colour when shot with a las gun * Fixed hovel causing invisible builders
2005-11-25* Removal of remaining hard coded effectsTim Angus
* Removal of local entities system * Particle system enhancements to replace functionality lost by removing localents
2005-11-20* Abstract attachment systemTim Angus
* Scriptable trails system * Various other stuff I'm too tired to try and remember now
2005-10-03* Removed jump pad code (and associated media loading)Tim Angus
* Removed loading of some Q3 cruft * Spilled events attached to temporary entities are now reattached to their original entities, fixing the missing flame bug * Fixed "suicide god" bug * Fixed bug where zap ignores armour * Fixed missing particle systems when follow-spectating * Fixed potential bug involving dodgy pointer arithmetic in CG_LoadClientInfo * Cleaned up logic in CG_AddPlayerWeapon * MASK_SHOT traces no longer collide with corpses * Corpses timeout in 20 seconds instead of 60 * Improved robustness of spawn validation, fixing the bug on transit * A crapload of whitespace fixes
2005-07-28* Extended the chat period at the end of gamesTim Angus
* Disabled the anticamp trigger when you buy a weapon * Fixed bug where the "Ready" text would render over the icons on the final scoreboard * Changed the testmodel code to render gun barrels
2005-07-02* Fixed the PTRC system interfering with the observer modeTim Angus
* Refactored observer mode code * Fixed poison cloud being distorted in observer mode (by not rendering it) * Fixed walking wall smoothing being distorted in observer mode (by not performing any smoothing)