Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making main executable as C++ program #370

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

winterheart
Copy link
Contributor

This PR makes SystemShock as "C++" (not a real C++ though) project. Here no much changes regarding code logic, only move into C++11 realms.

This is fundamental change that required for some future additional like proper and clean Options and Hotkey handling, externalizing of localization and some neat features that can give modern C++ standards.

This ease logic for main() function.
Initial reorganizing project - moved to ShockSrc main's Shock.cpp file.
There will be live new files.
Moved some prototypes into corresponding headers. Little hackinsh
extern "C" sections.
Moved LGS copyrights into top section.
Removed unused leftovers from MacOS menus, unused global variables, defines and externs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant