Commit Graph

294 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 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 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 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 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 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
Justin Marshall fbcd9e4bba Tesla lightning now renders correctly in isometric. 2020-07-12 13:36:39 -07:00
Justin Marshall a9028cb525 Smudges are now positioned properly. 2020-07-12 13:21:20 -07:00
Justin Marshall a33f7bfa25 Added new blend types, added lighting to first soviet mission. 2020-07-12 09:01:36 -07:00
Justin Marshall 52869ac0e9 Initial light rendering code, doesn't render correct in all situations yet. 2020-07-11 22:24:19 -07:00
Justin Marshall 98ff70f6ef Added new rendertexture class for FBO's. 2020-07-11 19:35:18 -07:00
Justin Marshall 3185e48ccd Added the ability to place new light objects in the world, lights don't work yet. 2020-07-11 14:19:34 -07:00
Justin Marshall 37b8b475c9 Fixed a bug were isometric units were placed at the wrong coords in the editor. 2020-07-11 12:58:18 -07:00
Justin Marshall 289e319db9 Centered Add Object dialog. 2020-07-09 09:54:41 -07:00
Justin Marshall c7ba544c94 Disabled scroll in editor when user is interacting with the top menu. 2020-07-09 08:46:17 -07:00
jmarshall23 31e868bb54 Merge pull request #29 from jmarshall23/master
Internal Editor: Right click main menu moved to top down main menu.
2020-07-08 17:32:36 -07:00