Commit Graph

96 Commits

Author SHA1 Message Date
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
Matthias Mailänder
8718a9cb44 load projectiles, muzzles and explosions from DATA.R8 2013-08-17 23:31:22 +02:00
Matthias Mailänder
d0d2c7a49b load Dune 2000 aircraft directly from DATA.R8 2013-08-17 23:31:22 +02:00
Matthias Mailänder
bed3fc2498 replace the infantry sequences with transposed DATA.R8 frames 2013-08-17 23:31:22 +02:00
Matthias Mailänder
341522232e migrate all other buildings to DATA.R8 sequences
4th conyard might be for the Corrino faction
TODO: active animations are yet unused overlays

no need to render build-top for refineries
2013-08-17 23:31:22 +02:00
Matthias Mailänder
03eaf76cd8 moved the towers to DATA.R8 sequences 2013-08-17 23:31:22 +02:00