This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
9,304 additions
and 71,098 deletions.
- +67 −0 .github/workflows/reVC_msvc_amd64.yml
- +68 −0 .github/workflows/reVC_msvc_x86.yml
- +4 −0 .gitignore
- +11 −10 .gitmodules
- BIN gamefiles/TEXT/JAPANESE.gxt
- BIN gamefiles/TEXT/american.gxt
- BIN gamefiles/TEXT/french.gxt
- BIN gamefiles/TEXT/german.gxt
- BIN gamefiles/TEXT/italian.gxt
- BIN gamefiles/TEXT/polish.gxt
- BIN gamefiles/TEXT/russian.gxt
- BIN gamefiles/TEXT/spanish.gxt
- BIN gamefiles/models/fonts_j.txd
- BIN gamefiles/models/fonts_p.txd
- BIN gamefiles/models/fonts_r.txd
- BIN gamefiles/models/menu.txd
- +0 −1 librw
- +0 −9,764 libsndfile.64/ChangeLog
- +0 −199 libsndfile.64/NEWS
- +0 −857 libsndfile.64/include/sndfile.h
- +0 −446 libsndfile.64/include/sndfile.hh
- +0 −159 mpg123.64/include/fmt123.h
- +0 −1,697 mpg123.64/include/mpg123.h
- +0 −1 ogg
- +0 −1 opus
- +0 −1 opusfile
- +45 −25 premake5.lua
- +1 −0 src/animation/AnimBlendClumpData.h
- +1 −0 src/animation/AnimBlendHierarchy.h
- +256 −36 src/animation/CutsceneMgr.cpp
- +6 −3 src/animation/CutsceneMgr.h
- +0 −1 src/audio/AudioLogic.cpp
- +10 −0 src/audio/AudioScriptObject.cpp
- +3 −0 src/audio/AudioScriptObject.h
- +2 −2 src/audio/DMAudio.cpp
- +2 −1 src/audio/audio_enums.h
- +3 −3 src/audio/sampman_oal.cpp
- +3 −3 src/audio/soundlist.h
- +61 −6 src/control/CarCtrl.cpp
- +1 −0 src/control/CarCtrl.h
- +3 −3 src/control/Darkel.cpp
- +3 −3 src/control/Darkel.h
- +6 −2 src/control/GameLogic.cpp
- +3 −2 src/control/Garages.cpp
- +15 −6 src/control/Remote.cpp
- +1 −1 src/control/Remote.h
- +4 −1 src/control/Replay.cpp
- +228 −170 src/control/Script.cpp
- +1 −1 src/control/Script.h
- +6 −16 src/core/Cam.cpp
- +5 −0 src/core/Camera.cpp
- +8 −3 src/core/CdStreamPosix.cpp
- +0 −1 src/core/ColStore.cpp
- +12 −0 src/core/Collision.cpp
- +2 −1 src/core/Collision.h
- +101 −84 src/core/ControllerConfig.cpp
- +3 −0 src/core/ControllerConfig.h
- +1 −0 src/core/FileMgr.h
- +486 −797 src/core/Frontend.cpp
- +49 −4 src/core/Frontend.h
- +5 −22 src/core/Frontend_PS2.cpp
- +16 −8 src/core/Game.cpp
- +51 −15 src/core/MenuScreens.cpp
- +56 −7 src/core/Pad.cpp
- +5 −0 src/core/Pad.h
- +297 −68 src/core/PlayerInfo.cpp
- +19 −6 src/core/PlayerInfo.h
- +15 −9 src/core/Pools.cpp
- +3 −0 src/core/Pools.h
- +1 −1 src/core/Radar.h
- +413 −121 src/core/Stats.cpp
- +63 −18 src/core/Stats.h
- +368 −159 src/core/Streaming.cpp
- +7 −3 src/core/Streaming.h
- +8 −0 src/core/SurfaceTable.cpp
- +1 −0 src/core/SurfaceTable.h
- +10 −3 src/core/Wanted.cpp
- +25 −0 src/core/ZoneCull.cpp
- +7 −5 src/core/ZoneCull.h
- +24 −36 src/core/Zones.cpp
- +2 −2 src/core/Zones.h
- +18 −7 src/core/config.h
- +74 −27 src/core/main.cpp
- +3 −0 src/core/main.h
- +78 −111 src/core/re3.cpp
- +1 −3 src/core/templates.h
- +1 −1 src/entities/Entity.cpp
- +536 −0 src/extras/custompipes.cpp
- +133 −0 src/extras/custompipes.h
- +527 −0 src/extras/custompipes_d3d9.cpp
- +623 −0 src/extras/custompipes_gl.cpp
- +492 −0 src/extras/postfx.cpp
- +45 −0 src/extras/postfx.h
- +67 −0 src/extras/shaders/Makefile
- +26 −0 src/extras/shaders/colourfilterVC.frag
- BIN src/extras/shaders/colourfilterVC_PS.cso
- +23 −0 src/extras/shaders/colourfilterVC_PS.hlsl
- +56 −0 src/extras/shaders/colourfilterVC_PS.inc
- +28 −0 src/extras/shaders/colourfilterVC_fs_gl3.inc
- +18 −0 src/extras/shaders/contrast.frag
- BIN src/extras/shaders/contrastPS.cso
- +21 −0 src/extras/shaders/contrastPS.hlsl
- +31 −0 src/extras/shaders/contrastPS.inc
- +20 −0 src/extras/shaders/contrast_fs_gl3.inc
- +29 −0 src/extras/shaders/default_UV2.vert
- BIN src/extras/shaders/default_UV2_VS.cso
- +54 −0 src/extras/shaders/default_UV2_VS.hlsl
- +55 −0 src/extras/shaders/default_UV2_VS.inc
- +31 −0 src/extras/shaders/default_UV2_gl3.inc
- +21 −0 src/extras/shaders/im2d.vert
- +23 −0 src/extras/shaders/im2d_gl3.inc
- +44 −0 src/extras/shaders/lighting.h
- +3 −0 src/extras/shaders/make.cmd
- +5 −0 src/extras/shaders/makeinc.sh
- +26 −0 src/extras/shaders/neoGloss.frag
- +29 −0 src/extras/shaders/neoGloss.vert
- BIN src/extras/shaders/neoGloss_PS.cso
- +20 −0 src/extras/shaders/neoGloss_PS.hlsl
- +39 −0 src/extras/shaders/neoGloss_PS.inc
- BIN src/extras/shaders/neoGloss_VS.cso
- +35 −0 src/extras/shaders/neoGloss_VS.hlsl
- +66 −0 src/extras/shaders/neoGloss_VS.inc
- +28 −0 src/extras/shaders/neoGloss_fs_gl3.inc
- +31 −0 src/extras/shaders/neoGloss_vs_gl3.inc
- +37 −0 src/extras/shaders/neoRim.vert
- +48 −0 src/extras/shaders/neoRimSkin.vert
- BIN src/extras/shaders/neoRimSkin_VS.cso
- +73 −0 src/extras/shaders/neoRimSkin_VS.hlsl
- +203 −0 src/extras/shaders/neoRimSkin_VS.inc
- +50 −0 src/extras/shaders/neoRimSkin_gl3.inc
- BIN src/extras/shaders/neoRim_VS.cso
- +61 −0 src/extras/shaders/neoRim_VS.hlsl
- +118 −0 src/extras/shaders/neoRim_VS.inc
- +39 −0 src/extras/shaders/neoRim_gl3.inc
- +28 −0 src/extras/shaders/neoVehicle.frag
- +54 −0 src/extras/shaders/neoVehicle.vert
- BIN src/extras/shaders/neoVehicle_PS.cso
- +34 −0 src/extras/shaders/neoVehicle_PS.hlsl
- +42 −0 src/extras/shaders/neoVehicle_PS.inc
- BIN src/extras/shaders/neoVehicle_VS.cso
- +64 −0 src/extras/shaders/neoVehicle_VS.hlsl
- +160 −0 src/extras/shaders/neoVehicle_VS.inc
- +30 −0 src/extras/shaders/neoVehicle_fs_gl3.inc
- +56 −0 src/extras/shaders/neoVehicle_vs_gl3.inc
- +25 −0 src/extras/shaders/neoWorldVC.frag
- BIN src/extras/shaders/neoWorldVC_PS.cso
- +25 −0 src/extras/shaders/neoWorldVC_PS.hlsl
- +46 −0 src/extras/shaders/neoWorldVC_PS.inc
- +27 −0 src/extras/shaders/neoWorldVC_fs_gl3.inc
- +16 −0 src/extras/shaders/simple.frag
- +18 −0 src/extras/shaders/simple_fs_gl3.inc
- +28 −0 src/extras/shaders/standardConstants.h
- +4 −0 src/modelinfo/PedModelInfo.cpp
- +8 −0 src/modelinfo/SimpleModelInfo.cpp
- +7 −2 src/modelinfo/VehicleModelInfo.cpp
- +0 −2 src/objects/ParticleObject.cpp
- +108 −11 src/peds/Ped.cpp
- +2 −1 src/peds/Ped.h
- +3 −3 src/peds/PedChat.cpp
- +1 −1 src/peds/PlayerPed.cpp
- +1 −1 src/peds/PlayerPed.h
- +1 −2 src/peds/Population.cpp
- +2 −0 src/render/Antennas.cpp
- +43 −41 src/render/Clouds.cpp
- +162 −26 src/render/Coronas.cpp
- +14 −12 src/render/Coronas.h
- +197 −1 src/render/Fluff.cpp
- +30 −2 src/render/Fluff.h
- +35 −27 src/render/Hud.cpp
- +57 −11 src/render/MBlur.cpp
- +5 −7 src/render/PlayerSkin.cpp
- +55 −13 src/render/PointLights.cpp
- +5 −0 src/render/PointLights.h
- +50 −38 src/render/Renderer.cpp
- +28 −39 src/render/Rubbish.cpp
- +2 −2 src/render/ShadowCamera.cpp
- +1 −1 src/render/Shadows.cpp
- +1 −1 src/render/Shadows.h
- +6 −7 src/render/Skidmarks.cpp
- +34 −6 src/render/SpecialFX.cpp
- +1 −0 src/render/SpecialFX.h
- +3 −3 src/render/Sprite.cpp
- +100 −134 src/render/Sprite2d.cpp
- +2 −1 src/render/Sprite2d.h
- +227 −98 src/render/Timecycle.cpp
- +123 −115 src/render/Timecycle.h
- +186 −122 src/render/Weather.cpp
- +6 −1 src/render/Weather.h
- +41 −3 src/render/WindModifiers.cpp
- +5 −2 src/render/WindModifiers.h
- +1 −0 src/rw/ClumpRead.cpp
- +19 −3 src/rw/Lights.cpp
- +6 −0 src/rw/Lights.h
- +2 −2 src/rw/NodeName.cpp
- +6 −31 src/rw/RwHelper.cpp
- +2 −4 src/rw/RwHelper.h
- +36 −2 src/rw/TexRead.cpp
- +6 −10 src/rw/TxdStore.cpp
- +5 −0 src/rw/VisibilityPlugins.cpp
- +23 −2 src/save/GenericGameStorage.cpp
- +1 −1 src/save/GenericGameStorage.h
- +4 −4 src/save/PCSave.cpp
- +21 −1 src/skel/glfw/glfw.cpp
- +1 −0 src/skel/platform.h
- +9 −0 src/skel/skeleton.cpp
- +3 −0 src/skel/skeleton.h
- +28 −2 src/skel/win/win.cpp
- +6 −7 src/vehicles/Automobile.cpp
- +1 −1 src/vehicles/Automobile.h
- +8 −12 src/vehicles/Bike.cpp
- +1 −1 src/vehicles/Boat.cpp
- +36 −42 src/vehicles/Transmission.cpp
- +0 −7,979 utils/gxt/american.txt
- +0 −7,026 utils/gxt/english.txt
- +0 −8,211 utils/gxt/french.txt
- +0 −8,028 utils/gxt/german.txt
- BIN utils/gxt/gxt.exe
- +0 −8,040 utils/gxt/italian.txt
- +0 −7,979 utils/gxt/russian.txt
- +0 −8,031 utils/gxt/spanish.txt
- +1 −0 vendor/librw
- 0 {libsndfile.32 → vendor/libsndfile}/ChangeLog
- 0 {libsndfile.32 → vendor/libsndfile}/NEWS
- BIN {libsndfile.32/dist → vendor/libsndfile/dist/Win32}/libsndfile-1.dll
- BIN {libsndfile.64/dist → vendor/libsndfile/dist/Win64}/libsndfile-1.dll
- 0 {libsndfile.32 → vendor/libsndfile}/include/sndfile.h
- 0 {libsndfile.32 → vendor/libsndfile}/include/sndfile.hh
- 0 {libsndfile.32/lib → vendor/libsndfile/lib/Win32}/libsndfile-1.def
- BIN {libsndfile.32/lib → vendor/libsndfile/lib/Win32}/libsndfile-1.lib
- 0 {libsndfile.32/lib → vendor/libsndfile/lib/Win32}/pkgconfig/sndfile.pc
- 0 {libsndfile.64/lib → vendor/libsndfile/lib/Win64}/libsndfile-1.def
- BIN {libsndfile.64/lib → vendor/libsndfile/lib/Win64}/libsndfile-1.lib
- 0 {libsndfile.64/lib → vendor/libsndfile/lib/Win64}/pkgconfig/sndfile.pc
- BIN {mpg123.32/dist → vendor/mpg123/dist/Win32}/libmpg123-0.dll
- BIN {mpg123.64/dist → vendor/mpg123/dist/Win64}/libmpg123-0.dll
- 0 {mpg123.32 → vendor/mpg123}/include/fmt123.h
- 0 {mpg123.32 → vendor/mpg123}/include/mpg123.h
- BIN {mpg123.32/lib → vendor/mpg123/lib/Win32}/libmpg123-0.lib
- BIN {mpg123.64/lib → vendor/mpg123/lib/Win64}/libmpg123-0.lib
- +1 −0 vendor/ogg
- 0 { → vendor}/openal-soft/COPYING
- BIN { → vendor}/openal-soft/dist/Win32/OpenAL32.dll
- BIN { → vendor}/openal-soft/dist/Win64/OpenAL32.dll
- 0 { → vendor}/openal-soft/include/AL/al.h
- 0 { → vendor}/openal-soft/include/AL/alc.h
- 0 { → vendor}/openal-soft/include/AL/alext.h
- 0 { → vendor}/openal-soft/include/AL/efx-creative.h
- 0 { → vendor}/openal-soft/include/AL/efx-presets.h
- 0 { → vendor}/openal-soft/include/AL/efx.h
- 0 { → vendor}/openal-soft/libs/Win32/OpenAL32.def
- BIN { → vendor}/openal-soft/libs/Win32/OpenAL32.lib
- BIN { → vendor}/openal-soft/libs/Win32/libOpenAL32.dll.a
- 0 { → vendor}/openal-soft/libs/Win64/OpenAL32.def
- BIN { → vendor}/openal-soft/libs/Win64/OpenAL32.lib
- BIN { → vendor}/openal-soft/libs/Win64/libOpenAL32.dll.a
- 0 { → vendor}/openal-soft/readme.txt
- +1 −0 vendor/opus
- +1 −0 vendor/opusfile
There are no files selected for viewing
| @@ -0,0 +1,67 @@ | ||
| name: reVC_msvc_amd64 | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| release: | ||
| types: published | ||
| env: | ||
| GLEW_VER: "2.1.0" | ||
| GLFW_VER: "3.3.2" | ||
| GLEW_BASE: "glew-2.1.0" | ||
| GLFW_BASE: "glfw-3.3.2.bin.WIN64" | ||
| GLEW_FILE: "glew-2.1.0-win32.zip" | ||
| GLFW_FILE: "glfw-3.3.2.bin.WIN64.zip" | ||
| GLEW_URL: "https://github.com/nigels-com/glew/releases/download/glew-2.1.0/glew-2.1.0-win32.zip" | ||
| GLFW_URL: "https://github.com/glfw/glfw/releases/download/3.3.2/glfw-3.3.2.bin.WIN64.zip" | ||
| jobs: | ||
| build: | ||
| runs-on: windows-2019 | ||
| strategy: | ||
| matrix: | ||
| platform: [win-amd64-librw_d3d9-oal, win-amd64-librw_gl3_glfw-oal] | ||
| buildtype: [Debug, Release] | ||
| steps: | ||
| - name: Add msbuild to PATH | ||
| uses: microsoft/setup-msbuild@v1.0.1 | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: 'true' | ||
| - if: ${{ matrix.platform }} == "win-amd64-librw_gl3_glfw-mss" | ||
| name: Download glew | ||
| uses: carlosperate/download-file-action@v1.0.3 | ||
| with: | ||
| file-url: ${{env.GLEW_URL}} | ||
| - if: ${{ matrix.platform }} == "win-amd64-librw_gl3_glfw-mss" | ||
| name: Download glfw | ||
| uses: carlosperate/download-file-action@v1.0.3 | ||
| with: | ||
| file-url: ${{env.GLFW_URL}} | ||
| - if: ${{ matrix.platform }} == "win-amd64-librw_gl3_glfw-mss" | ||
| name: Unpack archives | ||
| run: | | ||
| 7z x ${{env.GLEW_FILE}} | ||
| 7z x ${{env.GLFW_FILE}} | ||
| - name: Configure build | ||
| run: | | ||
| ./premake5 vs2019 --with-librw --glewdir=${{env.GLEW_BASE}} --glfwdir64=${{env.GLFW_BASE}} | ||
| - name: Build | ||
| run: | | ||
| msbuild -m build/reVC.sln /property:Configuration=${{matrix.buildtype}} /property:Platform=${{matrix.platform}} | ||
| - name: Pack artifacts | ||
| run: | | ||
| 7z a reVC_${{matrix.buildtype}}_${{matrix.platform}}.zip ./bin/${{matrix.platform}}/${{matrix.buildtype}}/* | ||
| - name: Upload artifact to actions | ||
| uses: actions/upload-artifact@v2 | ||
| with: | ||
| name: reVC_${{matrix.buildtype}}_${{matrix.platform}} | ||
| path: ./bin/${{matrix.platform}}/${{matrix.buildtype}} | ||
| # - name: Upload artifact to Bintray | ||
| # uses: hpcsc/upload-bintray-docker-action@v1 | ||
| # with: | ||
| # repository: reVC | ||
| # package: ${{matrix.buildtype}}_${{matrix.platform}} | ||
| # version: 1.0-$(echo ${GITHUB_SHA} | ||
| # sourcePath: ./bin/${{matrix.platform}}/${{matrix.buildtype}} | ||
| # username: gtamodding | ||
| # apiKey: ${{secrets.BINTRAY_API_KEY}} |
| @@ -0,0 +1,68 @@ | ||
| name: reVC_msvc_x86 | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| release: | ||
| types: published | ||
| env: | ||
| GLEW_VER: "2.1.0" | ||
| GLFW_VER: "3.3.2" | ||
| GLEW_BASE: "glew-2.1.0" | ||
| GLFW_BASE: "glfw-3.3.2.bin.WIN32" | ||
| GLEW_FILE: "glew-2.1.0-win32.zip" | ||
| GLFW_FILE: "glfw-3.3.2.bin.WIN32.zip" | ||
| GLEW_URL: "https://github.com/nigels-com/glew/releases/download/glew-2.1.0/glew-2.1.0-win32.zip" | ||
| GLFW_URL: "https://github.com/glfw/glfw/releases/download/3.3.2/glfw-3.3.2.bin.WIN32.zip" | ||
| jobs: | ||
| build: | ||
| runs-on: windows-2019 | ||
| strategy: | ||
| matrix: | ||
| platform: [win-x86-librw_d3d9-mss, win-x86-librw_gl3_glfw-mss, win-x86-librw_d3d9-oal, win-x86-librw_gl3_glfw-oal] | ||
| buildtype: [Debug, Release] | ||
| steps: | ||
| - name: Add msbuild to PATH | ||
| uses: microsoft/setup-msbuild@v1.0.1 | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: 'true' | ||
| - if: ${{ matrix.platform }} == "win-x86-librw_gl3_glfw-mss" | ||
| name: Download glew | ||
| uses: carlosperate/download-file-action@v1.0.3 | ||
| with: | ||
| file-url: ${{env.GLEW_URL}} | ||
| - if: ${{ matrix.platform }} == "win-x86-librw_gl3_glfw-mss" | ||
| name: Download glfw | ||
| uses: carlosperate/download-file-action@v1.0.3 | ||
| with: | ||
| file-url: ${{env.GLFW_URL}} | ||
| - if: ${{ matrix.platform }} == "win-x86-librw_gl3_glfw-mss" | ||
| name: Unpack archives | ||
| run: | | ||
| 7z x ${{env.GLEW_FILE}} | ||
| 7z x ${{env.GLFW_FILE}} | ||
| - name: Configure build | ||
| run: | | ||
| ./premake5 vs2019 --with-librw --glewdir=${{env.GLEW_BASE}} --glfwdir32=${{env.GLFW_BASE}} | ||
| - name: Build | ||
| run: | | ||
| msbuild -m build/reVC.sln /property:Configuration=${{matrix.buildtype}} /property:Platform=${{matrix.platform}} | ||
| - name: Pack artifacts | ||
| run: | | ||
| 7z a reVC_${{matrix.buildtype}}_${{matrix.platform}}.zip ./bin/${{matrix.platform}}/${{matrix.buildtype}}/* | ||
| - name: Upload artifact to actions | ||
| uses: actions/upload-artifact@v2 | ||
| with: | ||
| name: reVC_${{matrix.buildtype}}_${{matrix.platform}} | ||
| path: reVC_${{matrix.buildtype}}_${{matrix.platform}}.zip | ||
| # - name: Upload artifact to Bintray | ||
| # uses: hpcsc/upload-bintray-docker-action@v1 | ||
| # with: | ||
| # repository: reVC | ||
| # package: ${{matrix.buildtype}}_${{matrix.platform}} | ||
| # version: 1.0-$(echo ${GITHUB_SHA} | ||
| # sourcePath: ./bin/${{matrix.platform}}/${{matrix.buildtype}} | ||
| # username: gtamodding | ||
| # apiKey: ${{secrets.BINTRAY_API_KEY}} | ||
|
|
| @@ -1,15 +1,16 @@ | ||
| [submodule "librw"] | ||
| path = librw | ||
| url = https://github.com/aap/librw | ||
| [submodule "opus"] | ||
| path = opus | ||
| [submodule "vendor/ogg"] | ||
| path = vendor/ogg | ||
| url = https://github.com/xiph/ogg.git | ||
| branch = master | ||
| [submodule "vendor/opus"] | ||
| path = vendor/opus | ||
| url = https://github.com/xiph/opus.git | ||
| branch = master | ||
| [submodule "opusfile"] | ||
| path = opusfile | ||
| [submodule "vendor/opusfile"] | ||
| path = vendor/opusfile | ||
| url = https://github.com/xiph/opusfile.git | ||
| branch = master | ||
| [submodule "ogg"] | ||
| path = ogg | ||
| url = https://github.com/xiph/ogg.git | ||
| [submodule "vendor/librw"] | ||
| path = vendor/librw | ||
| url = https://github.com/aap/librw.git | ||
| branch = master |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.