Commit Graph

331 Commits

Author SHA1 Message Date
Justin Marshall d983592f2e Fixed a bug were nonremappable buildings were getting team colors assigned. 2020-08-05 13:36:11 -07:00
Justin Marshall dcd40b2018 Switched civilian building anims over to the TS SHP pipeline(from PNG) so the shadows work and such but for some reason these three civi buildings are more yellow need to look into that. 2020-08-05 12:55:32 -07:00
Justin Marshall 9ca02bef6e Added RA2 pillbox and added missing IdleAnimIgnorePowerState in Read_INI. 2020-08-05 11:52:11 -07:00
Justin Marshall 50024e0125 Temp fix for shroud gaps, units no longer will draw in shroud neighbor tiles. 2020-08-04 21:26:37 -07:00
Justin Marshall ee069c90bb Added Tiberian Sun shroud borders for fog of war. 2020-08-04 18:42:30 -07:00
Justin Marshall 2c445ae910 Radar dome will still render idle animation on low power. 2020-08-04 14:55:33 -07:00
Justin Marshall cfe934e8db Fixed a bug were HD images would draw broken shadows. 2020-08-04 14:44:50 -07:00
Justin Marshall 72f75b1872 Added tesla coil side bar icon, added fastbuild option in rules.ini. 2020-08-04 14:14:40 -07:00
Justin Marshall f8699651b4 Fixed a bug from previous CL that broke shadows. 2020-08-04 14:02:21 -07:00
Justin Marshall 1d79c5ddd8 Added RA2 tesla coil graphics, cleaned up Image_CreateImageFrom8Bit. 2020-08-04 13:45:53 -07:00
Justin Marshall cbd359e387 Initial Prism zap support. 2020-08-04 10:49:25 -07:00
Justin Marshall 6ee6c84777 Tesla attack now works with active shp's. 2020-08-04 07:30:32 -07:00
Justin Marshall 978a1f6a05 Fixed a bug were the briefing screen would trigger for skirmish games. 2020-08-03 14:33:24 -07:00
Justin Marshall 2d6681465f Added HD image support for sidebar unit/building icons. Icons but 32bit and 8bit for sidebar unit/building icons are now loaded at startup rather then when requested. 2020-08-03 11:35:01 -07:00
Justin Marshall 65ebb17489 TS/RA2 SHP shadow support. 2020-08-03 08:36:06 -07:00
Justin Marshall 19b9cb16f8 Added anim frame range support for buildings in rules.ini. Added prism tower. 2020-08-02 18:26:40 -07:00
Justin Marshall dff22b0d9f Added author tags for GetHSVHouseColor thanks tomson26! 2020-08-02 15:54:43 -07:00
Justin Marshall 63b1529c25 Tiberian Sun SHP are now HSV color shifted. 2020-08-02 13:52:05 -07:00
Justin Marshall d7270bccc9 Fixed a bug in the original RA code were the make animation wouldn't play if there was too many frames. TS make building animations now load. 2020-08-01 19:00:39 -07:00
Justin Marshall 56eadd7086 Added building faction colors. 2020-08-01 15:36:03 -07:00
Justin Marshall 3763e9e2ed Added support for separate active animation SHP. 2020-08-01 13:17:17 -07:00
Justin Marshall 857f0b7f60 RA2/TS idle animation support. TS uncompressed tile support. Smaller shapes then the main image now blit to a correctly sized buffer. 2020-08-01 12:22:29 -07:00
Justin Marshall 8e4a9a019c Added custom theater palette support in Rules.ini. Fixed a crash bug in TS/RA2 SHP were referenced frames can exceed total SHP frames. 2020-08-01 10:27:11 -07:00
Justin Marshall 93a0819fe9 Missing file from previous CL. 2020-08-01 09:07:22 -07:00
Justin Marshall 32a81a0174 Added Tiberian Sun/Red Alert SHP file support. Added EXPAND3.MIX for Allied Force data. 2020-07-31 21:52:32 -07:00
Justin Marshall 1d8cd100b0 Removed legacy "bigbuffer" and "compressed" rendering code. 2020-07-31 19:12:38 -07:00
Justin Marshall 53e7eb3a61 Cleaned up shape.cpp, all legacy rendering functions removed. 2020-07-31 18:40:47 -07:00
Justin Marshall 3965b5c366 Increased LEPTON_Y to 256. 2020-07-29 15:08:49 -07:00
Justin Marshall 0c9d026780 Fixed a crash in release were PlayerPtr->ActLike references HOUSE_MULTI%N% houses and crashes. 2020-07-28 20:11:58 -07:00
Justin Marshall aa6d4f18d7 Pressing H will now bring you to your MCV/Con_Yard(temp solution). H will no longer put you out of bounds. 2020-07-28 20:02:02 -07:00
Justin Marshall 0c2a72ed9d Map editor unit selection now goes down the same pixel accurate system as the main game. 2020-07-28 18:23:06 -07:00
Justin Marshall ebbce748ee Fixed unit selection and cursor actions not being pixel accurate. Visible Cells/Visible Cell Render world positions are now cached. 2020-07-28 16:40:48 -07:00
Justin Marshall a97502f650 Zoom level now capped at 7, tiles outside the zoomed area shouldn't render anymore. 2020-07-28 09:40:30 -07:00
Justin Marshall c28f4d0cfa Viewport zoom, adjust in redalert.ini(ZoomLevel) F5/F6 to zoom in and out. 2020-07-27 10:52:41 -07:00
Justin Marshall 364659e640 You can now remove big overlays in the editor. 2020-07-25 14:04:12 -07:00
Justin Marshall 21a7ea57ea Skirmish map added and works. 2020-07-25 12:06:41 -07:00
Justin Marshall 8426284973 Added bigoverlay Cliff01-Cliff40 tiles(restricted assets!). 2020-07-25 10:06:54 -07:00
Justin Marshall ea4d95860a Fixed a bug were bigoverlay wouldn't show in editor due to fog of war. Debug bigoverlay tiles are now disabled. 2020-07-24 20:37:46 -07:00
Justin Marshall 06ab957c18 BigOverlays is now affected by Fog of War. 2020-07-24 20:31:57 -07:00
Justin Marshall 618a31fb8c BigOverlays will now affect pathfinding. 2020-07-24 20:25:54 -07:00
Justin Marshall 908f6c9c3e Added new big overlay system. 2020-07-24 15:00:19 -07:00
Justin Marshall b72170fd11 Cleaned up cdata. 2020-07-23 13:37:21 -07:00
Justin Marshall 2c94154079 Removed RenderedFrameObjects and replaced with lastFrameRendered. 2020-07-23 11:26:08 -07:00
Justin Marshall e55af30b13 Display tile cache is now complete for render icons. External code now compiles with optimizations. 2020-07-23 11:14:51 -07:00
Justin Marshall 8e6e539bd2 Visible and shadowed cells are now cached at the start of the frame(cuts down processing by 30%). 2020-07-23 09:56:40 -07:00
Justin Marshall 753f1b4752 Optimization: Removed legacy code in GraphicViewPortClass::Lock/Unlock 2020-07-23 09:29:13 -07:00
Justin Marshall 3e0357f29b Fixed sync_delay so it doesn't render during stalls, but still processes windows messaging. 2020-07-23 09:01:15 -07:00
Justin Marshall 4fdcf960d5 Revert "Added Doom 3 BFG timestep code."
This reverts commit fb51ac1a1f.
2020-07-22 16:47:13 -07:00
Justin Marshall fb51ac1a1f Added Doom 3 BFG timestep code. 2020-07-22 16:07:54 -07:00
Justin Marshall 3f697a2509 DisplayTacticalCoord will now store the result instead of recalc everytime its needed. 2020-07-22 13:34:21 -07:00