def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
fd67259b77
Silence GCC warning
...
src/game/editor/auto_map.h:47:9: warning: ‘*((void*)& NewConf +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
I don't think it's an actual problem
2020-05-23 18:11:35 +02:00
Aerll
9f4721b74b
Fix: automapper skips tiles when it shouldn't
...
In case of something like: INDEX 0 OR 1 all tiles need to be automapped.
2019-12-05 15:28:35 +01:00
heinrich5991
1e2b8a4a3e
Replace str_comp_num
with str_startswith
2019-07-31 21:20:03 +02:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
Learath
93d14a1eca
Inconvenience for windows
2019-04-26 22:36:49 +03:00
Bojidar Marinov
e944817472
Fix automapper not removing the Opaque flag before checking if flags match
2019-03-11 14:35:24 +02:00
def
16f6e23aaa
Nicer fix for crash
2019-01-10 15:44:04 +01:00
Bojidar Marinov
351fee2666
Optimize automatic automap to automap only around changes.
...
Should work, no flaws found when testing with grass_main
2018-10-09 12:56:48 +03:00
Bojidar Marinov
c52a3c970e
Add option to automatically run the automapper
...
Also, put automapping config selection seperatelly from the automapper button.
Also, add seed parameter to the automapper.
2018-10-09 12:56:48 +03:00
Aerll
9951b2a187
optimize automapper a bit
2018-08-11 03:01:25 +02:00
Aerll
abc55396d0
fix flag test bug
2018-08-09 23:45:04 +02:00
Dennis Felsing
409abf1b90
Simplify code a bit
2018-07-27 07:51:16 +02:00
Dennis Felsing
4f18d7f9b8
Merge pull request #1213 from Aerll/automapper
...
Add 2 new commands for automapper
2018-07-27 07:49:04 +02:00
Aerll
292f0a2b09
no need for all pos rule tests
2018-07-27 00:23:53 +02:00
Aerll
52fbade30c
remove unnecessary tiles overwriting
2018-07-26 22:58:05 +02:00
Aerll
56a5ee6d1b
formatting..
2018-07-26 18:59:29 +02:00
Aerll
2e7a0be516
wrong naming for pointer
2018-07-26 18:26:12 +02:00
Aerll
3c07a2b35b
fixes #1213
2018-07-26 14:49:43 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
Tim Schumacher
1e3b8c7db5
Fix automapper crash without [section] line
2018-07-26 01:21:20 +02:00
Aerll
d235036f7d
Merge branch 'master' into automapper
2018-07-25 00:25:30 +02:00
Bojidar Marinov
a635d4a121
Allow entering automapper rule probability as percentage
...
Fixes #837
2018-07-24 21:44:33 +03:00
Aerll
d5572dcb23
add 2 new commands to automapper
2018-07-19 17:09:29 +02:00
timgame
929919d44b
improved grass_main/0.7 automapper by hi_leute_gll
2015-07-09 19:17:46 +02:00
def
6e8ada1ac8
Fix whitespaces a bit
2015-07-09 02:12:35 +02:00
timgame
6188b16e5e
added tile -1 and updated grass automappers
2015-03-04 16:03:52 +01:00
timgame
d2e1137254
automapper: added 'NewRun'
2015-02-20 00:15:09 +01:00
timgame
758c4b1c4d
added 'NOINDEX' and 'OR' to automapper
2015-02-19 22:54:47 +01:00
timgame
beb125da36
remove basetile
2014-10-20 23:55:55 +02:00
timgame
20aaa37cb9
automapper supports rotation
2014-09-27 10:11:28 +02:00
timgame
8dc728de96
added option to automap tiles with index 0
2014-09-20 20:57:29 +02:00
timgame
442f88bd2b
automapper works without basetile
2014-09-15 14:45:37 +02:00
def
80b33220bf
Fix automapper
2013-12-28 13:59:14 +01:00
def
104939b407
More flexible auto mapping
2013-12-28 01:09:47 +01:00
def
da60fb4dc1
Auto mapper: Support 2 flips
2013-12-27 18:32:58 +01:00
Shereef Marzouk
c6fd4a2cc5
General whitespace and tab cleanup
2011-08-11 10:59:14 +02:00
oy
7bc07b613f
added auto mapping feature by LordSkelethom
2011-07-09 01:09:06 +02:00