summaryrefslogtreecommitdiff
path: root/src/cgame/cg_buildable.c
AgeCommit message (Collapse)Author
2017-03-09also invalidate the buildable orientation cache if the angles or the ↵/dev/humancontroller
buildable type changes
2017-03-09do not position buildables too far away from their game-specified origin; ↵/dev/humancontroller
display buildables even in air
2017-03-09implement the range marker functionality, use it to create buildable range ↵/dev/humancontroller
markers use the entity 64-bit client-masking extension when available
2017-02-07fix some usages of abs(), part 1: non-gamelogic-changing changes/dev/humancontroller
detected by Clang changes in tr_main.c reviewed by SmileTheory
2017-02-07silence a bunch of compiler warnings/dev/humancontroller
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Silence some set-but-unused variable warnings. There are still more. Many ↵Christopher Schwarz
others will be handled in the next upstream merge.
2013-01-03* (bug 2929) Prevent buildable model and bbox from being too far from each ↵Christopher Schwarz
other (glitch building). Thanks F50, gimhael.
2013-01-03* Update copyright noticesTim Angus
2013-01-03* (bug 4006) Prevent human buildables from playing idle sounds while ↵Christopher Schwarz
unpowered and give them new slightly-different animations so they also look different. In the case of turrets, 'droop' a bit when unpowered. (Rezyn)
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* Revert r1800 at Timbo requestChristopher Schwarz
2013-01-03* (bug 4265) Fix buildable health display not accomodating cg_viewsize (Rezyn)Christopher Schwarz
2013-01-03* Reduce generic1 to 10 bitsTim Angus
* Remove buildable health scaling/masking stuff; 10 bits is plenty now * Potentially fix bug where many PVS entering buildables would inappropriately make damaged sounds
2013-01-03* (bug 4037) cgame forgets to close buildstat.cfgM. Kristall
* Admin searches now list all matches * !listadmins now properly handles negative numbers * "!ban: too many bans" errors were sometimes wrong * A bit of refactoring * Add %s support to sscanf
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* Fix a couple more places where files might not be closed (bug 3554)M. Kristall
* Fix off-by-one errors and some gcc warnings
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* First person weapon animationTim Angus
2013-01-03* A new (256x256) version of Garoth's creep textureMichael Levin
* Hooray for physics! 0 = (k v_i)^2 + 2ad --> k^2 v_i^2 / 2a = d, i.e. the minijump scale is sqrt(1/2) for a half-jump * Oops, forgot to store/restore computed origin for cached buildable cap-traces * Seeing multiple marked players will not mess up the marker orientations anymore * Fixed warnings and increased range of squad marking to player crosshair distance
2013-01-03* Options menu video modes glitch fixed (a backport)Michael Levin
* Scores will not be reset to 0 for players whose classes change while the scoreboard is showing * Hive offset fixed so that less of the hive is sunk under the floor * Buildable positioning cap-traces are cached, saving CPU * Buildable cap-traces will not interact with bodies (players and buildables) * For Aliens holding dodge while jumping will result in a weaker jump Marauder walljump changes: * Finds a wall regardless of where player is aiming * No longer uses direction keys to direct walljump (player is using these to hug the wall!) * Will direct jump in player's view direction
2013-01-03* Buildable health accuracy increased to 8 bits, flags moved to eFlags (EF_B_*)Michael Levin
* Fixed Tesla Generator not firing over turrets or missing small aliens entirely -- it now shoots from the top of its bounding box to the top of its target's bounding box * Dying, evolving, or changing teams properly resets the weapon Flame thrower changes: * Reverted flame thrower missile radius to 15 * Muzzle is offset for flame thrower to shoot from the hand
2013-01-03* Build delay pie slices are now 5 sec each for both teamsMichael Levin
* Removed individual weapon build delay * Removed Advanced Construction Kit, everything is built by the normal kit * S2+ buildables cannot be built by regular grangers * Clicking to pick team during spectator mode fixed * New cvar: cg_printDuplicate, when set to 0 (default) prevents duplicate messages from being printed to screen (they still show up in console) * Pressing ESC while editing a UI item (esp. new Say menu) will not cause your cursor to disappear next time you open a menu
2013-01-03Added armour files to version control.Michael Levin
2007-09-26* (bug 3305) Remove inappropriate SnapVectorTim Angus
* Don't display creep over a certain height
2007-09-25* Remove B_REMOVED_TOGGLEBIT, use ps->misc per player insteadTim Angus
* Fix last spawn and uniqueness tests for marked deconstruction * Fix buildable collision tests for non-marked deconstruction * New g_markDeconstruct settings to guard against abuse + 0 off + 1 on, no replacements allowed + 2 on, replacements allowed of same type + 3 on, any replacements allowed * Unlink then relink all buildables when doing build tests * Fixes to tutorial text for marked deconstruction * Remove unused "weaponswitch" client command
2007-09-24* Highlight marked buildables that will be removed by building a newTim Angus
buildable
2007-03-21* new 2D status bars for buildingsTony J. White
* spawns never show the ¨no power¨ icon since they don't need reactor/overmind * alien buildings that require the overmind to function will now show the "no power¨ icon when the overmind is down
2006-12-29* (bug 2935) Creep penetrating surfaces it shouldn'tTim Angus
2006-12-29* Buildable destruction marking (via g_markDeconstruct)Tim Angus
* It's now impossible to destroy the last spawn * Start of a new client side buildable status display
2006-06-10* Fix to worldspawn defaults bugTim Angus
* Fix to > max damage zap bug * Add g_mapConfigs * Fix item switch when run out of ammo * Fix client side buildable tracing * Fix misc_portal_surface documentation
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* Merged in a bunch of game side fixed from 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-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-08-31* Reimplemented how buildables play damage sounds to not use the event systemTim Angus
* Reworked the ammo/clips packing system to remove the confusion of concepts * Marauder lightning now requires aim, does damage over time and chains to other entities * Implemented the Medkit -- a means for a human to restore health and cure poison in the field * "Disable Build Warnings" replaced with "Disable Warning Dialogs" and improved * Disabled client side ET_MISSILE collision * Sped spectator move speed up * Implemented "step down" physics for all characters; no more jumping down stairs * Re-adjusted step time values * Increased frequency with which the Acid Tube deals damage * G_RadiusSelectiveDamage no longer applies locational damage * Moved some speed adjustment code into prediction; should prevent some prediction misses * Tyrant can no longer charge up forever and must pass a specific minimum charge level * Wrapped all calls to trap_SendServerCommand in order to circumvent the q3amsgboom.cfg exploit * Implemented command queueing for commands sent to clients in order to prevent overflows even sv_floodProtect is off, but not by dropping commands * Added LOS check to creep slowing * Overmind now only complains if there are 0 spawns * Spawns can no longer be built when there is no Overmind/Reactor * The spawn closest to the point of death is chosen preferably if available * Evolving no longer restores all health * "give weapons" and "give ammo" cheats removed * Fixed restoration of energy weapons bug * When selling the battery pack, max ammo is given * Fixed a bug where locational damage could sometimes scale damage to 0 * Added stage information to the end of game stats * Hacked around trap_LinkEntity to allow missiles to have a bounding box displayed * Added G_ClosestEnt * Reduced Dragoon spitball damage from 120 to 110 * Reduced Tyrant claw damage from 120 to 100 * Reduced Tyrant charge damage from 160 to 110 * Increased Barricade regeneration rate from 12 to 14 * Increased Overmind health from 500 to 750 * Decreased Overmind regeneration rate from 10 to 6 * Doubled Blaster speed from 700 to 1400 * Reduced Painsaw damage from 18 to 15 * Reduced Painsaw range from 48.0 to 40.0 * Reduced Grenade price from 300 to 200 * Reduced Shotgun repeat rate from 1200 to 1000 * Increased Shotgun damage from 6 to 7 * Increased Mass driver damage from 35 to 38 * Increased Chaingun damage from 5 to 6 * Reduced Flamer repeat rate from 300 to 200 * Extended Flamer range * Increased ammo on all human weapons * Reduced splashdamage on MG Turrets * Moved build directory from tremulous to tremulous-dev
2005-07-21* Change death by dragoon obituary from "clawed" to "chomped"Tim Angus
* Fixed the bug where spectators saw team chat * Added ping display to the lagometer * Renormalised some balance variables * Fixed the bug where bodies would sometimes disappear immediately after death * Fixed the "dancing buildables" bug * Fixed the bug where buildable animation sounds were inappropriately played upon entering PVS * Fixed a subtle stage bug * Added code to indicate which stage a team is on via the scoreboard
2005-07-18* Added a mechanism to buildable overrides to change model scaleTim Angus
* Acid tubes can now be built on walls
2005-06-27* Fixed all the warnings reported after turning on -WallTim Angus
2005-06-26* Toned done the chaingun a touchTim Angus
* Inverted the direction in which a player is spawned * Fixed the alien buildable axis explosion bug * Fixed some class name foul ups in the obituaries * Disabled friendly fire by default
2004-09-29* A smattering of fondulationsTim Angus
2004-03-25* Fixed particle system infinite loop bug in trem2Tim Angus
* Spawns that are interfered with plats now suicide * Fixed spectator scrolling colour screwup
2004-03-03* Fixed chasecam engagement bugTim Angus
* Raised turret effectiveness again * Raised human weapon damage by 5% * Refactored buildable rendering code * Buildable rendering now falls back to a box trace when a cap trace misses * Human ckit can't repair destroyed buildables * Human reactor strengthened by 50%
2004-02-07* Fixed a wall walking bug (DEAR GOD WHEN WILL IT END)Tim Angus
* Shadow is now rendered on walls as well as the ground * Buildables are now vulnerable in the prebuild stage * Alien buildables take longer to build * A bunch of other stuff
2004-01-22* Particle system should complain less if it can't find a specific systemTim Angus
* Reduced size of misc_particle_system entity in entities.def * Added prebuild sounds for the buildables