Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
About ----- This is a "Tech Demo" for a 2D Adventure/Platform Game. Compiling --------- Linux(GCC): First off you need to install libsdl/sdl_image and the corresponding devel packages via your packet manager. # Editor $ gcc -std=c99 -D EDITOR -Iheaders sources/*.c -o edit `sdl-config --cflags --libs` -lSDL_image # Game $ gcc -std=c99 -Iheaders `find sources -type f -name "*.c" -not -name "editor.c"` -o main `sdl-config --cflags --libs` -lSDL_image Windows: If you are using MSVC make sure to compile the project as CPP, since MSVC does not implement the C99 Standard. You can also compile with Code::Blocks and MinGW32, again add the -std=99 option, there are still random crashes though and the program takes longer to start than with MSVC. Mac: I dont' have one. License ------- Copyright (c) 2010 Ivo Wetzel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.