Commit graph

17929 commits

Author SHA1 Message Date
Tim Felgentreff
2b10b273fd don't use enum class until we remove tolua++ 2022-03-03 22:43:07 +01:00
Tim Felgentreff
b3b3f87cfb fix build issues on linux 2022-03-03 22:43:07 +01:00
Tim Felgentreff
8e1405a023 fix team assignments again 2022-03-03 22:43:07 +01:00
Tim Felgentreff
fb6e084920 fix replay refactpring 2022-03-03 22:43:07 +01:00
Tim Felgentreff
32859f79bc more room for backtrace 2022-03-03 22:43:07 +01:00
Tim Felgentreff
6d59f33ecb fix SettingsPresets#Init 2022-03-03 22:43:07 +01:00
Tim Felgentreff
8425934c31 doc update for SetPlayerData 2022-03-03 22:43:07 +01:00
Tim Felgentreff
991c5c988d WIP: start unifying all GameSettings 2022-03-03 22:43:07 +01:00
Tim Felgentreff
a00256e6da delete metaserver 2022-03-03 22:43:07 +01:00
Tim Felgentreff
05f6b251f7 reuse game structures in replay types 2022-03-03 22:43:07 +01:00
alyokhin
9d8ecfb0b1 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-03-03 23:49:42 +03:00
Tim Felgentreff
c29919f31d
Merge pull request #387 from sviscapi/master
Changed boolean into bool in online_service.cpp
2022-02-26 16:55:31 +01:00
sviscapi
b2b81207d2
Changed boolean into bool in online_service.cpp
It fixes https://github.com/Wargus/stratagus/issues/386 for me
2022-02-26 12:40:15 +01:00
Tim Felgentreff
e75958d2ef
Merge pull request #385 from Wargus/tim/desync-debugging
desync debugging
2022-02-20 14:52:03 +01:00
Tim Felgentreff
5a978d7bac disable a bit of the extra much logging again 2022-02-20 14:08:58 +01:00
Tim Felgentreff
cd611a2f7f add disabled astar overlay 2022-02-20 13:56:26 +01:00
Tim Felgentreff
02b70a362b port depot finder change from Wyrmgus that searches from outside mine 2022-02-20 08:39:10 +01:00
Tim Felgentreff
f454ad3227 workaround for not finding depot from mine 2022-02-20 00:12:57 +01:00
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
alyokhin
3f7e07b361 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-02-17 11:19:24 +03: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