summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
AgeCommit message (Collapse)Author
2013-01-03* Trivial fix to r1854 (Rezyn)Christopher Schwarz
2013-01-03* (bug 3627) Defense buildables no longer favor those with lower client ↵Christopher Schwarz
numbers when choosing a target (thanks benmachine)
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* Prevent buying energy ammo from a repeater while the reactor is dead ↵Christopher Schwarz
(thanks Hibby) * Prevent building a repeater while the reactor is dead but not exploded yet (thanks Byron Johnson)
2013-01-03* More consistency in build/decon message colorcodesChristopher Schwarz
2013-01-03* Guard against buildable health going negativeTim Angus
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* (bug 4301) Clear decon markers when entering sudden death (Rezyn)Christopher Schwarz
* Fix ability to call sudden death votes when regular entry to sudden death is disabled * Add sudden_death to the printed list of valid vote types * Fix AdvGranger abilities appearing in tutorial text for regular Granger
2013-01-03* Massive refactor of voting codeM. Kristall
* Remove cvar g_suddenDeath since it is no longer needed * "Sudden Death in 0 seconds!" should no longer display on map start when sudden death is disabled
2013-01-03* Fix ability to build over a marked buildable that doesn't provide power ↵Christopher Schwarz
(Rezyn)
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* 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* Move the human spawn functions around to avoid requiring forward declarationsTim Angus
2013-01-03* Remove big blob of commented code in G_GetBuildPointsTim Angus
2013-01-03* Rename some types and variables related to building point zones to be moreTim Angus
descriptive
2013-01-03display unpowered icon for telenodes (fixes #something)Ben Millwood
2013-01-03get rid of the rest of the basiturretgrab codeBen Millwood
2013-01-03Removed basilisk turret grabbingAsa Kravets
2013-01-03Don't queue from reactor pool when power source can't be foundRoman Tetelman
2013-01-03Fix the turret bug for teslas tooBen Millwood
2013-01-03* fix turrets from firing sv_fps times per second (thanks rezyn)Roman Tetelman
2013-01-03* add comment to previous commitRoman Tetelman
2013-01-03Buildables will suicide after 90 seconds without a source of powerRoman Tetelman
2013-01-03* Don't fire incomplete hivesBen Millwood
2013-01-03Make next queue time calculation more consistentBen Millwood
2013-01-03Merge most of the CalculateBuildPoints loopsBen Millwood
It may be possible to do this further but as it is I've simplified and efficientised the code a good deal. Also some tiny irrelevant cleanups
2013-01-03Simplify some power handling codeBen Millwood
* Remove reactorNode, overmindNode, G_FindReactor, and G_FindOvermind * Replace level.(overmind|reactor)Present with G_Reactor and G_Overmind
2013-01-03Hive pain/death code cleaned upBen Millwood
* pain animation still used even without overmind * remove AHive_Die since it was broken and AHive_Pain attacks anyway - if a hive is killed in a single hit it will not react * alien buildables that die have self->powered set qfalse
2013-01-03* Fix death detection on medistation heal (bug 3981)Ben Millwood
2013-01-03* Increase repeater cost from 2 to 4Ben Millwood
* Repeaters will no longer suicide * If a buildable doesn't belong to a zone, deconstruct will immediately deconstruct * A power source can no longer be replaced by one of its dependants * Dead repeaters will queue from the reactor
2013-01-03* fix misleading commentRoman Tetelman
2013-01-03Remove repeater overlap prevention codeBen Millwood
2013-01-03add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlapBen Millwood
2013-01-03show the BP of the main / reactor zone by defaultBen Millwood
2013-01-03* Repeaters cost 2 BP that take away from the main (reactor's) pool.Ben Millwood
* By default, repeater BP queue return is instant * Repeaters can be built at stage 1 * Increase the alien build point and build queue time defaults by 50%
2013-01-03Display 0 BP during SDBen Millwood
2013-01-03Don't unpower more than the BP a power source can supply correctlyBen Millwood
2013-01-03The reactor can only power as much BP as it can hold, and marked unpowered ↵Ben Millwood
buildables don't give free BP
2013-01-03Fixes to alien BP counting and markdeconBen Millwood
2013-01-03Queue BP when incomplete buildables are destroyedBen Millwood
2013-01-03Fix some bugs with Zone BPBen Millwood
* Repeaters can no longer be placed inside of another power zone * Temporarily use the nearest source of power instead of * combinations until shared power sources is correctly supported
2013-01-03Zone BP updates, and a minor bug fixBen Millwood
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
2013-01-03Queue buildpoints in main zone and unpowered buildablesBen Millwood
2013-01-03Minor cleanups to zone bpBen Millwood
* Move power zones into level_locals_t * Dynamically allocate the array, removing MAX_ZONES restriction
2013-01-03Zone BPBen Millwood
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* Fix mem leak in G_LayoutLoad() (thanks Byron Johnson)Christopher Schwarz
2013-01-03* Fix the order of the arguments to APropHovel_Blocked so that it's not ↵Christopher Schwarz
completely broken. Mysterious successes and failures of allowed hovel placement should no longer occur. * Prevent hovels allowing grangers to get outside the map, once again (thanks Rezyn)
2013-01-03* Fix for building spawns over marked buildables (fixes #14)Roman Tetelman
* Ignore marked buildables that the spawn will replace when checking for anything that will block it.