Commit Graph

314 Commits

Author SHA1 Message Date
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
Justin Marshall c123e39770 Build_Frame for CC_Draw_Techno is no longer called every frame, removed unneeded LCW_Uncomp_CS 2020-07-22 13:09:21 -07:00
Justin Marshall 265e59e62f Added missing file from previous checkin. 2020-07-22 12:16:47 -07:00
Justin Marshall 7eef7efe8a Game code moved to RedAlertx64.dll, launcher created to launch previous WinMain entry point which has been renamed to CnCMain 2020-07-22 12:09:30 -07:00
Justin Marshall fbf8263ba2 Internal editor can now save out multiplayer maps. 2020-07-21 21:04:46 -07:00
Justin Marshall a21baa6891 FireSale can be toggled via lua script, the AI in soviet 1 won't do a fire sale, and the allied radar dome is no longer a fake dome. 2020-07-20 12:15:27 -07:00
Justin Marshall 9fcc2d286d Soviets will now have paratroopers at the start of soviet mission 1, modified lua GiveSpecialWeapon and super code to allow perputual usage of script granted super weapons even if the prereq requirements aren't met. 2020-07-20 11:27:06 -07:00
Justin Marshall e721d781e5 Single selection and action should be more accurate. 2020-07-19 14:30:36 -07:00
Justin Marshall 9f31118e03 Aircraft rubberband now goes down the same screen coordinate selection system. 2020-07-19 14:11:49 -07:00
Justin Marshall f09caa46da Rubber band selection now works. 2020-07-19 14:07:37 -07:00
Justin Marshall 24704c9ad8 Fixed a bug were TacViewportRect wasn't always updated on map load/new scenerio in the editor. 2020-07-19 11:08:49 -07:00
Justin Marshall dbc6cd4087 Map files now have the "map" extension. 2020-07-19 11:05:12 -07:00
Justin Marshall 603b6c13db Initial size of the map set to initial size on new scenerio. 2020-07-19 10:52:45 -07:00
Justin Marshall ce830ee21d Initial start position for initial new scenerio now should work correctly. 2020-07-19 10:48:29 -07:00
Justin Marshall 0ceb87a4d4 Switched TacticalCoordinate to new DisplayTacticalCoord struct that manages XY to Coord and vice versa conversion. Temp disabled scroll inertia. 2020-07-19 10:39:36 -07:00
Justin Marshall 8a2bf274c9 Fixed display scrolling in map view not working correct. 2020-07-18 18:26:54 -07:00
Justin Marshall 8353b2c1dd Refactored scroll dimensions, fixed a crash were you would click on non existent tiles, editor now displays splash initially until you do new scenario or load a existing one. 2020-07-17 20:17:49 -07:00
Justin Marshall c48fc9723a Unit lost vox audio now plays. 2020-07-16 21:25:19 -07:00