Commit Graph

436 Commits

Author SHA1 Message Date
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 02013c9c82 Soviet Mission 1 video changed to Emergency Broadcast Warning. 2020-07-21 12:25:55 -07:00
Justin Marshall 77b03a8b8e Soviet1: If USSR has no engineers AND doesn't have two radar domes, then mission is lost. 2020-07-20 15:09:04 -07:00
Justin Marshall e30fe11a96 Soviet01: If there aren't two radar domes on the map the mission is fail. Success happens when USSR owns two radar domes. 2020-07-20 14:19:48 -07:00
Justin Marshall b7f234b300 Fixed bug were numRadarDomes win condition would trigger because USSR house wasn't specified for CountBuildings. Fixed spelling mistake. 2020-07-20 12:50:00 -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
Justin Marshall 268f6592d2 Temp new wallpapers for Allied Force. 2020-07-16 21:07:02 -07:00
Justin Marshall c928c1c052 Removed counterstrike and aftermath mission select. 2020-07-16 20:25:39 -07:00
Justin Marshall 16c72a0305 Updated briefing screen to show objectives and mission name, with a temp background. 2020-07-16 17:14:16 -07:00
Justin Marshall b87f462d5f Added initial audio support for movies. External wav files are going to be used for multilang videos. 2020-07-16 12:45:32 -07:00
Justin Marshall 2099c00bd3 Added ffmpeg back script. 2020-07-16 11:14:59 -07:00
Justin Marshall 3d93b0a556 Added ffmpeg convert script. 2020-07-16 11:13:47 -07:00
Justin Marshall 7a1bd0fbb0 Fixed a bug were videos would not play initially. 2020-07-16 11:11:29 -07:00
Justin Marshall 8dd21f5b25 Added H.264 movie codec support. 2020-07-16 11:07:17 -07:00
Justin Marshall 0824dfbcdb Enemy units are no longer selectable. 2020-07-15 22:14:13 -07:00
Justin Marshall d37e740d19 Added test video for soviet mission 1 and red intro. 2020-07-15 22:06:16 -07:00
Justin Marshall 95f5cecc48 SMK video playback now works again. 2020-07-15 21:47:45 -07:00
Justin Marshall 43cb23b81a Fixed a bug with mission 1 were engineers weren't assigned to USSR and now a mammoth tank spawns for reinforcements. 2020-07-15 17:06:20 -07:00
Justin Marshall 5d441ca39e Added soviet mission 1 script, expanded _global with more vehicle types and CreateVehicle/CreateInfrantry now support coordinate input. 2020-07-14 15:05:25 -07:00
Justin Marshall e5544d2fc2 New flagship map. 2020-07-13 14:11:28 -07:00
Justin Marshall 97dddb4d20 Removed soviet buildings. 2020-07-12 17:31:37 -07:00
Justin Marshall b5fd70a200 Added clear tile variation(this will be break some maps and may require them to be redone). 2020-07-12 17:25:50 -07:00