[Commits] [wesnoth/wesnoth-old] a21d13: Refactored trash terrain gfx macros into a separat...
GitHub
noreply at github.com
Fri Feb 14 01:59:51 UTC 2014
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth-old
Commit: a21d13f1f4bbb91d043f76f7b16c3068e4419865
https://github.com/wesnoth/wesnoth-old/commit/a21d13f1f4bbb91d043f76f7b16c3068e4419865
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M data/core/terrain-graphics.cfg
A data/core/terrain-graphics/trash.cfg
Log Message:
-----------
Refactored trash terrain gfx macros into a separate file, removed TRI prefix
The macro-less portions of these terrain graphics rules are now the
TRASH_A and LITTER_BASE macros. I tried to the best of my ability to
understand how they are supposed to work together, so this is the naming
scheme and parameter set I found to be the most optimal:
#define TRASH_A TERRAIN PROB IMAGESTEM
Covers the first and second rules, which are used on a single
terrain pattern.
#define LITTER_BASE TERRAIN IMAGESTEM
Covers the third rule, which affects both trash terrains.
Commit: 30200a012c6991fca4f1d4d072a90d53668d4318
https://github.com/wesnoth/wesnoth-old/commit/30200a012c6991fca4f1d4d072a90d53668d4318
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2014-02-13 (Thu, 13 Feb 2014)
Changed paths:
M data/core/terrain-graphics.cfg
Log Message:
-----------
Move rules for trash terrains up to where they belong in terrain-graphics.cfg
Compare: https://github.com/wesnoth/wesnoth-old/compare/3486ad75d5b4...30200a012c69
More information about the Commits
mailing list