Tim Felgentreff
|
94a6d9ecd9
|
avoid free-cycle
|
2022-07-05 08:43:16 +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 |
|
Tim Felgentreff
|
f7c12a74f0
|
improve performance of AiEnemyUnitsInDistance
|
2022-06-28 06:55:46 +02:00 |
|
Tim Felgentreff
|
300db83ef4
|
minor usability improvement for panel conditions
|
2022-06-17 22:02:32 +02:00 |
|
Tim Felgentreff
|
fdab365096
|
fix compilation without Mng support
|
2022-06-16 16:54:13 +02:00 |
|
Tim Felgentreff
|
44f77f2a56
|
expose Mng.MaxFPS to lua to set the max playback speed for mngs
|
2022-06-16 16:54:11 +02:00 |
|
Tim Felgentreff
|
a6416559d2
|
delete manually allocated UnitManager and FogOfWar
|
2022-06-16 16:54:08 +02:00 |
|
Tim Felgentreff
|
de85036ab5
|
fix potential crash when lazily loading a sound that doesn't exist
|
2022-06-16 06:22:53 +02:00 |
|
Tim Felgentreff
|
0ffa991395
|
mng widgets are always dirty
|
2022-06-16 06:22:51 +02:00 |
|
Tim Felgentreff
|
dfcf5f8da7
|
fix invalid sharing of mngs in copied unit type
|
2022-06-16 06:22:49 +02:00 |
|
Tim Felgentreff
|
d17c2cc1bc
|
fix wrong condition for mng lazy loading
|
2022-06-05 13:25:56 +02:00 |
|
Tim Felgentreff
|
08126fb95a
|
fix compile error
|
2022-06-05 13:19:19 +02:00 |
|
Tim Felgentreff
|
0d76640102
|
fix swapped mng sizes
|
2022-06-03 22:19:48 +02:00 |
|
Tim Felgentreff
|
a14c4f539a
|
fix debug printing with dummy renderer
|
2022-06-01 17:17:42 +02:00 |
|
Tim Felgentreff
|
99f26b1156
|
don't waste time drawing map tiles below fog of war
|
2022-06-01 17:17:36 +02:00 |
|
Tim Felgentreff
|
c62e1702e6
|
make full black in mngs be transparent
|
2022-06-01 17:17:28 +02:00 |
|
Tim Felgentreff
|
2541939ca2
|
fix exit when no map was created
|
2022-05-30 22:27:14 +02:00 |
|
Tim Felgentreff
|
ad332c9a87
|
Merge from rpi
|
2022-05-30 22:20:53 +02:00 |
|
Tim Felgentreff
|
c813be6ad0
|
hackaround for mng free bug
|
2022-05-30 22:20:15 +02:00 |
|
Tim Felgentreff
|
003e8b7bd0
|
fix lazy mng loading
|
2022-05-30 22:20:09 +02:00 |
|
Tim Felgentreff
|
911ef5b69d
|
allocate tileset on map creation, not statically
|
2022-05-30 21:19:16 +01:00 |
|
Tim Felgentreff
|
56db32cbbb
|
don't wait for vsync in benchmark mode
|
2022-05-30 09:46:03 +01:00 |
|
Tim Felgentreff
|
76dc64d3a5
|
fixup failing music callback - don't let music play failure spam the event queue
|
2022-05-30 09:45:49 +01:00 |
|
Tim Felgentreff
|
4a5a9dbf67
|
dispatch audio callbacks to the event loop
|
2022-05-25 14:51:23 +02:00 |
|
Tim Felgentreff
|
e533466092
|
make vendored lua also work on windows
|
2022-05-25 14:38:15 +02:00 |
|
Tim Felgentreff
|
f252352462
|
check automatic attacks/spells fewer times to avoid performance penalty of AStar each cycle
|
2022-05-24 06:09:58 +02:00 |
|
Tim Felgentreff
|
7127bd00ff
|
make FogOfWar a global pointer, not a static global
|
2022-05-24 06:09:57 +02:00 |
|
Tim Felgentreff
|
66390ec1ae
|
make unit manager a global pointer, not a static global
|
2022-05-24 06:09:55 +02:00 |
|
Tim Felgentreff
|
c09468468f
|
add gprof linker flag
|
2022-05-24 06:09:53 +02:00 |
|
Tim Felgentreff
|
59f99651bb
|
openmp cmake option
|
2022-05-23 09:25:04 +02:00 |
|
Tim Felgentreff
|
6fcd11966c
|
explicit sound channel initialization
|
2022-05-23 09:24:55 +02:00 |
|
Tim Felgentreff
|
d727a529e2
|
fix omp_get_thread_num stub
|
2022-05-23 08:43:07 +02:00 |
|
Tim Felgentreff
|
987e3cb1bf
|
also build shared libraries of vendored lua
|
2022-05-22 14:30:39 +02:00 |
|
Tim Felgentreff
|
9a00345e72
|
make compilation without openmp work
|
2022-05-22 14:30:36 +02:00 |
|
Tim Felgentreff
|
18fb94a0d0
|
fix a bunch of clang warnings
|
2022-05-22 14:30:25 +02:00 |
|
Tim Felgentreff
|
ae5d5099e6
|
Merge branch 'master' of https://github.com/Wargus/stratagus
|
2022-05-22 14:05:58 +02:00 |
|
Tim Felgentreff
|
ae3040a324
|
port Wyrmgus change to FormatNumber, which has better performance
|
2022-05-22 13:59:16 +02:00 |
|
Tim Felgentreff
|
ef0bf598b6
|
set callback immediately when playing, not delayed
|
2022-05-22 13:59:10 +02:00 |
|
Tim Felgentreff
|
09f1277971
|
nicer fps bar
|
2022-05-22 13:59:08 +02:00 |
|