summaryrefslogtreecommitdiff
path: root/src/game/g_utils.c
AgeCommit message (Collapse)Author
2013-01-03* (bug 3781) Improve randomness in some cases (Lakitu7 made me do it)M. Kristall
2013-01-03Fix incorrect test that caused some IPv6 addresses to not be recognised as suchM. Kristall
2013-01-03* Refactor G_ClosestEnt to avoid (spurious) unused variable warningBen Millwood
2013-01-03* Stop bad array indices in spawn point selection, by removing the arrays ↵Ben Millwood
entirely * Merge duplicated code in G_Select{Alien,Human}SpawnPoint into a single G_SelectSpawnBuildable function * Don't initialise some distance variables unnecessarily
2013-01-03* Require IPv4 addresses to contain at least one . (use 192./8 instead of 192/8)M. Kristall
2013-01-03* Fix teleporters so that they once again telefrag players (broken by r2020)John Ellis
2013-01-03* (bug 3291) Add /buildlog and /revert commands to combat grief building ↵Christopher Schwarz
(Undeference, Rezyn, and originally Benmachine)
2013-01-03* Prevent reparsing IP addresses for subnet bansM. Kristall
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Update copyright noticesTim Angus
2013-01-03* ...And prevent a NULL dereferenceM. Kristall
2013-01-03* (bug 3194) potential log ambiguities (requires log parser updates)M. Kristall
* Fix broken r1753 * Some minor refactoring / cleanup
2013-01-03* Fix bans by IP address without a netmask (thanks Rezyn0)M. Kristall
2013-01-03* (bug 4071) subnet bansM. Kristall
Allow banning and namelog searching by IP address in CIDR notation Banning a range of addresses will immediately kick all players in that range Admins with IMMUNITY flag can connect even if their IP address is banned admin.dat files relying on substring matching will have to be updated
2013-01-03* s/G_TriggerMenu2/G_TriggerMenuArgs/Tim Angus
* s/ALIEN_CREDITS_PER_FRAG/ALIEN_CREDITS_PER_KILL/
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* (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* 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* Gave Painsaw a crappy looking crosshairMichael Levin
* Change turret behavior again to make them even dumber (will not stay "spun up" anymore or retarget without spinning up again) * DCC will not complain about an attack when something is deconstructed * Fixed "\sell upgrades" command emptying energy weapons when a battery pack was sold with it * Spectators moving to lock view points now set teleport bit, hopefully prevents the ugly lerping Hive changes: * Will not fire unless the missile can actually hit * Will fire from the hive tip rather than the center * Fixed broken code that made hive fire when shot from out of hive range
2013-01-03* Reworked the dialog code a bit, removed some redundanciesMichael Levin
* Commented out the CMD_* dialog long messages -- probably never accessed from the GUI! * Converted some more prints into MN_* messages * Introduced a two-argument 'servermenu' to pass arguments to CG_Menu() -- menus can refer to classes etc now * Converted UI 'Disable Warning Dialogs' to a multi-item ('no', 'print to console', 'yes') * Removed some unused dialogs
2007-09-21* Remove lots and lots of redundant commentsTim Angus
2007-07-16* (bug 3047) send team commands to spectating admins who can see team chatM. Kristall
* remove some more redundant checks and fix some command flags * fix a number of spelling misteaks in messages * show denybuild indicator in !listplayers
2006-12-04* (bug 2934) stop inventing integer types tjw. no longer try to correctTony J. White
a bad eventParm, but DO print a _useful_ warning.
2006-12-04* (bug 2934) cap health sent as eventParm at 255 to prevent too many tyrantTony J. White
pain sounds from int8_t overflow/underrun ( Risujin ) * (bug 2934) prevent int8_t overflow/underrun on eventParm in G_AddEvent and print WARNING when this occurs.
2006-05-16* Removal of bot codeTim Angus
* Refactored botlib parsing code into qcommon
2006-04-09* Removed CS_SCORE? config strings -- they were unusedTim Angus
* Moved server command queuing from game to server -- sv_dequeuePeriod probably needs to be lowered * Added g_friendlyBuildableFire to enable friendly buildable fire
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-11-24* 3D particlesTim Angus
* Brass ejections now done via particle system * static_tranform particle move type * thirdPersonOnly particle and trail system property * Trail jitter now done in two dimensions
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-09-04* Fixed Medkit usable after death bugTim Angus
* Fixed "Server command overflow" bug for clients that should time out * Removed some debug logging code * Fixed a bug where only live clients would have their scores logged at the end of the game
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
2004-03-18* Added trigger_stage entity which is fired on stage transitionsTim Angus
* Alien evolution is no longer allowed within range of humans * Reduced human damage boost from 10% to 7% * Reduced reactor base health to 1250
2003-10-12* Added misc_particle_system entityTim Angus
* Fixed depth sorting to sort in the correct direction * Particle system PVS garbage collection improved * cent validity is now computed before adding cents to scene
2003-09-01* Menus are now automatically closed upon deathTim Angus
2003-08-30* Integrated the overmind soundsTim Angus
* Sounds for repairing stuff * Fixed a buildable animation bug * Added G_BroadcastEvent
2003-03-23* Serverside menu triggering now uses server commands for increased reliabilityTim Angus
* Finished code support for new armoury menu
2002-09-09* General tidy up and beautification of codeTim Angus
* Removal of most of the legacy Q3A stuff * Cursor no longer displayed on load screen * (Biggest commit EVAR?)
2002-09-03* Large purge of legacy Q3A codeTim Angus
* Removed Q3A team system * Removed "gametype" stuff * Removed items * Refactored buildable physics * Other general cleanups
2001-10-19License change to OSMLTim Angus
2001-10-10Buildable BBOX handling. Creep tests no longer happen at build time.Tim Angus
2001-09-06Random assorted stuffTim Angus
2001-08-15Added spriter - simple particle engine for mappersTim Angus
2001-08-031.29h upgrade.. oooo particles heheheheheheTim Angus
2001-02-15Infesting getting fairly polished. Usual random bugfixes.Tim Angus
2001-01-07license changeTim Angus
2001-01-031.27 upgradeTim Angus
2001-01-03im making a right mess of thisTim Angus