Paul Chote
3033eb8be0
Die with a helpful error if a palette doesn't exist.
2013-02-26 09:35:41 +13:00
Paul Chote
e9665cf9f3
Remove WorldRenderer.GetPaletteIndex.
2013-02-26 09:35:41 +13:00
Paul Chote
9bc743068a
Remove WorldRenderer.GetPalette.
2013-02-26 09:35:41 +13:00
Paul Chote
72a9954491
Simplify PaletteReference interface.
2013-02-26 09:35:40 +13:00
Paul Chote
f2fe30a7bb
Remove PaletteReference.FromName from TeslaZap.
2013-02-26 09:35:39 +13:00
Paul Chote
ce39c79477
Apply consistent formatting to PBOG (no code changes).
2013-02-26 09:32:16 +13:00
Paul Chote
6fc4807a10
Remove PaletteReference.FromName from PBOG.
2013-02-26 09:31:19 +13:00
Paul Chote
f890ea010e
Pass WorldRenderer to RenderAsTerrain for palette lookup.
2013-02-26 09:24:43 +13:00
Paul Chote
5b360a7fe2
Use PaletteReferences in ShroudRenderer.
2013-02-26 09:24:43 +13:00
Paul Chote
55efd53ef7
Make RenderSimple.Palette protected.
2013-02-26 09:24:43 +13:00
Paul Chote
fa5cf96f40
Ditto for Corpse.
2013-02-26 09:24:43 +13:00
Paul Chote
e33c783fc1
Ditto for GpsDot.
2013-02-26 09:24:42 +13:00
Paul Chote
5a4bd14835
Ditto for RallyPoint.
2013-02-25 21:12:01 +13:00
Paul Chote
43159a0e05
Remove RepairIndicator dependence on target RenderSimple.
...
This also fixes the case where the building palette doesn't
match the indicator, and saves 2 trait lookups per tick.
2013-02-25 21:12:01 +13:00
Paul Chote
3380817865
Pass WorldRenderer to Render().
2013-02-25 21:11:33 +13:00
Paul Chote
d6fcaafd78
Let parachute cargo render themselves.
...
This allows for tanks and other multi-sprite
actors to render correctly while dropping.
2013-02-25 21:10:16 +13:00
Paul Chote
0703f3f164
Extract auto-selection-size into its own interface.
2013-02-25 21:10:08 +13:00
Paul Chote
000a5eaa56
Pass WorldRenderer to IRenderModifiers and replace more palette lookups.
2013-02-24 15:45:03 +13:00
Paul Chote
48d713aafd
Pass a PaletteReference to RenderPreview.
2013-02-24 15:43:20 +13:00
Paul Chote
885eec7444
Move effects to WorldRenderer palette lookup.
2013-02-24 15:43:20 +13:00
Paul Chote
95871e6cc1
Add a cache of PaletteReferences to WorldRenderer.
...
I don't expect any perf improvements by using this
cache, as you're simply moving the row lookup from
render-time to fetch-time. However, this is a
cleaner abstraction, and allows us to fail early
if the palette doesn't exist.
2013-02-24 15:43:19 +13:00
Paul Chote
f0ba0ce2e8
Wrap palette references with a PaletteRef object.
2013-02-24 15:43:15 +13:00
Paul Chote
a166815348
Remove duplication between world/chrome shaders.
2013-02-23 09:53:46 +13:00
Paul Chote
35a149ea87
Apply consistent formatting to Renderer (no code changes).
2013-02-23 09:46:16 +13:00
Paul Chote
0287993c31
Add bitmap export to palette (for debugging).
2013-02-22 17:11:18 +13:00
Paul Chote
2d10f6b739
Remove unnecessary indirection from palette creation.
2013-02-22 17:06:29 +13:00
Paul Chote
db7887687b
Remove hardcoded list of palette mod exclusions.
2013-02-22 15:04:41 +13:00
Paul Chote
f593807617
Rework color picker palette modification.
...
The old method had the lobby code dig around inside
the palette modification machinery, which was a giant
hack preventing necessary streamlining.
2013-02-22 15:04:41 +13:00
ScottNZ
750bdb7bba
Update CHANGELOG
...
Some typos/wording issues fixed
2013-01-28 19:47:31 +13:00
Scott_NZ
8a796416a4
Remove AutoTargetIgnore for stek after Einstein is freed
2013-01-28 00:33:09 +13:00
Scott_NZ
691e6cf9e8
Have the Soviets build infantry after Einstein is found. Remove jeep cargo limit
2013-01-28 00:33:08 +13:00
Scott_NZ
de208e7a2f
Fix nonworking attack code in Allies 01
2013-01-28 00:33:08 +13:00
Scott_NZ
63a72c5d28
Remove unused variable
2013-01-28 00:33:08 +13:00
Scott_NZ
b6b4b89008
Refactor cash code in Allies campaign. Adjust starting cash to 10000 in SP Allies 03
2013-01-28 00:33:08 +13:00
Scott_NZ
0b65735d86
Make the LSTs unbuildable
2013-01-28 00:33:07 +13:00
Scott_NZ
44215ae6f1
Add new trait interface INotifyTransformed and use it in Allies 04 to make the transport remove its cargo capacity after it unloads its passengers
2013-01-28 00:33:07 +13:00
Scott_NZ
fba5b80980
Allies 04: Add more town stuff. Remove leftover hind stuff. Only have patrol 3 on hard difficulty
2013-01-28 00:33:07 +13:00
Scott_NZ
3f6af59612
Add AutoTargetIgnore for the new bridges
2013-01-28 00:33:07 +13:00
Scott_NZ
693a622322
Fix Soviets not attacking town properly. Remove hind patrol.
2013-01-28 00:33:07 +13:00
Scott_NZ
60e9d3f660
Add c3 civilian, made by JOo
2013-01-28 00:33:06 +13:00
Scott_NZ
1d40858f70
Have the Soviets attack the town in Allies 04
2013-01-28 00:33:06 +13:00
Scott_NZ
5188529ff6
Allies 04: Adjust one of the patrol routes
2013-01-28 00:33:06 +13:00
Scott_NZ
2079db79f7
Allies 04: Hack in a fix to stop player hero spies infiltrating buildings they shouldn't
2013-01-28 00:33:05 +13:00
Scott_NZ
d73eec068f
Fix some bad Allies 01 bounty yaml
2013-01-28 00:33:05 +13:00
Scott_NZ
8a32e5761c
Change map player clientindex to 0
2013-01-28 00:33:05 +13:00
Scott_NZ
12e1a531fe
Tidy campaign stuff
2013-01-28 00:33:05 +13:00
Scott_NZ
32830da3c2
Remove bounties from things in Allies 01
2013-01-28 00:33:05 +13:00
Scott_NZ
9f47e75492
Allies 01: only set eligible units to defensive stance
2013-01-28 00:33:04 +13:00
Scott_NZ
e975681c16
Add more time to complete Allies 04 - the bridge destruction makes the mission more difficult
2013-01-28 00:33:04 +13:00
Scott_NZ
a968d296bb
Remove v01.sniper from Allies 04
2013-01-28 00:33:04 +13:00