Commit Graph

560 Commits

Author SHA1 Message Date
filux
a19abc5591 chat supports longer messages 2015-02-06 01:02:34 +01:00
titiger
cd7c367827 units which hide behind buildings can be selected again
Thats for color picking. I clear depth buffer after rendering buildings.
2015-01-12 00:23:08 +01:00
titiger
fdc71786b2 fixed highlight rendering on minimap 2015-01-11 21:46:37 +01:00
titiger
bceb4286f8 render only resources of selected faction
When playing with shared team units but not with shared resources, only  
the resources of the selected faction is shown now. With shared resources all
resources of the team are shown like before.

Rendering ressources with two lines stays like before showing all resources  in
team mode!
2015-01-10 22:49:31 +01:00
titiger
73063ac494 In GUI only render one resource set in team mode
This behaviour can be switched using the "TwoLineTeamResourceRendering"
in glest.ini ( or glestuser.ini ).

Reasons for the change:
- For team playing only one resource set really matters in the GUI.
- Two lines break many HUDs too. 
- The gui itself is too crowded with two sets of resources.


Triangle in teamcolor  is always shown now in front of resources.
2015-01-10 04:03:58 +01:00
titiger
fa3a4439dc return had value in function void 2015-01-10 00:51:19 +01:00
titiger
ab02478096 enabled depth_test for colorpicking
To do it many changes were needed, because mouse position on map was 
calculated using the depth buffer with current rendering state
2015-01-04 14:38:32 +01:00
titiger
4e0c96adae no need to render dead units when selecting 2015-01-03 22:24:21 +01:00
SoftCoder
f97f0ef852 - more general bugfixes (not all upgrade values were being used in the code) 2014-12-21 21:07:24 -08:00
SoftCoder
461b16be8e - attempt to fix attack boosts to properly apply and de-apply when upgrades are present 2014-12-20 14:25:42 -08:00
titiger
a9cac6a3c1 render messagebox in a way that allows more text.
And default message box height is raised a bit to avoid trouble with 
long messages in scenarios.
2014-12-18 01:04:37 +01:00
titiger
47c181d2ab different rendering of resources in teammode 2014-12-18 00:32:44 +01:00
titiger
2c15c89571 render server lines with background to make them more readable. 2014-12-15 01:07:25 +01:00
titiger
956671f018 bugfix: new attributes must not exist in older savegames 2014-11-29 19:25:33 +01:00
SoftCoder
126ed18589 - bugfix selection circle and healthbar rendering 2014-11-28 20:49:04 -08:00
SoftCoder
e27c44bb8f - bugfix of selection circle and healthbar ratio value 2014-11-28 20:45:07 -08:00
SoftCoder
ceca2fc5aa - more fixes from cppcheck 2014-11-28 18:19:40 -08:00
SoftCoder
65a3ce6e86 - fix loading of deferred system particles 2014-11-27 15:28:49 -08:00
titiger
99e315b1cb healthbars: EP was not properly handled 2014-11-27 01:17:32 +01:00
titiger
54905c0e5c rename getCurrVector() to getCurrMidHeightVector() 2014-11-25 23:40:47 +01:00
titiger
eae90a2198 fix for effects debug rendering
units with size>1  showed a too big effect range circle
2014-11-24 22:14:09 +01:00
titiger
88de5a7050 Upgrades must be taken into account for healthbars too 2014-11-24 01:39:29 +01:00
titiger
30506edebd fixed some more problems with console messages 2014-11-24 01:10:10 +01:00
titison
345c88d320 Work on Healthbars
production bars;
options;
many more...;
2014-11-22 23:15:19 +01:00
SoftCoder
3b3132ccce - unit particles now support minHp / mapHp tags 2014-11-18 21:38:46 -08:00
titiger
26db981702 Merge pull request #27 from titison/feature/hp-bars
Feature/hp bars
2014-11-07 01:33:30 +01:00
titison
2f60d179e9 Healthbars
* Hotkey now toggles between Default/Off/Always/Damaged/Selected
* Code clean up
2014-11-06 21:12:47 +01:00
titison
791e1edec6 Healthbars
Textures (border and background)
Faction.xml can specify more healthbars details
2014-11-05 02:05:47 +01:00
titison
d1597334bf *Adjusted Healthbar color
*Hotkey for Healthbars (ToggleHealthbars)
*Background and Border Texture in core data
2014-11-02 18:18:20 +01:00
titiger
534c94ec98 fix for duplicated console messages in connected game menu 2014-10-31 02:34:59 +01:00
titiger
dbddadc74b Fix to see normal consoleMessages in many menus again
(+ consolemessages to show that the headless server did 
not had the selected map )
2014-10-31 01:08:12 +01:00
titison
fe936f5c8c Adjusting healthbar related things
*unit height=healthbar height per default
*no hpbars in photomode
*renamed function
2014-10-30 00:55:18 +01:00
titison
08806c5416 *Finised Hp Bars
*Added general settings in faction.xml
2014-10-29 22:23:46 +01:00
titison
de5135bfaf *added split(s,d) function for strings
*reading unit xml healthbar node
*adjusted hpbars
2014-10-29 00:50:45 +01:00
titison
a2790bd9cb Make them actually usable.
added ep bars.
Of course its not finished yet
2014-10-27 16:16:50 +01:00
titison
20a8011a46 first hp-bars 2014-10-26 21:34:14 +01:00
titison
38ca1fd3f9 Unit and Splash particles can be speeded up.
You can set a constant value and a relative value.
2014-07-26 13:56:29 +02:00
titiger
b72f4857d7 multi projectiles with different timings and particle systems 2014-07-18 01:04:36 +02:00
titiger
341c7ce46f Shake without effecting the real camera pos
The camera shake effect does not manipulate the real camera pos anymore, 
just the Opengl campos is effected by it. By this all camera pos related caches 
don't need to refresh just beause the camera shakes.
2014-02-04 21:14:52 +01:00
SoftCoder
b4807ed169 - in team mode always render two set of resources:
- First set of resources is the team of selected units
  - SEcond set of resources is the team total
2014-01-29 22:47:55 -08:00
SoftCoder
ce375073c1 - show team color asterisk in front of resources when displaying resources for an individual team member 2014-01-29 21:13:39 -08:00
SoftCoder
39696b6a65 - added ability to share resources across same teams 2014-01-27 18:55:08 -08:00
titiger
ba1d03118e unit particles can be bound to first vertice of meshes ( <meshName value="part1.001" /> ) 2014-01-04 18:40:00 +01:00
titiger
329805ac30 Merge branch 'master' of github.com:MegaGlest/megaglest-source 2013-12-30 16:20:03 +01:00
titiger
11eeed59a1 new attribute "render-size" in unit-type 2013-12-30 16:19:08 +01:00
SoftCoder
62821793c0 - moved core game data asset loading into lazy load methods to try to improve the startup speed of megaglest. 2013-12-27 22:00:29 -08:00
SoftCoder
3111b733e2 - bugfix for chrono class calcs causing group camera recall to fail (And numerous other problems)
- added better tracking of mutexes by assigning them location info
2013-12-24 22:27:44 -08:00
SoftCoder
bcaad53fbe - cleanup some msvc++ compiler warnings 2013-12-22 23:15:31 -08:00
SoftCoder
3a24531ba7 - more code cleanup based on cppcheck results and valgrind
- added -h option to build-mg.sh to show parameter usage.
2013-12-22 22:53:26 -08:00
SoftCoder
da3c55c00b - bugfix, now support proper saving and reloading of games where attack boost is applied to units 2013-12-22 16:10:00 -08:00