Commit Graph

451 Commits

Author SHA1 Message Date
Justin Marshall 4844f4eaa7 Added tiberian sun mix file support, can't play game until iconset format is ironed yet. 2020-06-29 15:22:06 -07:00
nev6502 2f4eee66df Several more small fixes; everything should be where it should be now 2020-06-28 19:56:53 -06:00
nev6502 9770771f5c Fixes several small issues 2020-06-28 19:50:53 -06:00
nev6502 d5612ebc2f Merge remote-tracking branch 'upstream/master' into nev6502_branch 2020-06-28 18:00:20 -06:00
nev6502 9b237d8fda Added several unit orders 2020-06-28 17:57:57 -06:00
nev6502 678d784004 Added To_Float to fixed point class. This is to help with certain house values to/from Lua but may have other uses.
Added ability to create objects out of thin air, and force factories to produce units.

Added ability to issue movement commands to units.

Updated object cache system to use an incremental UID for retrieval / passing ID back to the script, as ID collisions were occuring.
2020-06-28 15:54:47 -06:00
nev6502 19569faf2b Added ability to change attributes for buildings, units, infantry, aircraft and veseels. Values are restored to default values by cacheing values upon first usage and cleaning up with Deinit().
Revised global header to encapsulate the values within sections, drastically reducing variable counts

Mouse frequent click/drag fix
2020-06-27 18:16:29 -06:00
Justin Marshall 37b4f227e6 Units/Objects now render correctly and are selectable. 2020-06-27 16:24:45 -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 2101728255 Hash mark cursor now render correctly in isometric. 2020-06-27 14:24:23 -07:00
Justin Marshall 132071e39b Placement Dialog now places objects in proper isometric space. 2020-06-27 14:00:13 -07:00
Ben Lankamp 196decf9bd Simplifying I/O flow 2020-06-27 22:49:32 +02:00
Justin Marshall 0189929957 Increased tile size. 2020-06-27 10:01:29 -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 d3fca9b7d2 Empty txt 2020-06-26 15:07:45 -07:00
Justin Marshall 54aeb104fb Added emptytxt for cache. 2020-06-26 15:07:15 -07:00
Justin Marshall 960bdc5403 Missing file from previous checkin. 2020-06-26 15:05:44 -07:00
Justin Marshall 37b47a8cfe Missing file from previous checkin. 2020-06-26 15:04:01 -07:00
Justin Marshall 28f5f86f91 Missing file from previous checkin. 2020-06-26 15:01:11 -07:00
Justin Marshall 2e106bc809 Fixed a bug were units can't be selected in the editor. 2020-06-26 11:48:43 -07:00
nev6502 698d7ee346 Merge branch 'nev6502_branch' of https://github.com/nev6502/CnC_Remastered_Collection into nev6502_branch 2020-06-26 00:19:35 -06:00
nev6502 0ef858bf86 More scripting functions (ability to various change object / objectType attributes) and globals for use with them 2020-06-26 00:19:20 -06:00
nev6502 5be642d40b Merge remote-tracking branch 'upstream/master' into nev6502_branch 2020-06-26 00:17:33 -06:00
Justin Marshall 012a5c2d60 WWKeyboardClass::Down now goes through the SDL system for mouse up and down, needs work for other keys. 2020-06-25 17:24:06 -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 6bfdd6e0ce Converted cmake source file names to lower case. 2020-06-25 13:49:32 -07:00
Justin Marshall 8890f72a49 Added EA tgautil script. 2020-06-25 13:40:55 -07:00
Justin Marshall f62fe716d6 Merge branch 'master' of https://github.com/electronicarts/CnC_Remastered_Collection 2020-06-25 13:22:28 -07:00
Justin Marshall 631d332c90 Removed Tiberian Dawn folder. 2020-06-25 13:11:54 -07:00
Justin Marshall e581ffad99 Batch lowercase red alert source code. 2020-06-25 13:10:31 -07:00
Justin Marshall 995b794cd8 Terrain and classic tiles now render properly in the scenario placement dialog. 2020-06-25 09:56:40 -07:00
Justin Marshall 79036cbeff Removed assembly language requirement from cmake project. 2020-06-25 08:35:33 -07:00
nev6502 9c1fc485d8 Merge remote-tracking branch 'upstream/master' into nev6502_branch 2020-06-24 23:04:27 -06:00
Justin Marshall 84bedab275 HD Remaster Terrain tiles now go into the cache. 2020-06-24 19:53:54 -07:00
PG-SteveT 93a1af2eff Create tgautil.py 2020-06-24 15:08:18 -07:00
Justin Marshall e5a55f777e Removed unneeded input consume, HD remaster images now work in the placement editor. 2020-06-24 12:10:08 -07:00
Justin Marshall 4ff7c5df98 Fixed a bug were mouse clicks flags were getting stomped when more then one click event was processed. 2020-06-24 11:23:57 -07:00
Justin Marshall 1f534ed269 Moved NEWBLIT to imgui background cmdlist, console now renders again. Level now draws in editor mode dialogs. 2020-06-24 09:39:47 -07:00
Justin Marshall cc449351d2 War Factory renders more correctly. 2020-06-24 08:21:50 -07:00
Justin Marshall 61ca0cfa5a Fixed a bug were black squares would render in the world after switching to a new level. 2020-06-23 20:44:47 -07:00
Justin Marshall e76e8ed828 Right click mouse context menu in editor will close the editor menu if in root editor menu. Scenario Editor button workflow will no longer play music initially. Fixes to map placement dialog. 2020-06-23 20:31:18 -07:00
Justin Marshall 96bc8e95ff In editor builds the intro & sneak peak will open the scenario editor. 2020-06-23 19:23:21 -07:00
nev6502 f165efc388 Merge remote-tracking branch 'upstream/master' into nev6502_branch 2020-06-23 17:41:49 -06:00
Justin Marshall 6d50fb6fca Added new image cache system, 5k super ultra wide resolutions work, screen resolution set from the ini file. 2020-06-23 16:31:16 -07:00
Ben Lankamp 136b5e2c70 Start with EventQueue 2020-06-23 23:40:53 +02:00
Justin Marshall e93b511b53 Added x64 to version string. 2020-06-22 20:19:15 -07:00
nev6502 1d32cf97fd Merge remote-tracking branch 'upstream/master' into nev6502_branch 2020-06-22 19:02:05 -06:00
Justin Marshall 3ea7ac187a Updated version string number. 2020-06-22 17:53:13 -07:00