Matthias Mailänder
6097b3eb19
document the various overlay and animation change traits
2014-07-03 09:50:10 +02:00
RoosterDragon
7030d8b2b6
Changed HardwarePalette.ApplyModifiers to be more efficient.
...
- Add separate ImmutablePalette and MutablePalette classes since the distinction is extremely important to HardwarePalette.
- Keep a cache of palettes in HardwarePalette to avoid reallocation them every time ApplyModifiers is called.
- Palettes that are not allowed to be modified are copied to the buffer once when added, rather than every time ApplyModifiers is called.
- The AdjustPalette method now takes a read-only dictionary to prevent the dictionary being messed with.
- Added a constant for the palette size to remove its usage as a magic number in several areas.
- The ColorPreviewManagerWidget is annoying in that it needs to actually permanently update a palette after it has been added. To allow this, HardwarePalette now allows a palette to be replaced after initialization. The WorldRenderer therefore now also updates the PaletteReference it created earlier with the new palette to prevent stale data being used elsewhere.
2014-06-28 01:11:48 +01:00
Paul Chote
295af5741f
Use CellLayers for ResourceLayer.
2014-06-27 22:07:01 +12:00
Paul Chote
ca082e3cec
Allow ProductionQueue to filter by race.
2014-06-26 23:14:13 +12:00
RoosterDragon
38617dc0a9
Run StyleCop on the smaller projects.
...
Also add a copy of the rules to the CrashDialog and Irc projects.
2014-06-23 00:03:37 +01:00
RoosterDragon
e0d8d8cf80
Clean up project settings.
...
- Create single platform config named x86 and have all projects target x86.
- Remove Release config (broken anyway).
- For the Debug config, ensure TRACE and DEBUG constants are set and unsafe code is allowed for all projects (same as the makefile).
- Warn level 4 and optimizations off were removed from the config automatically by VS (it assumes these values by default, and these match the makefile).
- The CrashDialog project can reuse the icon from the Game project as long as the path is set correctly.
- Fix TS project so it builds (I know it's going but its annoying that the project must be unloaded).
2014-06-20 19:29:54 +01:00
Matthias Mailänder
1c719cb34f
document D2kResourceLayer
2014-06-19 21:21:16 +02:00
RoosterDragon
22abf9b4c4
Remove and sort usings.
2014-06-18 21:43:35 +01:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Pavlos Touboulidis
c282fa1077
Move GetTerrainIndex/Info from WorldUtils to Map
2014-06-13 13:57:32 +03:00
Pavlos Touboulidis
092352729f
Change terrain type from string based dictionaries to arrays
2014-06-13 11:20:54 +03:00
ScottNZ
40e9fb93d6
Revert project file changes by RoosterDragon which would cause the TD mod to fail to load for some reason on Windows ( de7a837d94, #5403 ).
...
VS will also generate a warning if it tries to source an icon from somewhere not in the project directory, so added it to the CrashDialog folder.
2014-05-26 00:07:30 +12:00
RoosterDragon
de7a837d94
Unify settings for solution and project setups.
...
Create a single solution platform named x86.
Ensure both Debug and Release configs build to the root for all projects.
Ensure all Release configs generate pdbs.
2014-05-23 08:16:09 +01:00
Paul Chote
ab1ce4554d
Fix star port and repair depot lights.
2014-05-23 00:37:21 +12:00
Paul Chote
46a7c9c469
Add custom palette support to With*Overlay.
2014-05-23 00:37:20 +12:00
Paul Chote
4aa7376994
Add wrappers for RenderSprites anims dictionary.
2014-05-22 23:35:10 +12:00
Matthias Mailänder
ddb0d70fd2
add the starport active animation
2014-05-20 11:41:41 +02:00
Pavlos Touboulidis
f651cb3677
Final style & rebase fixes
2014-05-17 14:34:52 +03:00
Pavlos Touboulidis
b560268495
Change animations to use the proper SequenceProvider
...
Remove references to the global "Game" and use the SequenceProvider
of the current world/map.
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Matthias Mailänder
ba309a3367
add spice refinery smoke overlay when harvester docked
2014-05-14 09:39:45 +02:00
reaperrr
f7506b8a79
Fix warning message when compiling under Windows (MSBuild/VS).
2014-05-13 14:45:53 +02:00
Paul Chote
d73af0190f
Add a new native-lua implementation.
2014-05-02 22:18:34 +12:00
Matthias Mailänder
eb6d9f6f69
only show welding overlays when factories are producing
...
closes #3756
2014-04-20 15:07:22 +02:00
Paul Chote
048289e6a9
Merge pull request #5138 from Mailaender/disable-idle-overlay
...
Fixed the Dune 2000 outpost radar dish rotating when powered down
2014-04-21 00:59:38 +12:00
Matthias Mailänder
01a3162725
allow animations to pause on low power
...
closes #2949
2014-04-20 14:47:53 +02:00
Matthias Mailänder
00ca5516fc
add crane animation to Dune 2000 and Tiberian Sun
...
closes #3754
2014-04-19 13:12:32 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Matthias Mailänder
9c499cc9e5
Merge pull request #5082 from pchote/dotnetfour
...
Upgrade to .NET 4.0
2014-04-11 09:17:50 +02:00
Matthias Mailänder
67cd0645a4
update to .NET 4.0
2014-04-09 20:20:26 +12:00
Chicken man
e6c0a00604
Closes #4463 . Added Shrapnel, as well as variable velocity and arc for bullets
2014-04-07 17:09:52 -04:00
Paul Chote
c098f85e6f
Add DamagedWithoutFoundation trait for building weathering.
2014-03-18 15:28:49 +13:00
Paul Chote
4d70996012
New shroud renderer. Fixes #2162 . Fixes #3024 . Fixes #4034 .
...
Uses the original tile sprites in C&C and D2K and uses a smoother transition in all mods.
2013-12-11 20:51:49 +13:00
Paul Chote
089973280d
Add Multiply blend mode for D2K move-flash and shroud.
2013-12-11 19:22:54 +13:00
Paul Chote
ca2749dcc0
Support soft edges on D2K spice tiles. Fixes #2247 .
2013-12-06 22:27:51 +13:00
Paul Chote
19ddb61d18
Don't show make animations for starting actors.
2013-12-04 10:24:55 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
fb6bb63b29
removed BuildingCapture redundancy
2013-11-09 10:32:36 +01:00
Paul Chote
536013f2d2
Rescale the custom palette from 0-128.
2013-10-26 19:15:05 +13:00
Paul Chote
ff21ec1605
Add PaletteFromR8 for loading embedded palettes.
...
The frames that define a custom palette are:
Frame range -> offset (mem offset)
38 -> 12007 (22063136)
178 -> 159947 (21859680)
3494 - 3501 -> 2437846 (23366680)
3502 - 3509 -> 2443858 (23422744)
3510 - 3511 -> 2459105 (23363608)
3621 - 3625 -> 2572352 (23550488)
3739 - 3742 -> 2676956 (23534796)
2013-10-26 17:54:56 +13:00
Matthias Mailänder
cdfc21af2c
remove redundant install and download logic
2013-10-06 10:52:55 +02:00
Matthias Mailänder
19b649ba60
unify D2k, RA, TS loadscreens to avoid redundancy
...
load text comments from mod.yaml (comma separated)
2013-10-05 18:37:22 +02:00
Paul Chote
b7123cda7d
Route screen size queries via Game.Renderer.
2013-10-05 21:01:21 +13:00
Matthias Mailänder
de4c224b5c
separate RALint tests from regular builds
2013-09-20 18:27:46 +02:00
Matthias Mailänder
bf521518af
cleanup the rubble
2013-08-17 23:56:12 +02:00
Matthias Mailänder
8c6074a081
WithCrumbleOverlay for Dune 2000 buildings
2013-08-17 23:47:09 +02:00
Matthias Mailänder
6e26173f0f
remove foreign dependencies from d2k mod entirely
2013-08-17 23:31:23 +02:00
Matthias Mailänder
a831b8984a
port map actors to DATA.R8 sequences
2013-08-17 23:31:22 +02:00
Matthias Mailänder
efb55d4cb9
read support power icons from sequences
...
so that d2k can grab them from DATA.R8
2013-08-17 23:31:22 +02:00
Matthias Mailänder
b73ca27a8f
move vehicles to load sprites from DATA.R8 directly
2013-08-17 23:31:22 +02:00