-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:gta-reversed/gta-reversed-modern …
…into reverse/CPedGroup
- Loading branch information
Showing
264 changed files
with
10,419 additions
and
4,406 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ | |
[submodule "libs/imgui"] | ||
path = libs/imgui | ||
url = ../../ocornut/imgui.git | ||
branch = docking |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,34 @@ | ||
@echo off | ||
rem Check for admin rights | ||
net session >nul 2>&1 | ||
if not %errorlevel% == 0 ( | ||
echo This script needs to be run as administrator! | ||
pause | ||
exit | ||
) | ||
|
||
set pwd=%~dp0 | ||
set scriptdir=%1 | ||
set scriptname=%2 | ||
|
||
if "%scriptdir%"=="" goto :eof | ||
:scriptdir_loop | ||
set /p scriptdir="GTA SA 'scripts' directory path: " | ||
if "%scriptdir%"=="" ( | ||
echo Invalid path! | ||
goto scriptdir_loop | ||
) | ||
|
||
set /p scriptname="Name of the script file (default: gta_reversed): " | ||
if "%scriptname%"=="" set scriptname="gta_reversed" | ||
|
||
mklink %scriptdir%\%scriptname%.asi "%pwd%\..\bin\debug\gta_reversed.asi" | ||
mklink %scriptdir%\%scriptname%.pdb "%pwd%\..\bin\debug\gta_reversed.pdb" | ||
:scriptconf_loop | ||
set /p scriptconf="Choose configuration to link (debug/release, default: debug): " | ||
if "%scriptconf%"=="" set scriptconf=debug | ||
|
||
if not "%scriptconf%"=="debug" if not "%scriptconf%"=="release" ( | ||
echo Invalid configuration! Only 'debug' and 'release' is applicable!c | ||
goto scriptconf_loop | ||
) | ||
|
||
mklink "%scriptdir%\%scriptname%.asi" "%pwd%\..\bin\%scriptconf%\gta_reversed.asi" | ||
mklink "%scriptdir%\%scriptname%.pdb" "%pwd%\..\bin\%scriptconf%\gta_reversed.pdb" | ||
|
||
eof: | ||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
project "ogg" | ||
language "C++" | ||
kind "StaticLib" | ||
targetname "ogg" | ||
warnings "Off" | ||
|
||
vpaths { | ||
["Headers/*"] = {"ogg/**.h",}, | ||
["Sources/*"] = {"ogg/**.c",}, | ||
["*"] = {"premake5.lua", "CMakeLists.txt"} | ||
} | ||
|
||
files { | ||
"ogg/**.h", | ||
"ogg/**.c" | ||
} | ||
|
||
includedirs { | ||
"vorbis/include", | ||
"ogg/include", | ||
"ogg/include" | ||
} | ||
|
||
project "vorbis" | ||
language "C++" | ||
kind "StaticLib" | ||
targetname "vorbis" | ||
warnings "Off" | ||
|
||
vpaths { | ||
["Headers/*"] = {"vorbis/**.h",}, | ||
["Sources/*"] = {"vorbis/**.c",}, | ||
["*"] = {"premake5.lua", "CMakeLists.txt"} | ||
} | ||
|
||
files { | ||
"vorbis/win32/vorbis.def", | ||
"vorbis/lib/**.*" | ||
} | ||
|
||
removefiles { | ||
"vorbis/lib/psytune.c", | ||
"vorbis/lib/tone.c", | ||
"vorbis/lib/misc.c", | ||
"vorbis/lib/psy.h", | ||
} | ||
|
||
includedirs { | ||
"vorbis/include", | ||
"ogg/include", | ||
"%{cfg.targetdir}" | ||
} | ||
|
||
project "vorbisenc" | ||
language "C++" | ||
kind "StaticLib" | ||
targetname "vorbisenc" | ||
warnings "Off" | ||
|
||
vpaths { | ||
["Sources/*"] = {"vorbis/**.c",}, | ||
["*"] = {"premake5.lua", "CMakeLists.txt"} | ||
} | ||
|
||
files { | ||
"vorbis/lib/vorbisenc.c", | ||
"/vorbis/win32/vorbisenc.def" | ||
} | ||
|
||
includedirs { | ||
"vorbis/include", | ||
"ogg/include", | ||
"%{cfg.targetdir}" | ||
} | ||
|
||
|
||
project "vorbisfile" | ||
language "C++" | ||
kind "StaticLib" | ||
targetname "vorbisfile" | ||
warnings "Off" | ||
|
||
vpaths { | ||
["Sources/*"] = {"vorbis/**.c",}, | ||
["*"] = {"premake5.lua", "CMakeLists.txt"} | ||
} | ||
|
||
files { | ||
"vorbis/lib/vorbisfile.c", | ||
"/vorbis/win32/vorbisfile.def" | ||
} | ||
|
||
includedirs { | ||
"vorbis/include", | ||
"ogg/include", | ||
"%{cfg.targetdir}" | ||
} | ||
|
||
project "imgui" | ||
language "C++" | ||
kind "StaticLib" | ||
targetname "imgui" | ||
warnings "Off" | ||
|
||
vpaths { | ||
["Headers/*"] = {"imgui/**.h*",}, | ||
["Sources/*"] = {"imgui/**.c*",}, | ||
["*"] = {"premake5.lua", "CMakeLists.txt"} | ||
} | ||
|
||
files { | ||
"imgui/backends/imgui_impl_win32.h", | ||
"imgui/backends/imgui_impl_win32.cpp", | ||
"imgui/backends/imgui_impl_dx9.h", | ||
"imgui/backends/imgui_impl_dx9.cpp", | ||
"imgui/misc/cpp/*.*", | ||
"imgui/*.*", | ||
} | ||
|
||
includedirs { | ||
"imgui", | ||
"imgui/backends", | ||
"imgui/misc/cpp" | ||
} |
Oops, something went wrong.