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
Chris Forbes
43fc1219f0
add Required field to PlayerReference
2012-09-16 10:51:49 +12: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
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13: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
5f6d2df503
Drop support for older map formats.
2011-02-11 21:50:11 +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
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
Chris Forbes
cfc937e8eb
add PlayerReference.DefaultStartingUnits flag (set for autogenerated playerrefs; don't set this if you have custom stuff.
2010-08-25 18:28:36 +12:00
Chris Forbes
16402f26fe
start breaking things
2010-08-24 20:02:13 +12:00
Paul Chote
02a7b092dc
Use map-defined stances
2010-08-15 20:15:45 +12:00
Paul Chote
d43781c604
Import legacy players
2010-08-15 20:15:45 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Paul Chote
9875a968bc
Map ctor no longer assumes anything about mods (fixes cnc custom-map crash)
2010-07-17 12:03:25 +12:00
Paul Chote
bce5f2c681
Use custom colors ingame; requires a map format change to kill the obsoleted "palette" field
2010-07-16 23:47:33 +12:00
Paul Chote
2dfa4d9db7
MapFormat = 1 and editor support
2010-05-24 21:18:54 +12:00
Paul Chote
78455a3dce
IsSpecial -> NonCombatant
2010-05-24 21:18:53 +12:00
Paul Chote
35ca5f80b2
Nits.
2010-05-24 21:18:53 +12:00
Paul Chote
a6f5b12a55
world.NeutralPlayer has been defeated
2010-05-24 21:14:36 +12:00
Paul Chote
d9931af5ae
First attempt; works, but has regressions in several areas
2010-05-24 21:14:36 +12:00