Commit Graph

170 Commits

Author SHA1 Message Date
titiger 389892600b comboboxes
first usage in custom menu for maps
2019-10-05 22:41:21 +02:00
SoftCoder 865a665bf0 - round 2 of cppcheck code cleanup 2017-10-09 20:21:14 -07:00
SoftCoder 26581a77d2 - first round of cleanup from cppcheck report 2017-10-09 19:09:36 -07: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 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 47c181d2ab different rendering of resources in teammode 2014-12-18 00:32:44 +01:00
titison 345c88d320 Work on Healthbars
production bars;
options;
many more...;
2014-11-22 23:15:19 +01: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 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 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
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 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 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
titiger 372442d181 Render order changed to get better render results with units using
semi-transparent textures.
2013-12-22 01:36:54 +01:00
Will 6afadafa1e Start to abstract model 2013-12-05 16:17:41 +01:00
Mark Vejvoda ab64b9343f - updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build. 2013-11-19 21:57:28 +00:00
Mark Vejvoda ed94e9578c added performance info for various game sections using: ShowInGamePerformance=true 2013-11-11 01:42:27 +00:00
Mark Vejvoda 9b097fd911 decouple masterserver from network host game settings into two seperate threads 2013-11-07 18:39:08 +00:00
Mark Vejvoda 1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda 875eb95790 bugfix for particle cleanup 2013-09-24 03:44:15 +00:00
Titus Tscharntke 416ccaae4b Shadow intensity can be set in video options.
Tilesets can set their own default shadow intensity with <shadow-intensity value="0.3"/>.
ShadowAlpha is beeing removed form ini files
2013-09-22 00:51:47 +00:00
Titus Tscharntke 41671ac997 frustRum ->frustum 2013-02-11 22:51:36 +00:00
Mark Vejvoda 9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda 87b39a3cb5 - fix unit selection 2013-01-24 15:52:11 +00:00
Mark Vejvoda 7146a20976 - attempt to fix / improve performance of color picking 2013-01-22 04:30:06 +00:00
Mark Vejvoda e63e634e1e - added a bit more lua and updated capture enemy flag 2012-10-13 07:33:33 +00:00
Mark Vejvoda 732f5260a1 - corrected default progress bar height (since its often chopping off font) 2012-09-27 06:12:53 +00:00
Mark Vejvoda 7c0e10684a - added lua functions to add / remove cell markers:
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition

removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Mark Vejvoda 1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Mark Vejvoda 6ea34ea46c - added cell hint text entry when placing cell markers (supports \n and \t for text formatting) 2012-09-20 04:10:34 +00:00
Titus Tscharntke 75032c3287 reserve unit place while morphing. (first try) 2012-09-11 21:16:24 +00:00
Mark Vejvoda 648c3e190a - added patch from Taoki for showing time of game day under minimap (thanks) 2012-08-15 14:37:27 +00:00
Mark Vejvoda e2fcf9ed94 - bugfix for lighting of tileset objects, when rotated objects had weird lighting causing random light patterns to show on them. 2012-08-13 21:46:27 +00:00
Mark Vejvoda b665258897 - improve ability to force label edit mode rendering to be a static width regardless of font size used 2012-07-26 15:26:59 +00:00
Mark Vejvoda 6662f35347 - fixed input text segfault and corrected entry of playername in menus and added a box around the field when editing. 2012-07-26 06:27:00 +00:00
Titus Tscharntke 73919c860d New quick highlight pointer for minimap ( we need another key for this, at the moment its "shift" ) 2012-07-13 21:50:34 +00:00
Mark Vejvoda 4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Mark Vejvoda 0f5cb29919 - build silhouette now uses team colour and you see all team players building placement
- improve performance when rending cell markers
2012-06-22 13:30:15 +00:00
Mark Vejvoda acc2a5f9c9 - show light green with alpha silhouette of building when unit is moving to a location to build another unit 2012-06-22 04:58:44 +00:00
Mark Vejvoda 943dcef9fe - first pass of VERY ROUGH crude implementation of 'cell markers'. Need to properly find icons, apply alpha to icon on the map and add support for notes when user hovers over the marker. 2012-06-12 20:37:00 +00:00
Mark Vejvoda 4c016dfbdf - attempt to fix segfault from menu handling after playing a few games 2012-05-28 16:51:56 +00:00
Mark Vejvoda b6a4e33e7d - replaced calls to glgenlists and family as these gl calls are deprecated in newer opengl (and really did not do anything for us) 2012-05-24 06:16:54 +00:00
Mark Vejvoda 0fac755a5e - video player now displays 'please wait' while loading the video 2012-05-23 19:59:52 +00:00
Mark Vejvoda ef39f93457 - try to speed up water rendering a bit, but especially pathfinder 2012-05-12 00:01:05 +00:00
Mark Vejvoda dbb116f250 - load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010) 2012-04-20 01:04:05 +00:00