The style 4J used seems to be based on the Microsoft style (presumably the
default settings of whatever Visual Studio they used to write this). However,
the source files do not have much consistency so I highly doubt 4J cared too
much about styling, just going with whatever happened to be the default.
This style is therefore basically the Microsoft style (4-space indents,
C#/Allman style braces) with some settings set based on my observations
about the code.
Fixes: #30
* Add dynamic resolution
* Clean up implementation
* Use existing ints instead of new ones
* Remove WM_SIZE argument (unecessary now that we directly use g_iScreenWidth and g_iScreenHeight)
Before any major refactoring, warnings do help a little except for slowing down the compilation (as it needs to output everything to stdout), so disable MSVC warnings in Release mode.
* Update CopyAssets to ignore source files and only copy used files.
* Forgot the debug copy assets
* Remove leftovers from testing
* Fix ClientSources.cmake to include WinsockNetLayer.cpp
* Ignore xml and lang files in output, also remove Layout directory as it only includes a useless binary
* Debug & Release use the same file structure
* TAB key opens up game info instead of host options
TAB key opens up game info menu instead of host options menu because the player accesses host options from game info
* Update README.md
1. Improve const correctness in a few places (such as `Container::getMaxStackSize()` -> `Container::getMaxStackSize() const`)
2. Use C++11 varargs for `I18n::get`, `Entity::newDoubleList` and `Language::getElement`
* Call SetProcessDpiAwareness via GetProcAddress to preserve Windows 7 compatibility
Shcore.dll and SetProcessDpiAwareness were introduced in Windows 8 and higher, so to keep compatibility with Windows 7, we use GetProcAddress to call this function dynamically, avoiding linker writing binary dependency on shcore.dll in the import table
* Revert "Call SetProcessDpiAwareness via GetProcAddress to preserve Windows 7 compatibility"
This reverts commit f1f397fdbe.
* Reapply the fix