Commit graph

17699 commits

Author SHA1 Message Date
Tim Felgentreff
9bfcc11a39 sort the CUnit::Init variables as in the header 2022-02-19 22:13:42 +01:00
Tim Felgentreff
39c65eeaab more debugging and sync hashing 2022-02-19 20:42:55 +01:00
Tim Felgentreff
770a5a98bd dump unit debug in dev launch 2022-02-19 13:28:07 +01:00
Tim Felgentreff
c1f56293c7 reduce backtrace size 2022-02-19 13:27:56 +01:00
Tim Felgentreff
9fb2eb492c ask for port for easy multiplayer debugging 2022-02-19 13:02:26 +01:00
Tim Felgentreff
5e84ec5c42 SyncHash change logging 2022-02-19 13:02:10 +01:00
Tim Felgentreff
01ae1b763d improve logging of network out of sync 2022-02-19 12:49:24 +01:00
Tim Felgentreff
662a3abea6 improve UnitDump logging 2022-02-19 12:49:09 +01:00
Tim Felgentreff
738cbaa84b pause game when network is out of sync 2022-02-19 10:30:45 +01:00
Tim Felgentreff
36a699ef73 make free workers icon clickable and hideable when no free workers available 2022-02-17 22:10:02 +01:00
Tim Felgentreff
3750f86d07 Add FindNextResource lua function 2022-02-16 21:25:55 +01:00
Tim Felgentreff
6b3ea99e4a better random for random maps 2022-02-16 10:04:42 +01:00
Tim Felgentreff
9df43cc3d0 Revert "Revert "improve astar cleanup performance. thanks @Andrettin""
This reverts commit 740701089f.
2022-02-16 08:52:08 +01:00
Tim Felgentreff
9dd63b37fa Revert "Revert "don't return depots unconditionally""
This reverts commit 2616c95bf3.
2022-02-16 08:42:51 +01:00
Tim Felgentreff
8dfb7bcf67 fix two potential crashes 2022-02-16 08:42:39 +01:00
Tim Felgentreff
e1c16e1ef6 tweak map randomization 2022-02-16 08:42:31 +01:00
Tim Felgentreff
2616c95bf3 Revert "don't return depots unconditionally"
This reverts commit 8c3c9d9f8e.
2022-02-15 22:32:27 +01:00
Tim Felgentreff
740701089f Revert "improve astar cleanup performance. thanks @Andrettin"
This reverts commit c81abe99a2.
2022-02-15 22:32:07 +01:00
Tim Felgentreff
e4f2898b91 expose Randomize map to lua 2022-02-15 22:31:45 +01:00
Tim Felgentreff
f23cb67854 add import 2022-02-15 20:53:22 +01:00
Tim Felgentreff
e067fe7cf4 make randomize editor feature configurable 2022-02-15 09:58:23 +01:00
Tim Felgentreff
7d846feab9 be backwards compatible with war1gus colorsets 2022-02-15 09:49:40 +01:00
Tim Felgentreff
cf6266c8db tweak map randomize 2022-02-15 09:04:37 +01:00
Tim Felgentreff
3e71c37019 fix start location sticking to cursor 2022-02-15 08:44:37 +01:00
Tim Felgentreff
8c3c9d9f8e don't return depots unconditionally 2022-02-15 08:35:41 +01:00
Tim Felgentreff
c81abe99a2 improve astar cleanup performance. thanks @Andrettin 2022-02-15 08:35:26 +01:00
Tim Felgentreff
33cc4f880a fix memory leak, thanks @Andrettin 2022-02-15 06:36:04 +01:00
Tim Felgentreff
1b95dd2373 first attempt at a "randomizer" tool for the editor 2022-02-14 22:25:55 +01:00
Tim Felgentreff
4e402a7721 fix a crash in select script functions 2022-02-14 20:08:40 +01:00
Tim Felgentreff
da3703e90a fix a class of potential NPEs 2022-02-14 19:35:19 +01:00
Tim Felgentreff
45393ef64c add ability to define additional colors and set custom unit color 2022-02-11 22:08:07 +01:00
Tim Felgentreff
c5baa3dce7 add ability to set completely custom Colors for a unit 2022-02-10 22:45:18 +01:00
Tim Felgentreff
5423919e09 add a simple function to copy unit buttons to another unit 2022-02-09 16:20:00 +01:00
Tim Felgentreff
8fc9f1f8b7 Make max messages configurable with SetMaxMessageCount and rework repeated message handling 2022-02-09 11:03:10 +01:00
Tim Felgentreff
ae83587065 only show group if ShowOrders is true 2022-02-07 08:32:46 +01:00
Tim Felgentreff
274448c00f add option to indicate damage in selection rect 2022-02-07 08:32:33 +01:00
Tim Felgentreff
075d6cb66c fix one more potential crash with font rendering 2022-02-05 17:45:47 +01:00
Tim Felgentreff
1526b0dce7 a bit more configurability for the decoration bar 2022-02-05 17:31:01 +01:00
Tim Felgentreff
085a7804f9 allow using bool flags for enable/disable decoration 2022-02-02 20:48:26 +01:00
Tim Felgentreff
4b21fc9306 try to clean up a bit better 2022-02-02 14:00:52 +01:00
Tim Felgentreff
2b5b820bab deselect for list boxes 2022-02-02 14:00:35 +01:00
Tim Felgentreff
8bb7c9f2fe fix scaled cursor hot pos 2022-02-02 09:47:57 +01:00
Tim Felgentreff
78b9b09f47
Merge pull request from Wargus/hardwarecursor
Hardware cursor option
2022-02-01 22:23:44 +01:00
Tim Felgentreff
66fa7bca72 make hardware cursor a preference 2022-02-01 22:17:19 +01:00
Tim Felgentreff
cb94928d3b fix mouse event coordinates for vertical pixel stretching 2022-02-01 21:52:32 +01:00
Tim Felgentreff
faeb1044f1 fix cursor drawing, now only the offset may be wrong 2022-02-01 21:52:32 +01:00
Tim Felgentreff
98fe0c87a8 use sdl hardware cursor to decouple the cursor speed from the game speed 2022-02-01 21:52:32 +01:00
Tim Felgentreff
9f4eddb375 fix walls disappearing when changing surroundings 2022-01-31 23:01:23 +01:00
Tim Felgentreff
3dff36288c add button check units-nor and fix CopyUnitType 2022-01-30 20:00:11 +01:00
Tim Felgentreff
8b4a2fb064 fix a minor crash 2022-01-30 14:37:53 +01:00