summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
AgeCommit message (Collapse)Author
2013-01-03* Smarter way to check if teamoverlay info should be sent; don't send upgradeM. Kristall
field for aliens
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
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* Prevent players from being poisoned by explosions of buildables that were ↵Christopher Schwarz
killed by players with poison (Thanks The Medistation for reporting)
2013-01-03* (bug 4885) Show teamkilled buildings as teamkilled in buildlog to ↵Christopher Schwarz
differentiate from destroyed by the other team
2013-01-03* Fix tallying of credits earned for staging when a player dies.John Ellis
2013-01-03* (bug 4688) Fix locational damage being applied backwards from the front ↵Christopher Schwarz
versus the back (thanks F50, kevlarman)
2013-01-03Don't give funds for damage done by non-players (thanks Lakitu7)Asa Kravets
2013-01-03* (bug 3291) Add /buildlog and /revert commands to combat grief building ↵Christopher Schwarz
(Undeference, Rezyn, and originally Benmachine)
2013-01-03* Don't give tk/suicide penalties from exploding human buildables (thanks ↵Christopher Schwarz
Oopss, Rezyn)
2013-01-03* Fix alien builders not receiving score when tremded is running in ↵Christopher Schwarz
vm_game=0 (thanks Exclamation, kevlarman)
2013-01-03* Exempt MOD_NOCREEP and MOD_REPLACE from being affected by ↵Christopher Schwarz
g_friendlyBuildableFire and from triggering DCC warnings * Attribute damage for MOD_REPLACE to the deconner (forgot to do this in the last commit) * Return to not printing buildable destroy messages for human no-power structure deaths (MOD_NOCREEP) because they're really confusing (they're still logged though). * Various code style/formatting changes (msk)
2013-01-03* Queue BP according to the proportion of damage that came from ↵Christopher Schwarz
not-friendly-fire (e.g. things killed entirely by FF have their BP returned instantly, and those killed by enemies/other have their BP queued, and others split accordingly) * Human buildings dying from no power now uses MOD_NOCREEP instead of MOD_SUICIDE * Attribute deaths caused by nopower, nocreep, and human buildable blowup-chain-reactions to the person that killed the egg/power/original building that started the chain * Minor cleanups of unused functions/variables
2013-01-03* Revert revision 1996, which removed a feature which "looked like an obviousM. Kristall
bug"
2013-01-03* (bug 3243) /notarget cheat extended to buildables (thanks benmachine)Christopher Schwarz
2013-01-03* Fix incorrect entitynum logged in destructions by <world> (thanks Rezyn)Christopher Schwarz
2013-01-03* Do not separately log fake destructions of marked structures (from r1961)M. Kristall
2013-01-03* Log non-client entity numbers in DieM. Kristall
* Log destructions not caused by players
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Stop using numeric constants in logs because they are unreliable (log parsersM. Kristall
will need to be updated)
2013-01-03* More consistency in build/decon message colorcodesChristopher Schwarz
2013-01-03* (bug 2923) Add ability to have a "warmup" time where players cannot join a ↵Christopher Schwarz
team, in order to prevent dretches with fast computers from camping the other base before the humans even load the map. Disabled by default; set g_doWarmup 1 to enable.
2013-01-03* Report source file in some error messagesBen Millwood
2013-01-03* (bug 3640) Don't close all client menus upon death because it annoys the ↵Christopher Schwarz
crap out of people for no good reason
2013-01-03* (bug 4298) Fix decon messages, add build messagesChristopher Schwarz
- Fix decon messages/logging to work when g_friendlyBuildableFire=0 (Rezyn) - Add messages/logging of building, including what was replaced (Rezyn)
2013-01-03* Fix adding to the build timer when deconstructing with g_markdeconstruct 0 ↵Christopher Schwarz
(thanks Rezyn) * Fix *not* adding to the build timer when marking things for deconstruction with g_markdeconstruct>0 (thanks Rezyn) * Fix /destroy not working with g_friendlyBuildableFire 0
2013-01-03* (bug 3391) FF Cvar cleanupChristopher Schwarz
- Remove g_humanFriendlyFire and g_alienFriendlyFire - Remove the cvar "ff" and just use g_friendlyFire and g_friendlyBuildableFire
2013-01-03* (bug 3345) Cap knockback damage from falling, so that humans no longer ↵Christopher Schwarz
'bounce' from large falls
2013-01-03* Fix ordinals in spawn queue to not display 21th, 22th, 23th etc.M. Kristall
* Try to be nice to log parsers
2013-01-03* Fix various fuck-ups introduced during the mergeTim Angus
+ Re-add error case when parsing damage scripts + Reinstate G_CountSpawns + Add missing call to PM_StartTorsoAnim + staticise G_IsCreepHere
2013-01-03* bring back camper creditsRoman Tetelman
- they are now awarded regardless of deaths - use a cvar (g_freeKillPeriod) instead of a #define as the interval
2013-01-03* Restructure G_WideTrace a bitTim Angus
* Fix a load of 1.f style floats to 1.0f
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* Remove some redundant code introduced at some point during the mergeTim Angus
2013-01-03* score from buildable killes *= 2Christopher Schwarz
* score /= 5
2013-01-03* Scoreboard revamp as per issue 31Christopher Schwarz
- Builder credits are still to-do, but we decided to see how the rest of the numbers work before adding that into the mix
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-03Smooth regenerationBen Millwood
A regen rate of 4 hp/s now means you regenerate one health point every quarter of a second (fixes #28)
2013-01-03* Oops, forgot to fix the indenting on the previous commitChristopher Schwarz
2013-01-03* (bug 2980) Add g_dretchPunt setting to punt dretches out of the way of ↵Christopher Schwarz
teammates when attacked by them (tjw)
2013-01-03* s/MOD_UNKNOWN/MOD_DECONSTRUCT/Roman Tetelman
* remove unused constant
2013-01-03* (bug 2965) Strip colour codes from log messages (Ben Millwood)M. Kristall
* (bug 3596) Buying a battlesuit allows player to pass through some map geometry (/dev/humancontroller) * (bug 3679) Remove redundant stage trigger checks (Chris "Lakitu7" Schwartz) * (bug 3761) selling all upgrades removes energy ammo (/dev/humancontroller) * Remove some duplicate code * !showbans did not properly show all valid bans when some bans had expired * Log renames between ClientConnect and ClientBegin
2013-01-03* players dying to structures no longer give full credit towards stagesRoman Tetelman
* credit for damage done is reset when a player/structure heals to full
2013-01-03* (bug 3658) flashing battlesuit in dying animationM. Kristall
* (bug 3685) Second barricade pain animation never gets played * (bug 3690) Suicides aren't cancelled when leaving/switching teams * (bug 3700) weird effects when following a dying player
2013-01-03* (bug 3631) Macro safety for MIN() and MAX() (Ben Millwood)M. Kristall
* (bug 3645) Lag correction field in server info menus is always empty (Ben Millwood) * (bug 3653) stack corruption in G_SendGameStat() (/dev/humancontroller) * (bug 3662) Players who fall of the edge of the world can block the spawn queue (/dev/humancontroller) * Remove unused argument to G_ClientNumberFromString() * Remove unused variables in G_admin_setlevel() * Remove a number of superfluous va()s * Shut up erroneous warnings about uninitialized variables
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* cg_printDuplicate changed to cg_noPrintDuplicate (i.e.now defaults to 1.1 ↵Ben Millwood
behaviour) * only award partial credits for incomplete buildables
2013-01-03Credit based stagesBen Millwood
2013-01-03* Removal of now-redundant Makefile stuffBen Millwood
* Loads of whitespace fiddling to make the code closer to tremulous SVN * HUMAN_BVALUE_MODIFIER includes ALIEN_CREDITS_PER_FRAG