Commit graph

17947 commits

Author SHA1 Message Date
Tim Felgentreff
268e622cbf start new dev cycle 2022-08-11 20:32:27 +02:00
Tim Felgentreff
c57ec097b3 Release version 3.3.2 2022-08-10 20:13:08 +02:00
Tim Felgentreff
9ed69f7df1 another bit of refactoring, trying to be backwards compatible without breaking more 2022-08-09 17:53:58 +02:00
Tim Felgentreff
be4a1b45b2 refactor music callback triggers a bit 2022-08-09 08:35:08 +02:00
Tim Felgentreff
2be99339ee ensure we never enqueue more than one music finished callback 2022-08-07 21:21:14 +02:00
Tim Felgentreff
d8d1d45b36 start new dev cycle 2022-08-07 20:58:32 +02:00
Tim Felgentreff
361ee0b05c Release version 3.3.1 2022-07-31 11:44:18 +02:00
Tim Felgentreff
a2b8b76d73 fix crash when redefining player colors after map load and game start 2022-07-30 14:41:30 +02:00
Tim Felgentreff
0a475f80b3 fix music and sound callbacks sometimes not triggering correctly
this removes a prior debounce hack i did which was due to me handling the
custom sdl event to play the next file incorrectly
2022-07-30 14:21:55 +02:00
Tim Felgentreff
5e55686a0e check for targets a bit more often again when order is to move-attack 2022-07-30 13:53:17 +02:00
Tim Felgentreff
eb59c63ad0 start new release cycle 2022-07-30 13:52:59 +02:00
Tim Felgentreff
6acfad3966
Merge pull request #406 from Northfear/eager_load_fix
Fix build with disabled DYNAMIC_LOAD
2022-07-29 21:48:57 +02:00
Northfear
7d4e18b4a2 Fix build with enabled DYNAMIC_LOAD 2022-07-29 21:41:26 +03:00
Tim Felgentreff
dcca04608c fix wrong assert, compilation on ubuntu 22.04 2022-07-28 20:30:23 +02:00
Tim Felgentreff
dabf979693 Release version v3.3.0 2022-07-27 15:44:55 +02:00
Tim Felgentreff
9dc26a03af Merge branch 'master' of https://github.com/Wargus/stratagus 2022-07-27 15:44:24 +02:00
Tim Felgentreff
09dce1321f ony draw references on units with debug print 2022-07-27 15:43:01 +02:00
Tim Felgentreff
6cb6c66da3 prepare 3.3.0 release 2022-07-27 15:42:34 +02:00
Tim Felgentreff
5511880ffc fix potential crash in editor with dynamic load 2022-07-27 14:57:40 +02:00
Tim Felgentreff
7856578421 add a bit of documentation about complex map building 2022-07-27 10:55:52 +02:00
Tim Felgentreff
22e5643611 fix crash when graphic for flipped missile is loaded already as sprite 2022-07-27 10:22:19 +02:00
Tim Felgentreff
538dc024bb (i think) fix an assertion 2022-07-26 21:25:50 +02:00
Tim Felgentreff
cce87a51d2 fix accidental double-free 2022-07-26 21:25:50 +02:00
Tim Felgentreff
e4159d58e3 move tileset allocation to the explicit list of globals allocated in stratagusMain 2022-07-26 21:25:50 +02:00
Tim Felgentreff
d8ff81f90c fix loading games with units in containers that do not have a type yet 2022-07-26 21:25:50 +02:00
Tim Felgentreff
d5c916b724 make frame skip a preference
good values are
 1 - render only even frames
 3 - render only frames divisble by 4 (i.e., only 25%)

anything higher is probably just choppy
2022-07-26 21:25:44 +02:00
Tim Felgentreff
a2ddef78de Revert "no assert/debugprint in release builds"
This reverts commit 6b7afed5e7.
2022-07-26 17:58:40 +02:00
Tim Felgentreff
83a0c3ccf2 Revert "XXX: do not crash on exit"
This reverts commit 5da0cd0d01.
2022-07-26 17:58:30 +02:00
Tim Felgentreff
c2b0dcf7ba Merge branch 'master' of https://github.com/Wargus/stratagus 2022-07-26 17:58:20 +02:00
Tim Felgentreff
c2706c2cdb add workaround for potential crash on load 2022-07-10 14:42:41 +02:00
Tim Felgentreff
d21858dcef fix potential crash on map load 2022-07-10 14:41:36 +02:00
Tim Felgentreff
ca367b2fd1 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-07-09 06:50:32 +02:00
Tim Felgentreff
d5c1e3a79c minor tweaks to micro-optimize performance for really slow machines 2022-07-09 06:50:18 +02:00
Tim Felgentreff
2abfb6a668
Merge pull request #403 from Ace17/memleak.genversion
Memleak.genversion
2022-07-05 13:43:49 +02:00
Sebastien Alaiwan
f94e4ae4b0 genversion: fix minor memory leak 2022-07-05 13:24:18 +02:00
Sebastien Alaiwan
0b97df3666 Cleanup: dead local variables 2022-07-05 13:24:18 +02:00
Tim Felgentreff
94a6d9ecd9 avoid free-cycle 2022-07-05 08:43:16 +02:00
Tim Felgentreff
1dc013f0b1 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-06-29 20:07:05 +02:00
Tim Felgentreff
379567fcb0 more frame skipping, to work decently on rpi without accelleration 2022-06-29 19:42:48 +02:00
Tim Felgentreff
4936fa5d59 fix typo 2022-06-29 19:42:48 +02:00
Tim Felgentreff
afc5d8765b start skipping frames when we are too slow 2022-06-29 19:42:48 +02:00
Tim Felgentreff
104d89de91 re-order to fix compilation 2022-06-29 19:42:48 +02:00
Tim Felgentreff
1d8c81d09a re-enable simd test functions 2022-06-29 19:42:48 +02:00
Tim Felgentreff
13b20e1080 XXX: do not crash on exit 2022-06-29 19:42:48 +02:00
Tim Felgentreff
beab00da26 no assert/debugprint in release builds 2022-06-29 19:42:48 +02:00
Tim Felgentreff
109bc10e0f report benchmark results with cycles 2022-06-29 19:42:47 +02:00
Tim Felgentreff
553d660d39 comment unused cpu feature test code, align 512bits for AVX-512 2022-06-29 19:42:47 +02:00
Tim Felgentreff
89e8560cd2 make max iterations for astar configurable 2022-06-29 19:42:47 +02:00
Tim Felgentreff
8d35af98b2 change astar reset optimization to instead rely on memory alignment and
the compiler optimizations for memset/memmove on aligned memory chunks
with modern CPUs
2022-06-29 19:42:47 +02:00
Tim Felgentreff
71608824e5 reduce load on AI cycles by limiting how many forces may scan the map in one cycle 2022-06-28 06:55:48 +02:00