Commit Graph

33 Commits

Author SHA1 Message Date
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 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 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 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 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 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 3f697a2509 DisplayTacticalCoord will now store the result instead of recalc everytime its needed. 2020-07-22 13:34:21 -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 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 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
nev6502 cd6446d58a Improved Scrolling, Large Map Handling
- Bugfix in MapClass::Overpass when placing objects while scrolled all the way up / left on a larger map
- Disabled a check in DisplayClass::Set_Cursor_Pos preventing mouse cell coordinates from being updated while scrolled all the way up / left on a larger map
- Added (disabled) function to display mouse/cell position
- Improved mouse scroll region (but still work to be done)
2020-07-08 00:58:13 -06:00
Justin Marshall f4964c83e9 Ruberband selection now works better. 2020-07-06 16:20:36 -07:00
Justin Marshall e298a30992 Shroud now renders with a circle alpha image, shrouded terrain no longer renders and is no longer simply covered with a black rectangle. Creating skirmish maps in multiplayer no longer causes a crash. 2020-07-04 22:10:04 -07:00
Justin Marshall df725471d5 Moved trans hash mark icons to PNG's and now render properly. 2020-07-04 17:29:28 -07:00
Justin Marshall 0384e3fd42 Setup shroud isometric coordinates. 2020-07-04 14:49:40 -07:00
Justin Marshall e2fcb059ec Isometric tiles now render the entire screen. Off screen tiles will not be rendered. 2020-07-02 21:10:52 -07:00
Justin Marshall c7748a616d Fixed templatetypeclass land_type. Template's can be placed but only the first tile seems to work. 2020-07-01 11:14:03 -07:00
Justin Marshall 9808598a07 Tiberian Sun tiles are now loaded. 2020-06-30 11:52:05 -07:00
Justin Marshall db21f9ad7d Mouse click and rubber band now work in game. 2020-06-27 15:24:29 -07:00
Justin Marshall b474ea55b3 Object selection now works in the map editor. 2020-06-27 15:02:08 -07:00
Justin Marshall 132071e39b Placement Dialog now places objects in proper isometric space. 2020-06-27 14:00:13 -07:00
Justin Marshall 4e1be3e1cb Isometric coordinate conversion is now only applied to rendering the tiles. 2020-06-27 09:49:41 -07:00
Justin Marshall 2a74c0750e Initial test code to render isometric tiles, including test art and test map. 2020-06-26 20:07:36 -07:00
Justin Marshall c7e4870048 Removed blit code from gbuffer class. Fixed cmakelists for linux. 2020-06-25 14:35:47 -07:00
Justin Marshall e581ffad99 Batch lowercase red alert source code. 2020-06-25 13:10:31 -07:00