Commit graph

18053 commits

Author SHA1 Message Date
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
alyokhin
38ffc828a6 added new wrappers to ranges 2022-10-07 19:59:55 +03:00
alyokhin
cefb6054ae wip 2022-10-07 19:59:54 +03:00
alyokhin
5b1a5f442f Fixed source surface for key color taking 2022-10-07 19:59:54 +03:00
alyokhin
6c8a3c86b9 Const corectness and some refac 2022-10-07 19:59:54 +03:00
alyokhin
860bcf2b8b Added dropping empty frames 2022-10-07 19:59:54 +03:00
alyokhin
799df3dbe3 Fixed compile errors 2022-10-07 19:59:54 +03:00
alyokhin
4c9ec9471b Added pixel modifier for removing certain colors from tiles images 2022-10-07 19:59:54 +03:00
alyokhin
c91d080a20 parser for image generator. wip 2022-10-07 19:59:54 +03:00
alyokhin
76935dd6dd Fixed comments 2022-10-07 19:59:54 +03:00
alyokhin
8ddb2f17f1 described extended tileset definition format 2022-10-07 19:59:54 +03:00
alyokhin
c24ec8b670 Fixed ranges parser, comments added. 2022-10-07 19:59:54 +03:00
alyokhin
7bb4ebdab2 renaming 2022-10-07 19:59:54 +03:00
alyokhin
8c10c0f314 Implementation of extended tileset parser. wip. 2022-10-07 19:59:54 +03:00
alyokhin
aacc4796fb added wrapper for std::iota 2022-10-07 19:59:54 +03:00
alyokhin
3bd688ca5d typo 2022-10-07 19:59:54 +03:00
alyokhin
a7174f055d fn arguments optimized 2022-10-07 19:59:54 +03:00
alyokhin
0dfb25d275 type correctness refac 2022-10-07 19:59:54 +03:00
alyokhin
2df92d6ed7 refactored ranges parser 2022-10-07 19:59:54 +03:00
alyokhin
bb9aad4f2c Added forgotten include 2022-10-07 19:59:54 +03:00
alyokhin
6230a59648 Added range versions of std::for_each and std::fill 2022-10-07 19:59:54 +03:00
alyokhin
84ac4e4d1e Added parser for tiles ranges 2022-10-07 19:59:54 +03:00
alyokhin
13c6b91e1b Implemented to append frames to the already existing set of graphics. 2022-10-07 19:59:54 +03:00
alyokhin
36eefc33c4 Fixied calculations and assertion added 2022-10-07 19:59:54 +03:00
alyokhin
abdaf1305b Added posibility to increase number of frames for already created CGraphic objects 2022-10-07 19:59:54 +03:00
alyokhin
fcba4a12e3 Fixed condition check to set elevation level on mouse click 2022-10-07 19:59:54 +03:00
alyokhin
d30bf232ff Added option to editor to hightlight layers. 2022-10-07 19:59:54 +03:00
alyokhin
9472a4d1fe Added new editor mode to change map field's elevation level 2022-10-07 19:59:54 +03:00
alyokhin
99f3034c12 Added possibility to highlight map fields (editor's feature: highlight layers) 2022-10-07 19:59:54 +03:00
alyokhin
227f7b6104 Enabled rectangle drawing for the tile under cursor 2022-10-07 19:59:54 +03:00