* Visual Studio Project Overhaul + Cleanup
* SDL2 project for Windows
* Re-added game client icon to SDL2 code
* Renamed "AppPlatform_windows" to "AppPlatform_win32" (this is the name of the Windows API and is not representative of the architecture type)
* Renamed "LoggerWindows" to "LoggerWin32"
* Renamed "SoundSystemWindows to "SoundSystemDS" (DirectSound). This may be used for the 360, so it wouldn't really be Windows-specific then.
* Moved "ClientSideNetworkHandler" from "network" to "client/network". We don't need it being compiled for the server if the client's the only thing that needs it.
* I wonder if this still works on macOS...
* Bugfixes & Fixed for macOS
* Options::savePropertiesToFile Logging Bugfix
* Silence Winsock Deprecation Warnings in RakNet
* VS Project Improvements
- Replaced 50 billion relative paths with $(MC_ROOT)
- Added $(RAKNET_PATH) variable to override RakNet location
- Re-added gitignore for .vcxproj.user files
- Added debugging config to Directory.Builds.props
- Slimmed down project configurations for SDL2
* VS Project Config Bugfixes
- Fixed RakNet header path for additional includes
* RakNet Target for XCode
* XCode Project Config Fixes
* Packet logging
* Network VS Project Filter Fix
* Fix RakNet Packet ID Length
We previously didn't have consistency between old and new C++ regarding PacketType enum length. Now we do. This is required or else it completely breaks networking between the versions.
* Additional RakNet Error Handling
* Disable packet logging
* * Fix CMakeLists.txt
This reflects the relocation of ClientSideNetworkHandler.cpp.
* * Also add renderer/GL/GL.cpp to the CMakeLists.txt
* * Replace libpng with stb_image
* * Fix buggy water behavior.
* * Put the CMakeLists of the SDL project in debug mode
* Visual Studio 2010 Support
* * Change the SdlIoCallbacks from an array to a single member.
This fixes compilation of the sdl2 target on VS.
* * Fix missing _error label.
* Revert "* Fix missing _error label."
This reverts commit 99a057fc84049a16c864bd840fb439a008af5c74.
* Revert "* Replace libpng with stb_image"
* info_updateGame Tiles
---------
Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
* * Turn survival back on for now.
* * Add TP command.
* * Fix fall damage reset.
* * Mob hitting works.
I've disabled entity shading though. Will get back to it at some point, promise!
* * Knockback
* * Mobs now rotate when they die.
* * Fire fix
* Output/Logging Overhaul
* Added StandardOut class
* Renamed LOGX macros to LOG_X
* Removed LogMsg macros in favor of LOG_X
* Added console window for debug Windows builds
* Options Refactor
* Moved options loading code from AppPlatform classes to Options class
* Added AppPlatform::singleton()
* Minecraft::m_options is now only accessible via Minecraft::getOptions() (as it should be)
* Making this work with SDL2 next
* Options Cleanup for SDL2
* Added AppPlatform::hasFileSystemAccess()
* Options won't try to load if hasFileSystemAccess returns false. Emscripten build will be happy.
---------
Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
* Mac OS X 10.6 & More C++03 Support
* Fix SDL2 options.txt loading for C++03
* Output/Logging Overhaul
* Added StandardOut class
* Renamed LOGX macros to LOG_X
* Removed LogMsg macros in favor of LOG_X
* Added console window for debug Windows builds
* Updated Xcode Project
+ StandardOut.hpp
+ StandardOut.cpp
* StandardOut_windows
* Replaced the Windows #ifdefs in StandardOut with StandardOut_windows
---------
Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
* Mac OS X 10.6 & More C++03 Support
* Fix SDL2 options.txt loading for C++03
---------
Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
F1 to hide gui
Also renamed the field for hiding the GUI to m_bDontRenderGui
I would have named it m_bRenderGui and flipped the default values and checks but I assumed that changing the least amount of stuff would be desired.
* macOS Support & Cleanup
* Fix malformed comments in build-wasm.bat
* Emscripten Fixes
* * Add shebang to the grabsounds.py script
Since it was changed from rw- to rwx, I'll add the shebang so that it actually runs properly.
* * Re-add the patch_data and readme files.
* * Remove sound data.
* Fix some more things.
* Think it's ready to pull now...
---------
Co-authored-by: BrentDaMage <BrentDaMage@users.noreply.github.com>
Co-authored-by: iProgramInCpp <iprogramincpp@gmail.com>
* * Undo some of the changes done in the "* Work on survival mode." commit.
* TEST_SURVIVAL_MODE is now on by default.
* * Dying no longer crashes the game.
* * Death seems to work ok.
* * Improve some of the damage code.
* x
* work
* Fixed the Makefile (#54)
* * Finally fix the crack texture appearing to flicker/restart
* * Add VS2010 as an optional target.
Fix build with VS2010 (both windows_vs and xenon_vs).
* * Disable survival mode. Getting ready to merge now!
---------
Co-authored-by: Alexander Argentakis <38327951+MFDGaming@users.noreply.github.com>