Things to make campaign making and interactivity better (ignore syntax, focus on the concept):
- Implement Lua or other similar light weight, yet effective scripting language to replace SGSL
- Change the current highlighting options to the following:
- highlight(playerid, unitcode, customname)
- (where playerid is the player whos units should be highlighted, unitcode would be constants (WORKERS, MAINMENU_BUTTON, RIGHT_SIDEBAR, BARRACKS, FREE_EXPLORERS, and FLAG_TAB for example), and custom name is a string that can be used to unhighlight in the next code
- unhighlight(customname)
- (where customname is the name set when making the highlighted game element)
- Add code to better interact with users current game state:
- when mainmenu::opened do
- when flagtab::opened do
- when worker::selected do
- when enemy::worker:selected do
More to come