Commit graph

18082 commits

Author SHA1 Message Date
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
alyokhin
cea5c00ff7 Enable hotkey to toggle map grid in the editor 2022-10-07 19:59:54 +03:00
alyokhin
14c0e70ae9 Enhanced a readability of displayed tile's info. Also added information about elevation level 2022-10-07 19:59:54 +03:00
alyokhin
c544a35919 Added elevation level into the map field 2022-10-07 19:59:54 +03:00
alyokhin
db2983bce8 Enabled highground check for field of view calculation 2022-10-07 19:59:54 +03:00
Tim Felgentreff
498e03b088
Merge pull request #419 from ipochto/fix/DrawMapBackground
Additional fix for broken map rendering in cases when map is revealed.
2022-10-07 18:52:22 +02:00
alyokhin
04b5d51222 Additional fix for broken map rendering in cases when map is revealed. 2022-10-07 16:46:10 +03:00
Tim Felgentreff
6ecfc7599c
Merge pull request #417 from ipochto/fix/DrawMapBackground
Fixed broken map rendering in cases when map is revealed
2022-10-01 18:02:11 +02:00
alyokhin
fa13f46277 Fixed broken map rendering in cases when map is revealed 2022-10-01 16:23:54 +03:00
Tim Felgentreff
18fad73cfb
Merge pull request #415 from bmwiedemann/date
Allow to override build date with SOURCE_DATE_EPOCH
2022-09-26 08:59:17 +02:00
Bernhard M. Wiedemann
56c2d998d9 Allow to override build date with SOURCE_DATE_EPOCH
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.

This patch was done while working on reproducible builds for openSUSE.
2022-09-25 12:08:55 +02:00
Tim Felgentreff
3fc5f5c6ed run OnReady script in CreateUnit 2022-09-09 07:36:15 +02:00
Tim Felgentreff
49f4e88cde fix build on windows 2022-09-09 07:32:06 +02:00
Tim Felgentreff
56f3be8612 add lost find_package for lua 2022-09-09 07:15:51 +02:00
Tim Felgentreff
bae33bc0a7 Merge branch 'master' of https://github.com/Wargus/stratagus 2022-09-09 07:11:23 +02:00
Tim Felgentreff
c13ff9d3c0 expose remaining path length to animation scripts 2022-09-07 19:54:04 +02:00
Tim Felgentreff
3ef7bfd135 basic animated rotation, as a purely cosmetic thing, but exposed to unit animation scripts 2022-09-05 19:45:14 +02:00
Tim Felgentreff
a2964d4e78 refactor common waiting code out 2022-09-04 19:54:51 +02:00
Tim Felgentreff
b971410c01 add lua function to turn a unit towards another unit or location 2022-09-04 15:12:18 +02:00
Tim Felgentreff
65012977b0 allow query of the Summoned value of a unit 2022-09-04 15:12:03 +02:00
Tim Felgentreff
2b5564469b allow MoveUnit to also set IX/IY displacement 2022-09-04 15:11:50 +02:00
Tim Felgentreff
7b6f9899a4 add a bool flag for units that do not turn towards their enemy 2022-09-04 15:11:33 +02:00
Tim Felgentreff
4c748b427a make personal space configurable via lua 2022-09-03 16:21:14 +02:00