Changes between Version 4 and Version 5 of Ticket #1449, comment 25
- Timestamp:
- Jun 26, 2012, 12:01:53 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1449, comment 25
v4 v5 8 8 No. I wanted to but didn't want to change the function without confirmation. I started a thread for that but none reacted, perhaps I didn't make my point clear enough: http://www.wildfiregames.com/forum/index.php?showtopic=16019. So I added another similar function with support of keyword arguments (don't know if that's a usual practice in javascript) with a reasonable name to support the Iberian civ bonus wall. The old function is still there as it was e.g. still used by RMS Fortress. 9 9 10 I don't really mind the naming. IMO it's not very confusing since placers are called xyzPlacer and are placed with xyzPlacer.placeAFAIK so it doesn't begin with "place" anyway.10 I don't really mind the naming. IMO it's not very confusing since placers are called `xyzPlacer` and are placed with `xyzPlacer.place` AFAIK so it doesn't begin with "place" anyway. 11 11 12 12 The new function doesn't take the starting entities but just the civ string and gets the starting entities in the function. I guess that's what you mean? 13 13 14 I think best would be to use the new function, rename it to the old functions name and add a keyword argument for startingEntities. That way the common case would be easy to use but changed starting entities and the iberian civ bonus walls are supported as well.14 I think best would be to use the new function, rename it to the old functions name (removing the old one) and add a keyword argument for `startingEntities`. That way the common case would be easy to use but changed starting entities and the Iberian civ bonus walls are supported as well.