Commit Graph

447 Commits

Author SHA1 Message Date
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
Titus Tscharntke d303170b3f colorpicking: first we render buildings then we render units. By this we can select units in or behind buildings with colorpicking. 2013-04-28 10:26:25 +00:00
Titus Tscharntke 6849d432bf colorpicking improved again and hopefully fixed false clicks on attacks ... ( works with low display resolutions too now) 2013-04-27 17:38:35 +00:00
Titus Tscharntke 9d3c99d6d0 Speed for colorpicking :-D. Its nearly as fast as selectbuf now . ( and tree selection for colorpicking is fixed ) 2013-04-25 23:12:34 +00:00
Titus Tscharntke c8b6a9f410 fixed colorpicking selection for units in front of trees ( flying units above forests for example ) 2013-04-24 23:06:11 +00:00
Titus Tscharntke e7907394de lighting of rotated tileset objects was wrong. 2013-03-14 21:16:16 +00:00
Mark Vejvoda 2210d48c49 - added a temp ini setting: DebugGameSynchUI=true
to show all units in minimap to compare on two screens if the game is going out of synch.
2013-03-10 00:40:38 +00:00
Mark Vejvoda 13665d58f1 - attempt to fix light sources handling as reported by tomreyn
- allow speed up / slow down for network game as long as no-one is connected
2013-02-26 20:48:20 +00:00
Mark Vejvoda 8916a86b8c - bugfixes for load / save game for in progress joining 2013-02-19 06:41:56 +00:00
Mark Vejvoda aca17684a7 - attempt to see if this fixes drawing of starting points for some bad video drivers 2013-02-12 20:47:46 +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 f87b8b6ee2 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-04 08:30:43 +00:00
Mark Vejvoda 8dc637527a - tighten up code.. ensure pointers set to null after delete, etc 2013-02-01 17:25:49 +00:00
Mark Vejvoda 3ccdd1a0c7 - updated windows exception handler to catch all error types 2013-02-01 05:26:07 +00:00
Titus Tscharntke c5dd29f4ff new way to define the selectionType. No more use of EnableColorPicking and so on!
allowed values are: selectbuf color frustrum

Default is selectbuf again as Colorpicking still makes trouble.
2013-01-27 22:10:24 +00:00
Mark Vejvoda 8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda 87b39a3cb5 - fix unit selection 2013-01-24 15:52:11 +00:00
Mark Vejvoda d7d83f7c5e - attempt to speed up color picking 2013-01-23 23:20:54 +00:00
Mark Vejvoda 69568f5b1a - attempt to speed up color picking 2013-01-23 21:53:02 +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 7ecc7325ac - trying to trace nig's crash (more debug info and safer code) 2013-01-23 14:51:28 +00:00
Mark Vejvoda 141f7eaa48 - cleanup some warnings in VC++
- more consistent project settings in vc++
2013-01-23 06:53:55 +00:00
Mark Vejvoda e7e5ac8987 - only render live units when picking selected units 2013-01-23 06:26:26 +00:00
Mark Vejvoda 7146a20976 - attempt to fix / improve performance of color picking 2013-01-22 04:30:06 +00:00
Mark Vejvoda 11392c69c9 - see if this speeds up color picking 2013-01-16 18:23:29 +00:00
Mark Vejvoda ccb402d42e - fix build on windows 2013-01-16 17:51:31 +00:00
Mark Vejvoda 06a135301b - set color pciking as the default selection type. Possible ini entries are:
EnableSelectBufPicking=true
EnableColorPicking=true
EnableFrustumPicking=true
2013-01-16 17:13:51 +00:00
Mark Vejvoda ce7982dc91 - see if this speeds up color picking 2013-01-16 16:58:28 +00:00
Mark Vejvoda 21f674abd9 - see if this fixes color picking 2013-01-15 03:34:01 +00:00
Mark Vejvoda ceedef5200 - see if this fixes color picking 2013-01-15 03:18:26 +00:00
Mark Vejvoda 4d0811f0ec - update debug stats to remove unused items
- disable interpolation when doing unit or resource selection
2013-01-12 07:36:14 +00:00
Mark Vejvoda ee2ad95164 - attempt to improve ai decision performance by having each ai player updates done in a thread 2013-01-01 18:55:26 +00:00
Mark Vejvoda 3773736212 - bugfix for headless admin to get message in his own language (if possible) 2012-11-15 14:45:22 +00:00
Mark Vejvoda 11fdaf899b - attempt to see if this fixes tomreyn's selectbuf problems 2012-11-15 07:28:48 +00:00
Mark Vejvoda 490c538086 - bugfix from tomreyn's stacktrace for resource selection 2012-11-14 23:42:12 +00:00
Mark Vejvoda ff58a868b3 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 06:37:23 +00:00
Titus Tscharntke a43ebdb69e changed way of showing the quick marker in the minimap ( x + mouseclick ) 2012-11-10 00:01:44 +00:00
Mark Vejvoda cc8b983b99 - stop internet lobby chat from overflowing into other UI elements 2012-11-09 18:09:32 +00:00
Mark Vejvoda b178b1d1e9 - fixed messagebox word wrap with lua messages 2012-11-08 23:54:43 +00:00
Mark Vejvoda 16b85dbe79 - added another patch from cygal (he's on fire people!) to word wrap messagebox text
- remove newlines from english text where appropriate
2012-11-07 21:24:44 +00:00
Titus Tscharntke 6880b06152 fix to prevent selecting units and resources ( like trees) at once 2012-11-06 22:29:13 +00:00
Mark Vejvoda 3419127632 - proper way to handle size_t objects (cleanup warning on other platforms) 2012-10-26 02:42:10 +00:00
Mark Vejvoda 8b1000cbfb - don't save the transifex password to the ini (but still allow the user to enter the value manually in the ini) 2012-10-22 22:06:30 +00:00
Mark Vejvoda ba0bf98b9e - hide password until editing
- move transifex ui items to the right
2012-10-22 19:38:28 +00:00
Mark Vejvoda 011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +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 0180aa6bba - added new lua functions:
triggeredCellEventUnitId()
showMarker(int flashCount, int factionIndex, string note, string textureFile,Vec2i pos)

1. The first one can be called in a cell trigger event and tell you which unit triggered the event
2. The second flashes a position in the minimap
2012-10-13 05:06:53 +00:00
Mark Vejvoda c5ac0cc8e3 - fix min player for headless game message 2012-10-06 17:50:27 +00:00
Mark Vejvoda 5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00