Commit graph

18087 commits

Author SHA1 Message Date
Tim Felgentreff
e1bfcfd0e5
Merge pull request #398 from SimoneStarace/master
Making UML Class Diagrams
2022-12-27 10:17:56 +01:00
Tim Felgentreff
7f6cee72de Merge branch 'master' of https://github.com/Wargus/stratagus 2022-12-27 08:38:52 +01:00
Tim Felgentreff
6f11d22949 Be more cautious about dynamically loaded sdl mixer chunks (stratagus#422) 2022-12-27 08:38:37 +01:00
Tim Felgentreff
442a8a9d69 fix crashes when using dedicated AI server without human players (stratagus#422) 2022-12-27 08:03:23 +01:00
Tim Felgentreff
ef5753961d
Merge pull request #421 from ipochto/fog/easing-steps
Added possibility to set number of easing steps for fog textures on t…
2022-12-27 07:35:39 +01:00
Tim Felgentreff
56834f949d avoid two assertion errors 2022-12-22 18:59:54 +01:00
Tim Felgentreff
cf67743e2c some more debugging for a* 2022-12-22 18:59:42 +01:00
Tim Felgentreff
23fa12cc54 Improve A*
- increase heuristic estimate to be more eager
 - Fix multiple overflows in the openset and nodes
 - add a debug command to dump pathfinding to terminal
2022-12-22 18:30:39 +01:00
Tim Felgentreff
0646d315b8 remove dead code 2022-12-21 09:19:07 +01:00
Tim Felgentreff
1329ecc730 dummy Movie class when compiled without vorbis support. fixes #396 2022-12-20 13:04:48 +01:00
Tim Felgentreff
355c532170 add support for subtile movement speeds 2022-12-19 22:13:26 +01:00
Tim Felgentreff
08b49ba17a work around a potential refcount error 2022-12-17 18:19:04 +01:00
Tim Felgentreff
2b9b21c999 fix a couple of incorrect assertions that lead to wrong refcounts 2022-12-17 17:51:13 +01:00
Tim Felgentreff
51dae7271d fix for formation movement when unit should not move 2022-12-05 17:36:56 +01:00
Tim Felgentreff
2541199a8c minor fixes to game launcher header 2022-10-26 21:38:26 +02:00
alyokhin
e0fc8f812e Added possibility to set number of easing steps for fog textures on the lua-side 2022-10-26 18:44:50 +03:00
Tim Felgentreff
0d07b5cb4f document AddTrigger a bit better 2022-10-26 08:22:54 +02:00
Tim Felgentreff
607702d046 make sure to reload also icons and other missiles on unit redef in game 2022-10-26 08:22:40 +02:00
Tim Felgentreff
ae504303a6 when redefining a unit type while the game is running, ensure we reinit the missile config 2022-10-25 23:49:13 +02:00
Tim Felgentreff
cb398bcbdd Merge branch 'master' of github.com:Wargus/stratagus 2022-10-25 22:40:41 +02:00
Tim Felgentreff
ecef5cd892
Merge pull request #418 from ipochto/highground
Highgrounds support.
2022-10-25 08:18:46 +02:00
alyokhin
bf8d9a8cf1 Removed unused leftover variable 2022-10-08 16:39:34 +03:00
alyokhin
c327f97b68 Cleanup, tabs/spaces, and remove unused variables. 2022-10-07 19:59:55 +03:00
alyokhin
0c713781a3 fixed compile errors 2022-10-07 19:59:55 +03:00
alyokhin
b579acc877 Temporary fixup for editor (use findTileIndex and findTilePath only for base tileset) 2022-10-07 19:59:55 +03:00
alyokhin
e6f990b3d0 Fixed additional flags parsing in the tiles definitions 2022-10-07 19:59:55 +03:00
alyokhin
fbf2d841a9 Update description for graphic generator's src modifiers 2022-10-07 19:59:55 +03:00
alyokhin
a1f03d6ab1 Added "remove-all-except" modifier for graphic generator parser 2022-10-07 19:59:55 +03:00
alyokhin
e6e4a2bf37 Added chroma-key modifier for tileset graphic generator 2022-10-07 19:59:55 +03:00
alyokhin
858eea02b7 Added possibility to define empty tiles (separators without graphics) 2022-10-07 19:59:55 +03:00
alyokhin
39ca46872b Added possibility to use base tileset graphic indexes directly in the 'src' construction 2022-10-07 19:59:55 +03:00
alyokhin
0ad656c49f Added flip modifier for tile graphics 2022-10-07 19:59:55 +03:00
alyokhin
6673075dc0 Reworked pixel manipulation functions 2022-10-07 19:59:55 +03:00
alyokhin
87727e9fbe Swap to strict checker for lua stings 2022-10-07 19:59:55 +03:00
alyokhin
e9867f56ff Added wrapper for lua_isstring to check for strings only 2022-10-07 19:59:55 +03:00
alyokhin
1d1b1b37f2 Fixed comments 2022-10-07 19:59:55 +03:00
alyokhin
78bd4d86e7 Added color shifting modifier to tileset graphic generator 2022-10-07 19:59:55 +03:00
alyokhin
445fb9f81e Reworked source images parser 2022-10-07 19:59:55 +03:00
alyokhin
31365a0c98 Fixed vector's new size calculation 2022-10-07 19:59:55 +03:00
alyokhin
d36565eae0 Fixed images sequence generator for single layer 2022-10-07 19:59:55 +03:00
alyokhin
b3d5dd2d24 Fixed LuaError messages 2022-10-07 19:59:55 +03:00
alyokhin
148fdc914e Fixed wrong condition check 2022-10-07 19:59:55 +03:00
alyokhin
71d15617ea Added missed update of frames number. Fixed wrong Asserts. 2022-10-07 19:59:55 +03:00
alyokhin
1ad80452fc findTileIndex() is public member again (fixed compile error) 2022-10-07 19:59:55 +03:00
alyokhin
5ec2413df0 Fixed compile error 2022-10-07 19:59:55 +03:00
alyokhin
1bbdbfb727 Refactor for appending additional tiles graphics to existing ones 2022-10-07 19:59:55 +03:00
alyokhin
2c3c91d5ca Extended tileset parser updated to use graphic generator 2022-10-07 19:59:55 +03:00
alyokhin
185d7cb00a Finished implementation of tileset graphics generator 2022-10-07 19:59:55 +03:00
alyokhin
43e93b011e added wrappers for composite sdl based types 2022-10-07 19:59:55 +03:00
alyokhin
f868f32f71 added smart pointers adjusted for sdl2 2022-10-07 19:59:55 +03:00