summaryrefslogtreecommitdiff
path: root/src/game/bg_misc.c
AgeCommit message (Collapse)Author
2013-01-03* Simplify some weapon-related code (re r1431)M. Kristall
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* (bug 5092) Improve ckit repair targeting direction (/dev/humancontroller/)Christopher Schwarz
2013-01-03* Add some buffer safety for BG_ParseCSV*List() functions (/dev/humancontroller)Christopher Schwarz
2013-01-03* Remove hovelM. Kristall
* Require buildable names instead of buildnums in layouts
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03Gameplay changesAsa Kravets
* Marauder (both) air acceleration increased 2.0 -> 3.0 * Flamer damage reduced 25/12 -> 20/10 * Flamer ammo increased 150 -> 200 * Dragoon base pounce range increased 40 -> 48
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Use binary searching instead of linear searching for many static arraysM. Kristall
2013-01-03Balance tweaksAsa Kravets
* increased goon repeat 700 -> 900 * increased advanced goon repeat 600 -> 800 * increased goon (both) pounce charge time 700 -> 900 * increased tyrant repeat 750 -> 800 * decreased hive health 175 -> 125 * swapped prices of flamer and prifle
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03Fix BG_PlayerCanChangeWeaponBen Millwood
2013-01-03Granger FOV increased to advanced's value 80 -> 110Roman 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* fix #58, huge thanks to bob, wireddd, and khalsa for helping track down ↵Roman Tetelman
and fix this
2013-01-03* ckit no longer has a "don't repair" button (fixes #18)Roman Tetelman
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-03* Replace BG_(Un)PackZapTargets with more generic and less muddled ↵Tim Angus
BG_(Un)PackEntityNumbers
2013-01-03* s/G_TriggerMenu2/G_TriggerMenuArgs/Tim Angus
* s/ALIEN_CREDITS_PER_FRAG/ALIEN_CREDITS_PER_KILL/
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* make zap damage instantRoman Tetelman
2013-01-03* make zap display targets beyond 3 and general zap cleanupRoman Tetelman
* Remove version determining code from makefile since it has to walk 300 revisions every compile and produces incorrect results anyway
2013-01-03Improvements, fixes, and cleanups to smooth regenBen Millwood
* Store player class regeneration rates as floats * Only calculate regen modifier once if replenishing multiple health points simultaneously
2013-01-03* Give mass driver a small width (5u for now)Roman Tetelman
* Fix event names in bg_misc.c (was making debugging difficult)
2013-01-03* redo hovel removal in a way that doesn't break log parsers (reported by msk)Roman Tetelman
2013-01-03* fix for not being able to sell ckit while repairing (fixes #21)Roman Tetelman
2013-01-03* remove hovel (fixes #26) (todo: go back and actually remove the code)Roman Tetelman
2013-01-03* Remove another pointless va()M. Kristall
* g_adminNameProtect is now properly disabled when 0 * Do not remove admins with negative levels (if any such levels exist) * Fix admin level name alignment in !listplayers and !listadmins * Fix some !showbans regressions + !showbans -1 was showing the last two bans + !showbans -1 was not working with only 1 ban * Fix a ptr error message
2013-01-03* Remove SS_INFESTING and PM_SPINTERMISSION since they were not usedBen Millwood
* Merge SS_WALLCLIMBINGCEILING and EF_WALLCLIMBCEILING * Remove ui_emoticons, using the value of cg_emoticons for both contexts. * Add PM_Paralyzed() to get rid of all the silly >= PM_DEAD comparisons * Don't allow players to taunt while dead * Fix full ammo check in reload (oops) * Fiddle with bg_lib.h _MAX/_MIN defines, fix min(), add [u]intX_t typedefs * Remove non-functional cgame command (thanks Amanieu for spotting)
2013-01-03 * missing eventnames and extra DEBUGNAME thingsBen Millwood
2013-01-03 * Add BG_EventName and use it to simplify a series of debugging messagesBen Millwood
* Correct crouch check in ClientTimerActions * Ensure animation togglebit on buildables is only used once per frame (bug 3377) * Make G_FloodLimited more robust and with a pointlessly informative return value * Add a brief comment to the G_SayArg* functions to explain their purpose, which wasn't at all clear to me until I experimented with them * Remove more redundant va()s * Remove an unused variable and associated functions that were causing a compiler warning
2013-01-03* Handle some broken admin.dat files the same as beforeM. Kristall
* Make G_TeamName BG_TeamName and use it in cgame for team change messages * Don't use an event for team change notification since clients already know
2013-01-03* Added improved team join messages (original patch thanks to peoro)Christopher Schwarz
* Uses a proper events-system message interpreted by cgame * Includes notification of leaving teams instead of just joining them * These messages are also now logged to games.log and the server console * Minor cleanups of cmd_team_f * /team human*, /team alien*, and /team spec* now join those teams, since those are specific enough and people seemed to have a difficult time figuring out /team spectate
2013-01-03 * Merge STAT_WEAPONS[2] into STAT_WEAPON and dispose of unnecessary STAT_SLOTSBen Millwood
* Testing patch to fix ready mask
2013-01-03* (bug 3742) BG_ParseCSVBuildableList uses wrong parse functionTim Angus
(foruses@gmail.com)
2013-01-03* add variable width to emoticons support. In addition to being aTony J. White
.tga in the /emoticons/ dir of fs_game, emoticon file names need to end with "_{WIDTH}x1.tga". For example, /emoticons/dretch_1x1.tga (square) or /emoticons/rifle_2x1.tga (double-wide)
2013-01-03* UI_Text_* emoticon drawing support (e.g. [dretch] draws Tony J. White
/emoticons/dretch.tga inline with text) * emoticons are square .tga images placed in the /emoticons dir of fs_game * emoticons should probably be 64x64 to look nice * g_emoticonsAllowedInNames (default ON) is an optional server setting to prevent players from using them in names * emoticons can be escaped by prefixing with an additional [ * cvars ui_emoticons and cg_emoticons can be set to 0 to disable drawing of emoticons in ui or cgame contexts respectively * fix color code continuation on wrapped lines * prefix all wrapped lines with a space to prevent chat shenanigans
2013-01-03* (bug 3595) /sell upgrades doesn't change player model for battlesuitM. Kristall
(Ben Millwood) * (bug 3599) adminLevel can be wrong * Reorder *Attributes_t arrays to match corresponding enums * Simplify BG_Buildable, BG_Class, BG_Weapon, and BG_Upgrade * Remove a couple unnecessary config string hacks * !unmute was saying !mute in some messages
2013-01-03* add a new function BG_PrimaryWeapon() that returns the "primary"Tony J. White
weapon in a player's inventory * when changing classes by buying/selling bsuit, keep pers.classSelection in sync
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* Merge ioq3-r1272Tim Angus
2013-01-03* First person weapon animationTim Angus
2013-01-03TweaksAsa Kravets
* Marauder (both) jump height reduced 400->380 * Barb repeat rate increased 1000->1500
2013-01-03Put MN_H_NOENERGYAMMOHERE back.Michael Levin
2013-01-03* Lucifer Cannon projectile and bounding box shrunk a little to fit muzzle ↵Michael Levin
box restrictions * Buying a weapon with a number greater than 15 while having a Construction Kit will not give you zero ammo * Human viewheight shrunk to prevent flamer and new Lucifer Cannon shots from exploding inside the ceiling because on account of the muzzle box -- better aligned with the model now too. This should prevent the flamer from burning people in vents. * Some BG functions made more efficient; BG_GetPlayerWeapon should be used to get a Human's weapon because it may be switching * Adv. Dragoon barbs regenerate 10 seconds after being shot, not at regular intervals * Build weapons should no longer need to be in a block in bg_public.h * Tremulous doesn't use multiple weapons but the G_GiveClientMaxAmmo function will properly restore regular ammunition when a energy weapon is selected * MN_H_NOENERGYAMMOHERE obsolete; Changed some text to acknowledge that energy ammo is now available at armoury * Particles can set 'physicsRadius #' to use a fixed bounding box for collisions * Various HUD elements will immediately update to the new weapon when switching weapons Flamer changes: * Bounding box shrunk slightly * Client-side particles now used a static bounding box that matches the server projectile
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