mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Removed some old files.
This commit is contained in:
parent
053940c495
commit
bf37dc10b8
@ -1,36 +0,0 @@
|
||||
#ANDROID_HOME be kell legyen állítva
|
||||
#export ANDROID_HOME=<path>
|
||||
|
||||
cd libs/SDL2-2.0.12-src
|
||||
|
||||
rm -Rf build
|
||||
mkdir build
|
||||
|
||||
cd ..
|
||||
cd ..
|
||||
|
||||
./libs/SDL2-2.0.12-src/build-scripts/androidbuild.sh net.tapp.sdl ./main.cpp ./shader.cpp ./material.cpp ./mesh.cpp ./mesh_instance.cpp ./mesh_utils.cpp \
|
||||
./texture.cpp ./camera.cpp ./application.cpp ./scene.cpp ./game_scene.cpp ./object_2d.cpp ./tile_map.cpp ./sprite.cpp
|
||||
|
||||
cp *.h libs/SDL2-2.0.12-src/build/net.tapp.sdl/app/jni/src
|
||||
cp -R glm libs/SDL2-2.0.12-src/build/net.tapp.sdl/app/jni/src
|
||||
|
||||
mkdir libs/SDL2-2.0.12-src/build/net.tapp.sdl/app/src/main/assets
|
||||
cp *.bmp libs/SDL2-2.0.12-src/build/net.tapp.sdl/app/src/main/assets/
|
||||
|
||||
cd libs/SDL2-2.0.12-src/build/net.tapp.sdl
|
||||
|
||||
echo NDK_TOOLCHAIN_VERSION := 4.8 >> app/jni/Application.mk
|
||||
echo APP_STL := c++_shared >> app/jni/Application.mk
|
||||
|
||||
#vagy
|
||||
#./gradlew installDebug
|
||||
|
||||
#vagy
|
||||
./gradlew assembleDebug
|
||||
cd ../../../..
|
||||
cp ./libs/SDL2-2.0.12-src/build/net.tapp.sdl/app/build/outputs/apk/debug/app-debug.apk ./bin/.
|
||||
|
||||
# manual install
|
||||
#cd bin
|
||||
#adb install app-debug.apk
|
@ -1,7 +0,0 @@
|
||||
|
||||
rem source ~/SDKs/emsdk/emsdk_env.sh
|
||||
|
||||
|
||||
em++ main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp ^
|
||||
--embed-file download.bmp -o bin/game_js.html -s USE_SDL=2
|
||||
|
@ -1,11 +0,0 @@
|
||||
|
||||
#source ~/SDKs/emsdk/emsdk_env.sh
|
||||
|
||||
#saját fodítás
|
||||
#em++ main.cpp libs/SDL2-js/lib/libSDL2.a -o game.html \
|
||||
# -Ilibs/SDL2-js/include \
|
||||
# -Ilibs/SDL2-js/lib
|
||||
|
||||
em++ main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp \
|
||||
--embed-file download.bmp -o bin/game_js.html -s USE_SDL=2
|
||||
|
@ -1,8 +0,0 @@
|
||||
|
||||
|
||||
#clang++ main.cpp -Wall -o3 -o ./bin/game -Ilibs/SDL2-linux/include -Llibs/SDL2-linux/lib -lSDL2 -lSDL2main
|
||||
|
||||
#g++ main.cpp -Wall -o3 -o ./bin/game -Ilibs/SDL2-linux/include -Llibs/SDL2-linux/lib -lSDL2 -lSDL2main
|
||||
|
||||
g++ main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp \
|
||||
-g -Wall -o3 -o ./bin/game $(pkg-config --cflags --libs sdl2 glew)
|
@ -1,6 +0,0 @@
|
||||
rem -g -> debug symbols
|
||||
rem -o[0-3] -> optimization
|
||||
rem -Wall -> all warning
|
||||
|
||||
g++ main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp ^
|
||||
./libs/glad/src/glad.c -Wall -o3 -o ./bin/game.exe -Ilibs/SDL2-mingw/include -Llibs/SDL2-mingw/lib/x64 -Ilibs/glad/include -lSDL2 -lSDL2main -lOpengl32
|
@ -1,5 +0,0 @@
|
||||
rem -g -> debug symbols
|
||||
rem -o[0-3] -> optimization
|
||||
rem -Wall -> all warning
|
||||
|
||||
g++ main.cpp ./libs/glad/src/glad.c -Wall -o3 -o ./game.exe -Ilibs/SDL2-mingw/include -Llibs/SDL2-mingw/lib/x64 -Ilibs/glad/include -lSDL2 -lSDL2main -lOpengl32
|
@ -1,5 +0,0 @@
|
||||
rem -g -> debug symbols
|
||||
rem -o[0-3] -> optimization
|
||||
rem -Wall -> all warning
|
||||
|
||||
g++ main.cpp ./libs/glad/src/glad.c -Wall -o3 -o ./game.exe -Ilibs/SDL2-mingw/include -Llibs/SDL2-mingw/lib/x86 -Ilibs/glad/include -lSDL2 -lSDL2main -lOpengl32
|
@ -1,15 +0,0 @@
|
||||
@echo off
|
||||
|
||||
if not defined DevEnvDir (
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
|
||||
)
|
||||
|
||||
rem debug: /Zi (== -g)
|
||||
|
||||
cl main.cpp shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp ^
|
||||
libs\glad\src\glad.c /Febin/game-vc.exe ^
|
||||
/EHsc ^
|
||||
/Ilibs\SDL2-VC\include ^
|
||||
/Ilibs\glad\include ^
|
||||
/link /LIBPATH:libs\SDL2-VC\lib SDL2.lib SDL2main.lib opengl32.lib ^
|
||||
/SUBSYSTEM:CONSOLE
|
115
sdl_linux.cbp
115
sdl_linux.cbp
@ -1,115 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="sdl_linux" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/sdl_linux" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/sdl_linux" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add option="`pkg-config --cflags sdl2 glew`" />
|
||||
<Add directory="sfw" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="`pkg-config --cflags --libs sdl2 glew`" />
|
||||
</Linker>
|
||||
<Unit filename="sfw/aabb.cpp" />
|
||||
<Unit filename="sfw/aabb.h" />
|
||||
<Unit filename="sfw/basis.cpp" />
|
||||
<Unit filename="sfw/basis.h" />
|
||||
<Unit filename="sfw/char_range.inc" />
|
||||
<Unit filename="sfw/char_utils.h" />
|
||||
<Unit filename="sfw/color.cpp" />
|
||||
<Unit filename="sfw/color.h" />
|
||||
<Unit filename="sfw/cowdata.h" />
|
||||
<Unit filename="sfw/error_list.h" />
|
||||
<Unit filename="sfw/error_macros.h" />
|
||||
<Unit filename="sfw/face3.cpp" />
|
||||
<Unit filename="sfw/face3.h" />
|
||||
<Unit filename="sfw/hash_map.h" />
|
||||
<Unit filename="sfw/hash_set.h" />
|
||||
<Unit filename="sfw/hashfuncs.h" />
|
||||
<Unit filename="sfw/int_types.h" />
|
||||
<Unit filename="sfw/list.h" />
|
||||
<Unit filename="sfw/local_vector.h" />
|
||||
<Unit filename="sfw/logger.cpp" />
|
||||
<Unit filename="sfw/logger.h" />
|
||||
<Unit filename="sfw/math_defs.h" />
|
||||
<Unit filename="sfw/math_funcs.cpp" />
|
||||
<Unit filename="sfw/math_funcs.h" />
|
||||
<Unit filename="sfw/memory.h" />
|
||||
<Unit filename="sfw/paged_allocator.h" />
|
||||
<Unit filename="sfw/pair.h" />
|
||||
<Unit filename="sfw/pcg.cpp" />
|
||||
<Unit filename="sfw/pcg.h" />
|
||||
<Unit filename="sfw/plane.cpp" />
|
||||
<Unit filename="sfw/plane.h" />
|
||||
<Unit filename="sfw/projection.cpp" />
|
||||
<Unit filename="sfw/projection.h" />
|
||||
<Unit filename="sfw/quaternion.cpp" />
|
||||
<Unit filename="sfw/quaternion.h" />
|
||||
<Unit filename="sfw/queue.h" />
|
||||
<Unit filename="sfw/random_pcg.cpp" />
|
||||
<Unit filename="sfw/random_pcg.h" />
|
||||
<Unit filename="sfw/rb_map.h" />
|
||||
<Unit filename="sfw/rb_set.h" />
|
||||
<Unit filename="sfw/rect2.cpp" />
|
||||
<Unit filename="sfw/rect2.h" />
|
||||
<Unit filename="sfw/rect2i.cpp" />
|
||||
<Unit filename="sfw/rect2i.h" />
|
||||
<Unit filename="sfw/ring_buffer.h" />
|
||||
<Unit filename="sfw/rvector.h" />
|
||||
<Unit filename="sfw/safe_refcount.cpp" />
|
||||
<Unit filename="sfw/safe_refcount.h" />
|
||||
<Unit filename="sfw/sort_array.h" />
|
||||
<Unit filename="sfw/tight_local_vector.h" />
|
||||
<Unit filename="sfw/transform.cpp" />
|
||||
<Unit filename="sfw/transform.h" />
|
||||
<Unit filename="sfw/transform_2d.cpp" />
|
||||
<Unit filename="sfw/transform_2d.h" />
|
||||
<Unit filename="sfw/typedefs.h" />
|
||||
<Unit filename="sfw/ucaps.h" />
|
||||
<Unit filename="sfw/ustring.cpp" />
|
||||
<Unit filename="sfw/ustring.h" />
|
||||
<Unit filename="sfw/vector.h" />
|
||||
<Unit filename="sfw/vector2.cpp" />
|
||||
<Unit filename="sfw/vector2.h" />
|
||||
<Unit filename="sfw/vector2i.cpp" />
|
||||
<Unit filename="sfw/vector2i.h" />
|
||||
<Unit filename="sfw/vector3.cpp" />
|
||||
<Unit filename="sfw/vector3.h" />
|
||||
<Unit filename="sfw/vector3i.cpp" />
|
||||
<Unit filename="sfw/vector3i.h" />
|
||||
<Unit filename="sfw/vector4.cpp" />
|
||||
<Unit filename="sfw/vector4.h" />
|
||||
<Unit filename="sfw/vector4i.cpp" />
|
||||
<Unit filename="sfw/vector4i.h" />
|
||||
<Unit filename="sfw/vmap.h" />
|
||||
<Unit filename="sfw/vset.h" />
|
||||
<Extensions />
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@ -1,86 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="sdl_alap_projekt" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/sdl_alap_projekt" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/sdl_alap_projekt" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add directory="libs/SDL2-mingw/include/SDL2/" />
|
||||
<Add directory="libs/glad/include/" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="mingw32" />
|
||||
<Add library="SDL2main" />
|
||||
<Add library="SDL2" />
|
||||
<Add library="Opengl32" />
|
||||
<Add library="dxguid" />
|
||||
<Add library="winmm" />
|
||||
<Add library="gdi32" />
|
||||
<Add library="user32" />
|
||||
<Add directory="libs/SDL2-mingw/lib/x64" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="XCOPY libs\SDL2-mingw\lib\x64\*.dll $(TARGET_OUTPUT_DIR) /D /Y" />
|
||||
</ExtraCommands>
|
||||
<Unit filename="application.cpp" />
|
||||
<Unit filename="application.h" />
|
||||
<Unit filename="camera.cpp" />
|
||||
<Unit filename="camera.h" />
|
||||
<Unit filename="colored_material.h" />
|
||||
<Unit filename="game_application.h" />
|
||||
<Unit filename="game_scene.cpp" />
|
||||
<Unit filename="game_scene.h" />
|
||||
<Unit filename="libs/glad/src/glad.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="main.cpp" />
|
||||
<Unit filename="material.cpp" />
|
||||
<Unit filename="material.h" />
|
||||
<Unit filename="mesh.cpp" />
|
||||
<Unit filename="mesh.h" />
|
||||
<Unit filename="mesh_instance.cpp" />
|
||||
<Unit filename="mesh_instance.h" />
|
||||
<Unit filename="object_2d.cpp" />
|
||||
<Unit filename="object_2d.h" />
|
||||
<Unit filename="opengl.h" />
|
||||
<Unit filename="scene.cpp" />
|
||||
<Unit filename="scene.h" />
|
||||
<Unit filename="shader.cpp" />
|
||||
<Unit filename="shader.h" />
|
||||
<Unit filename="sprite.cpp" />
|
||||
<Unit filename="sprite.h" />
|
||||
<Unit filename="texture.cpp" />
|
||||
<Unit filename="texture.h" />
|
||||
<Unit filename="texture_material.h" />
|
||||
<Unit filename="transparent_texture_material.h" />
|
||||
<Extensions>
|
||||
<lib_finder disable_auto="1" />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="sdl_windows" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/sdl_windows" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/sdl_windows" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
<Add directory="libs/SDL2-mingw/include/SDL2/" />
|
||||
<Add directory="libs/glad/include/" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add library="mingw32" />
|
||||
<Add library="SDL2main" />
|
||||
<Add library="SDL2.dll" />
|
||||
<Add library="Opengl32" />
|
||||
<Add library="dxguid" />
|
||||
<Add library="winmm" />
|
||||
<Add library="gdi32" />
|
||||
<Add library="user32" />
|
||||
<Add directory="libs/SDL2-mingw/lib/x86/" />
|
||||
</Linker>
|
||||
<ExtraCommands>
|
||||
<Add after="XCOPY libs\SDL2-mingw\lib\x86\*.dll $(TARGET_OUTPUT_DIR) /D /Y" />
|
||||
</ExtraCommands>
|
||||
<Unit filename="application.cpp" />
|
||||
<Unit filename="application.h" />
|
||||
<Unit filename="camera.cpp" />
|
||||
<Unit filename="camera.h" />
|
||||
<Unit filename="colored_material.h" />
|
||||
<Unit filename="game_application.h" />
|
||||
<Unit filename="game_scene.cpp" />
|
||||
<Unit filename="game_scene.h" />
|
||||
<Unit filename="libs/glad/src/glad.c">
|
||||
<Option compilerVar="CC" />
|
||||
</Unit>
|
||||
<Unit filename="main.cpp" />
|
||||
<Unit filename="material.cpp" />
|
||||
<Unit filename="material.h" />
|
||||
<Unit filename="mesh.cpp" />
|
||||
<Unit filename="mesh.h" />
|
||||
<Unit filename="mesh_instance.cpp" />
|
||||
<Unit filename="mesh_instance.h" />
|
||||
<Unit filename="object_2d.cpp" />
|
||||
<Unit filename="object_2d.h" />
|
||||
<Unit filename="opengl.h" />
|
||||
<Unit filename="scene.cpp" />
|
||||
<Unit filename="scene.h" />
|
||||
<Unit filename="shader.cpp" />
|
||||
<Unit filename="shader.h" />
|
||||
<Unit filename="sprite.cpp" />
|
||||
<Unit filename="sprite.h" />
|
||||
<Unit filename="texture.cpp" />
|
||||
<Unit filename="texture.h" />
|
||||
<Unit filename="texture_material.h" />
|
||||
<Unit filename="transparent_texture_material.h" />
|
||||
<Extensions />
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
Loading…
Reference in New Issue
Block a user