Commit Graph

446 Commits

Author SHA1 Message Date
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 ef2f046714 Added new multiplayer test map(missing starting points). 2020-07-25 11:59:56 -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 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