titiger
01673dbb39
fix for #90
2015-12-10 01:28:09 +01:00
titiger
c51599f4fe
Coverty scan 1308703; Logically dead code
2015-11-30 20:53:04 +01:00
titiger
713dbd3003
problems with groups and non multiselect units fixed. ( issue #80 )
...
Now issue #80 should be completly fixed.
2015-11-11 01:25:28 +01:00
titiger
8686d93b94
fixed additional group assign
...
Still missing is handling of units which are not multiselectable.
2015-11-03 01:58:19 +01:00
titiger
dbee447a9a
eventSdlKeyDown
...
Give the real SDL_KEYDOWN to the Window/Program states.
This fixes issues with group keys and SDL2.
2015-10-30 01:04:01 +01:00
SoftCoder
cb456840cd
- added null checks for group selection
2015-10-25 09:14:28 -07:00
titiger
c3e2305e41
fixed a null pointer problem in gui
2015-09-05 22:46:15 +02:00
titiger
4ab574150a
group selections can be recalled with shift down.
...
Group selections can be recalled with shift down and the
group is added to the current selection.
2015-06-10 00:42:03 +02:00
titiger
504dc7dfd8
no more false clicks on minimap
...
if minimap was displayed outside of map, it was not possible to give
mouse click commands there.
2015-01-29 21:59:05 +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
SoftCoder
8210485a42
- a few bugfixes related to coverity scan
2014-12-15 19:44:26 -08:00
titiger
54905c0e5c
rename getCurrVector() to getCurrMidHeightVector()
2014-11-25 23:40:47 +01:00
titison
5de94dccc9
setLockedUnitForFaction
...
*removed debug (printf's)
2014-11-15 18:45:46 +01:00
titison
ea04a2bb58
setLockedUnitForFaction
...
*Showing an info in the info string ( above the requirements of the unit ) if locked
2014-11-15 18:30:48 +01:00
titison
850a9a7dc0
-AI can't command non-commandable units anymore
...
-Removed non-selectable
2014-08-07 21:00:27 +02:00
titison
72828c39a3
Added to booleans
...
1. selectable | if this is false, you cant select the unit.
2. commandable | if this is false, you cant give the units commands.
I advise to set a non-selectable unit to non-commandable too if you want to make a normal unit morph into it.
2014-07-28 17:03:36 +02:00
SoftCoder
39696b6a65
- added ability to share resources across same teams
2014-01-27 18:55:08 -08:00
SoftCoder
e63b3d7499
- added support for team unit sharing
2014-01-27 14:15:05 -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
Mark Vejvoda
929cc07895
- code cleanup based on additional gcc warnings
2013-11-19 07:05:45 +00:00
Mark Vejvoda
9268aaf279
- a few minor bug fixes related to code warnings
...
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +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
d2ba7b163b
a little refactoring of function names in language class
2013-10-29 06:13:38 +00:00
Mark Vejvoda
9e60723296
revert most doubles back to float and truncate at 6 decimals
2013-10-03 00:17:51 +00:00
Mark Vejvoda
dc503d6340
- attempt to see if this makes stability better
2013-10-02 20:22:10 +00:00
Mark Vejvoda
63ed244de2
- attempt to fix additional oos issues
2013-09-27 00:14:54 +00:00
Mark Vejvoda
37c2ace11a
- rollback last commit
2013-09-26 16:37:32 +00:00
Mark Vejvoda
7349a1f126
- attempt to convert use of more floats to double
2013-09-25 15:40:19 +00:00
Mark Vejvoda
836e61d5d6
loggging fixes for language specific info (use english always)
2013-09-21 20:50:58 +00:00
Titus Tscharntke
a5834ddf57
I hope it solves a timing problem with rendering and resetting the gui. https://forum.megaglest.org/index.php?topic=9163.0
2013-09-14 23:56:26 +00:00
Mark Vejvoda
0ead6a36dc
full support for translated techtrees
2013-06-13 08:55:48 +00:00
Titus Tscharntke
27e46dd10a
selected units are sorted by type(id) now. this gives less jumping selection with colorpicking and a sorted selection display in the GUI.
2013-06-02 20:30:22 +00:00
Mark Vejvoda
8408526b12
code cleanup based on cppcheck results
2013-05-17 03:59:34 +00:00
Titus Tscharntke
325f33a155
Selection via cellmap turned out not to be good -> revert
2013-05-02 20:52:23 +00:00
Titus Tscharntke
db921c3fb7
attack enemy units even if you missed them and only hit the map cell.
2013-04-29 23:05:56 +00:00
Mark Vejvoda
b2853b760e
- fix bug reported on sf: Glest::Game::Selection::select crash with NULL pointer - ID: 3608835
2013-03-24 04:43:50 +00:00
Titus Tscharntke
61e75417a5
Respecting requirements for attack commands . ( Bug fix for attack hot-key cycling through attacks. )
2013-02-24 23:56:49 +00:00
Titus Tscharntke
2bc2555c22
Attack key ("a") cycles through attack types if you have a uniform selection of units
2013-02-22 23:31:55 +00:00
Mark Vejvoda
9d19ff2b57
- added the first draft of joining games in progress
2013-02-15 18:25:10 +00:00
Titus Tscharntke
f06f86904c
recall group select again
2013-02-08 23:54:50 +00:00
Mark Vejvoda
f87b8b6ee2
- updated code to protect against null pointers and uninitialized values and threading issues
2013-02-04 08:30:43 +00:00
Mark Vejvoda
743efc0822
- fixed null pointer discovered by titi
2013-01-24 23:10:25 +00:00
Mark Vejvoda
cc89b6ba65
- add selection type to debug view ingame
2013-01-24 00:14:29 +00:00
Mark Vejvoda
93438d42f4
- attempt to see if this fixes units that do not attack when right clicking enemy
...
- see if this fixes crashes when using color picking
2013-01-23 21:03:00 +00:00
Mark Vejvoda
8134da2f12
- attempt to see if this fixes units that do not attack when right clicking enemy
2013-01-23 19:53:12 +00:00
Mark Vejvoda
7146a20976
- attempt to fix / improve performance of color picking
2013-01-22 04:30:06 +00:00
Mark Vejvoda
66ea587b7f
- bugfix from tomreyn's stacktrace for resource selection
2012-11-14 23:24:25 +00:00
Mark Vejvoda
1dbcabf12c
- minor feature request added from sourceforge, when command given cannot be executed, sometimes we show the requirements of the command so the user knows why it failed
2012-11-10 19:39:55 +00:00
Mark Vejvoda
e86cb3aeff
- more code cleanup based on suggestions from cppcheck
2012-10-18 08:16:47 +00:00
Mark Vejvoda
505206059b
- added new lua method for Muwuum:
...
void giveStopCommand(int unitId)
bool selectUnit(int unitId)
void unselectUnit(int unitId)
void addUnitToGroupSelection(int unitId,int groupIndex)
void recallGroupSelection(int groupIndex)
void removeUnitFromGroupSelection(int unitId,int group)
void setAttackWarningsEnabled(bool enabled)
bool getAttackWarningsEnabled()
2012-10-17 20:15:50 +00:00