Paul Chote
d70a5aff6a
Tidy TileSet formatting (no code changes).
2013-05-15 19:24:18 +12:00
Paul Chote
656476991f
Replace ColorRamp with HSLColor everywhere.
...
Fixes:
* Nuclear-purple color exploit.
* #3247 .
* Removes a bunch of unnecessary color conversions every frame.
Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Curtis Shmyr
ac301b22e2
Editor - Template categories are now ordered by whats specified in the tileset yaml
2013-01-08 20:11:22 +13:00
Matthias Mailänder
f3dc31be40
add PlayerPaletteFromCurrentTileset and desert tileset for RA
...
some things left to do:
ore, walls and silo/hbox need some work
2012-11-17 13:15:06 +01:00
Matthias Mailänder
a2f5ffd59e
made WaterPaletteRotation more configurable
...
Base is now configurable per terrain
ExcludePalettes is now exposed to yaml
2012-11-17 13:13:32 +01:00
Chris Forbes
43fc1219f0
add Required field to PlayerReference
2012-09-16 10:51:49 +12:00
Chris Forbes
f2ab8a8541
generalize rough cursor to be customizable for any terrain type
2012-07-01 12:49:14 +12:00
Matthias Mailänder
d3915ad291
string AcceptsSmudgeType replaces boolean AcceptSmudge
...
because Dune 2000 has different craters for rock and sand
2012-06-27 13:19:52 +12:00
Chris Forbes
0ec3e8b227
add Category to tileset entries
2012-06-26 19:33:02 +12:00
Chris Forbes
d57dfd1997
tidy
2011-12-27 21:23:25 +13:00
Chris Forbes
40029c6688
use string.F() extension method everywhere possible; fix various small issues in error messages
2011-12-13 23:57:23 +13:00
Chris Forbes
a060d99780
add dropdown in editor for choosing owner of new actors
2011-11-01 22:00:29 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
3991026cf3
add a new menu item to setup default players in editor
2011-10-15 12:29:17 +13:00
Chris Forbes
a34b2d8c53
combine tileset.{Tiles,Templates}; image data now accessed via Templates[].Data
2011-10-11 08:06:23 +13:00
Chris Forbes
e2cbfb920b
tidy in TileSet
2011-10-11 08:06:23 +13:00
Chris Forbes
1f1c2b25b0
move RenderTemplate onto TileSet
2011-10-11 08:06:23 +13:00
Chris Forbes
eaf15fa6b5
tidy in TileSet
2011-10-11 08:06:23 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
67b4ef3084
#1108 changed BuildingInfo.WaterBound to a list of terraintypes. makes it possible to have buildings with custom terrain requirements
2011-08-17 07:52:35 +12:00
Chris Forbes
cd63da85d8
remove FieldLoader.LoadAttribute; replace with FieldLoader.IgnoreAttribute
2011-07-14 20:29:03 +12:00
Paul Chote
bafa411329
Expose LockTeam/LockSpawn to mappers
2011-06-20 22:50:31 +12:00
Paul Chote
fe5ef82cdf
Allow bot players to be created via map.yaml
2011-06-20 13:03:23 +12:00
Paul Chote
5d762b1f9c
Fix root cause for `world owned by creep' bugs
2011-03-29 21:13:01 +13:00
Paul Chote
eb9054a4d6
Fix default ColorRamp
2011-02-17 21:50:16 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
b134ba41f4
Convert Waypoints to actors
2011-02-11 21:50:11 +13:00
Paul Chote
4a7be2e0c8
Remove redundant MapStub fields.
2011-02-11 21:50:11 +13:00
Paul Chote
5f6d2df503
Drop support for older map formats.
2011-02-11 21:50:11 +13:00
Paul Chote
db770eb997
Bake PickAny tiles on map save. Translate maxvalue index to random tile for backwards compat.
2011-02-11 21:50:10 +13:00
Paul Chote
9407c55262
Drop TopLeft and BottomRight from MapFormat 5. Use Bounds directly.
2011-02-11 21:50:10 +13:00
Paul Chote
6ef330c357
Fix Waypoint == Startpoint assumption in MapFormat 5.
2011-02-11 21:50:10 +13:00
Paul Chote
fae355f5b6
Add support for a "Creeps" faction that is hostile to all combatant players. Add a mod field to be used for map installation.
2011-02-11 21:50:10 +13:00
Chris Forbes
70afea85a9
new map format introduced: 4. format3 player colors are automatically upgraded to ColorRamp
2011-01-08 18:17:19 +13:00
Chris Forbes
3426b52247
add ColorRamp type; change everything to use it; maps not yet upgraded
2011-01-08 18:17:18 +13:00
Paul Chote
b7975031bc
Wire up most of saving again.
2010-12-29 22:13:51 +13:00
Paul Chote
fc6438e311
Use Filepaths instead of IFolders where possible.
2010-12-29 21:25:43 +13:00
Paul Chote
829fe6530a
Start fixing the editor
2010-12-29 19:03:45 +13:00
Chris Forbes
44e668e804
choose a random map with MapStub.UseAsShellmap as the shellmap, rather than hardcoding a sha1 in mod.yaml; add editor support for the new flag too.
2010-12-28 19:13:56 +13:00
Chris Forbes
c20b3b90f4
dont use the .uid file hack -- compute them on demand
2010-12-28 18:52:19 +13:00
Paul Chote
08eeec4d99
More lobby polish (mainly map chooser).
2010-11-30 21:20:57 +13:00
Paul Chote
fc5830a687
Added int2.Clamp(Rectangle). All queries for map geometry use map.Bounds.
2010-11-24 12:24:48 +13:00
Paul Chote
de8603832f
Use Map.Bounds instead.
2010-11-24 11:12:37 +13:00
Paul Chote
356c750b23
Refactor Package -> MixFile; group filesystem related classes in FileFormats.
2010-11-09 11:02:13 +13:00
Paul Chote
fc07f90f91
Fix editor
2010-10-16 12:06:29 +13:00
Paul Chote
83968553aa
Allow maps to override and enforce race/colour selection
2010-10-16 09:56:01 +13:00
Paul Chote
aa2aba1250
Allow map slots to disallow bots
2010-10-16 09:56:00 +13:00
Paul Chote
051c451867
Support custom tile size ingame
2010-09-15 19:31:21 +12:00
Paul Chote
ac8a3526a4
Custom tilesize support for editor
2010-09-15 19:31:21 +12:00
Paul Chote
be47fb55e8
Initial support for custom tile sizes
2010-09-15 19:31:21 +12:00