summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-01-03Some more work on the Mass Driver:Michael Levin
* Fixed a bug in SnapVectorTowards which would snap incorrectly if the point was below the world origin. Also added an analogous function to work with normals (SnapVectorNormal). * Added weapon.cfg to source control to set alwaysImpact (to show flash along with blood spurt when hitting a player). * The maximum number of hits allowed moved to tremulous.h, set MDRIVER_MAX_HITS. * Since a the visual effects changed, removed old massDriverFire() function and toggle switch.
2013-01-03* I'm sick of entering \give 9999 every time I need to test something. ↵Michael Levin
Whenever cheats are enabled, players spawn with half-full credits. * Reactor used to deal more damage to each Alien when multiple Aliens attacked it, fixed to ONE radius damage call. Extensive visual modifications to Mass Driver: * Added a short, briefly-displayed pseudo-trail * Impact system modified to have a large impact sprite and otherwise be more consistent with Lasgun * Added several files for the trail and shader * Firing code modified to generate visually correct trails and impact positions * Added a new event for Mass Driver trails, doubles as impact event to save bandwidth The Mass Driver trail extends from the gun rather than the muzzle to be more visually realistic. Shooting it from the muzzle prevents you from even seeing the trail and in 3rd person looks very wrong. The downside to the shifted origin is that the impact positions (multiple hits only) are not aligned with the beam. Had to add a good bit of complicated, mathy code to generate impact events in visually accurate locations. Looks damn good though.
2013-01-03Point damage modifiers were not being detected correctly because hit angles ↵Michael Levin
were not normalized. Should fix Battlesuit/Helmet insta-kill bugs.
2013-01-03Team say prompt now says "Say to team:".Michael Levin
2013-01-03prfile splash *actually* removed nowAsa Kravets
2013-01-03ACIDTUBE_REPEAT is now the actual repeat rate for Acid tube fire.Michael Levin
Removed the redundant AAcidTube_Damage pseudo-think function.
2013-01-03* Acid tube animation fixed (used to include part of dying animation!)Michael Levin
* Acid tube splash damage (from exploding) separated from attack damage, new variable added to tremulous.h to control that and the animation * Class X not allowed at stage # fixed to show the right stage number * Whether or not the mass driver will shoot through objects can be toggled from tremulous.h, don't forget to save g_weapons.c or 'make clean' to get the change compiled!
2013-01-03advanced granger falling damageAsa Kravets
prfile splash dropped prifle projectile speed increased to 1200 chaingun spread reduced to 900 advanced basilisk grab time reduced to 300
2013-01-03* Menus_CloseAll() now takes one argument -- force. This argument determines ↵Michael Levin
whether to close all menus or ignore menus that don't respond to CloseAll (via the new dontCloseAll MENU_TRUE attribute). * ui_messagemode2222 and the like won't activate the teamsay menu * Say menu will no longer close when the player dies
2013-01-03* Lowered dretch zoffset a bit to better fit inside bounding box, increased ↵Michael Levin
shadow a bit to better fit the larger modelscale we are using * Fulfilled benmachine's lolrequest: mass driver will not fire through players and buildables (but not teammates and team buildables if FF is off)
2013-01-03*(bug 3280) Changed the default behaviour of !listplayers. The fieldsTony J. White
representing guid stub, admin level and A.K.A. are now omitted unless the player running !listplayers has the new $ flag set. To restore the old behaviour, set the $ flag on all your existing [level] definitions in admin.dat. (Lakitu7)
2013-01-03* MAX()/MIN() macros need to be wrapped in parenthesis to work as Michael Levin
expected! * Armour and local damage processing merged * Armour and local damage scripts now accept a "name" parameter for debug output * Norfenstein's non-locational damage formula now perfectly implemented -- there are restrictions! There can only be ONE layer of armour and all locational damage region files must cover the entire body and cannot overlap! * Turning on g_debugDamage to 2 or 3 provides additional information on how the damage modifier was calculated
2013-01-03* Damage regions are no longer included in non-locational damage Michael Levin
calculations * Light armour angles reverted to 100/80/100/80 * Norfenstein's balance changes for Dretch HP which got lost before somehow
2013-01-03Fix for Ben Millwood
2013-01-03* Dodge no longer drains stamina while flying with a jetpackMichael Levin
* Stamina will replenish when moving whith jetpack on * Damage region calculation code rewrite to be correct and compact * Added damage test function (cheats only), \damage [damage] * Norfenstein's balance tweaks: Dretch HP 25 -> 20, Basilisk grab time reduced
2013-01-03Added armour files to version control.Michael Levin
2013-01-03* Merge ioq3-r1233Tim Angus
2013-01-03* Merge ioq3-r1233Tim Angus
2007-12-01* (bug 3451) Widen name column in scoreboard (thebenmachine)Tim Angus
* (bug 3452) Cancel suicides when entering hovel (thebenmachine)
2007-11-28* Don't test for spawn removal when building if there are no spawnsTim Angus
(benmachine) * Don't test for spawn removal when cheats are enabled (benmachine)
2007-11-28* Merge ioq3-r1220Tim Angus
2007-11-28* Pass UI module through astyle nad some other filtersTim Angus
2007-11-27* Remove lots of Q3/Team Arena related code from the UI moduleTim Angus
* (bug 3424) Add "noscrollbar" listbox widget property
2007-11-14* (bug 3417) Fix getting stuck while evolving in some situationsTim Angus
(thebenmachine@googlemail.com)
2007-11-08* Merge and move text paint functions into ui_shared.cTim Angus
* Add aspectBias to indicate alignment on non-4:3 video modes * Add "reset <item>" script command to reset an item * Compensate for aspect ratio in lots and lots and lots of places * Release edit field focus when tabbing away * Fix infinite loop bug in text wrapping code when rect is very narrow * Mung .menu scripts to line things up correctly on non-4:3 ratios
2007-11-03* Merge ioq3-r1204Tim Angus
2007-11-02* rename the remaining variables i missed in r1029M. Kristall
2007-11-02* s/ui_loading/ui_hideCursor/Tim Angus
* Hide cursor when using edit fields and binding keys * Remove client side chat handling, moving it to UI module * Remove target and last attacker message modes * Add ui_developer cvar * Fix edit field bug where cvar changes under it * Add onTextEntry UI script event * Give the user some feedback when binding keys * Stop doing a UI refresh when primed (and remove cgame ui_loading sets) * Move cg_drawSnapshot to bottom of the screen
2007-11-02* prevent kick votes from targetting the wrong person in some casesM. Kristall
2007-10-30* (bug 3384) Remove server side armoury refresh and replace with UI sideTim Angus
refresh * Add trap_Key_SetOverstrikeMode and trap_Key_GetOverstrikeMode to cgame * Change Text_[Width|Height] to return floats * Add Text_Em[Width|Height] * Add CG_AlignText to cut down on code duplication * Add itemDef_t::textvalignment for vertical text alignment * Add UI_DrawTextBlock to replace a lot of duplicate code * Rewrite text wrapping code from scratch so that it actually works * Add UI_OwnerDrawText * Add expression evaluator to .menu parser * Split off Border_Paint from Window_Paint * Scale slider items to fit their rect * Rework edit field widgets to behave somewhat more correctly * Fix a few listbox widget layout issues * Don't display scrollbars in "notselectable" listbox widgets * Make scoreboard team labels ownerdrawn * Menu script rework + Use the expression evaluator to replace lots and lots of absolute coords with relative ones, hopefully easing future maintenance + Remove lots and lots of textalign[xy] that were present to work around broken text alignment routines + Replace a bunch of numeric constants with ones from menudef.h + Compose the huds from tremulous_common_hud.h + Generally neaten things up + Lots of whitespace fixes
2007-10-25* Fix a couple of Q3isms accidentally introduced during a mergeTim Angus
2007-10-04* Revert fix to bug 3282 since it's no longer necessaryTim Angus
2007-10-03* (bug 3373) Missing colour sanitisation on attackerName (Josh ↵Tim Angus
<jkeyes05@gmail.com>)
2007-10-02* Merge of ioq3-r1189Tim Angus
+ Fix bug that prevented key up events getting to cgame/ui when not in game + Use Key_[GS]etCatcher everywhere to set keycatcher + Clear all key states when the catcher changes * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
2007-10-01* Fix to bug where crouching and moving wouldn't replenish staminaTim Angus
* s/MASK_PLAYERSOLID & ~CONTENTS_BODY/MASK_DEADSOLID/ * When finding a player in the server browser, only list each server once
2007-09-30* (bug 3002) Fix to alien weapon traces that miss due to world collisionTim Angus
2007-09-28* Remove infopanes stuff, and just store the strings staticallyTim Angus
* (bug 3079) Display the number of kills required in the class information pane
2007-09-27* (bug 3249) Improve repeater interaction with marked deconstructionTim Angus
* (bug 3321) Allow medkits and medistats to operate simultaneously * (bug 3310) Fix odd CalcMuzzlePoint implementation * Random refactoring of g_buildable.c * Add BG_GetClientNormal
2007-09-26* (bug 3305) Remove inappropriate SnapVectorTim Angus
* Don't display creep over a certain height
2007-09-26* Allow unique buildables to be replaced by non-unique buildablesTim Angus
* Explicitly disallow the overmind/reactor to be replaced by other buildables * Some whitespace fixes
2007-09-25* Fix a few warnings introduced by the previous revisionTim Angus
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-25* Remove more powerups stuffTim Angus
2007-09-25* Replace "powerups" state data with "misc"Tim Angus
* Remove ps->ammo[ ] and replace with ps->ammo and ps->clips; this means only one ammo using weapon may be carried at once, but this is the case anyway * No need for BG_(Un)PackAmmoArray anymore, so remove them
2007-09-25* match players that are not completely connectedM. Kristall
2007-09-25* (bug 3307) use boundary checking to prevent potential buffer overflowM. Kristall
* (bug 2969) limit number of players to g_maxGameClients * use G_TeamCommand() for team vote messages
2007-09-24* Highlight marked buildables that will be removed by building a newTim Angus
buildable
2007-09-24* Add missing )Tim Angus
2007-09-23* Revert 898 and 899 (marked buildable replacement) and rewriteTim Angus
2007-09-23* (bug 2756) s/damage/dmg/Tim Angus
* (bug 2717) Move respawning for ClientThink to ClientEndFrame * Remove redundant cvar g_forcerespawn