mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-30 04:54:15 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
5a916c16b7
@ -5,19 +5,50 @@ configuration:
|
|||||||
- Release
|
- Release
|
||||||
platform:
|
platform:
|
||||||
- win-x86-librw_d3d9-mss
|
- win-x86-librw_d3d9-mss
|
||||||
|
- win-x86-librw_gl3_glfw-mss
|
||||||
environment:
|
environment:
|
||||||
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
APPVEYOR_SAVE_CACHE_ON_ERROR: true
|
||||||
|
GLEW_VER: "2.1.0"
|
||||||
|
GLFW_VER: "3.3.2"
|
||||||
|
GLEW_BASE: glew-%GLEW_VER%
|
||||||
|
GLFW_BASE: glfw-%GLFW_VER%.bin.WIN32
|
||||||
|
GLEW_FILE: "%GLEW_BASE%-win32.zip"
|
||||||
|
GLFW_FILE: "%GLFW_BASE%.zip"
|
||||||
|
GLEW_URL: https://github.com/nigels-com/glew/releases/download/%GLEW_BASE%/%GLEW_FILE%
|
||||||
|
GLFW_URL: https://github.com/glfw/glfw/releases/download/%GLFW_VER%/%GLFW_FILE%
|
||||||
install:
|
install:
|
||||||
|
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] IF NOT EXIST %GLEW_FILE% appveyor DownloadFile %GLEW_URL% -FileName "%APPVEYOR_BUILD_FOLDER%/%GLEW_FILE%"
|
||||||
|
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] 7z x "%APPVEYOR_BUILD_FOLDER%/%GLEW_FILE%"
|
||||||
|
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] IF NOT EXIST %GLFW_FILE% appveyor DownloadFile %GLFW_URL% -FileName "%APPVEYOR_BUILD_FOLDER%/%GLFW_FILE%"
|
||||||
|
- IF [%PLATFORM%] == [win-x86-librw_gl3_glfw-mss] 7z x "%APPVEYOR_BUILD_FOLDER%/%GLFW_FILE%"
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
premake5 vs2019 --with-librw
|
premake5 vs2019 --with-librw --glewdir=%APPVEYOR_BUILD_FOLDER%/%GLEW_BASE% --glfwdir=%APPVEYOR_BUILD_FOLDER%/%GLFW_BASE%
|
||||||
|
|
||||||
build:
|
build:
|
||||||
project: build/re3.sln
|
project: build/re3.sln
|
||||||
verbosity: minimal
|
verbosity: minimal
|
||||||
|
after_build:
|
||||||
|
- 7z a "re3_%configuration%_%platform%_%APPVEYOR_BUILD_VERSION%.zip" bin/%PLATFORM%/%CONFIGURATION%/re3.exe bin/%PLATFORM%/%CONFIGURATION%/re3.pdb
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: bin/%PLATFORM%/%CONFIGURATION%/re3.exe
|
- path: "re3_%configuration%_%platform%_%APPVEYOR_BUILD_VERSION%.zip"
|
||||||
name: re3.exe
|
name: re3
|
||||||
- path: bin/%PLATFORM%/%CONFIGURATION%/re3.pdb
|
deploy:
|
||||||
name: re3.pdb
|
- provider: BinTray
|
||||||
|
username: shfil119
|
||||||
|
api_key:
|
||||||
|
secure: xWnYDfNWM87iPoBFbz6L1XAduxijJRWSpQLhMDOjznmzbMCsORtdx2tmWmFLTwf6
|
||||||
|
subject: gtamodding
|
||||||
|
repo: re3
|
||||||
|
package: "%configuration%_%platform%"
|
||||||
|
version: "%APPVEYOR_BUILD_VERSION%"
|
||||||
|
artifact: re3
|
||||||
|
publish: true
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
|
APPVEYOR_REPO_TAG: false
|
||||||
|
|
||||||
|
cache:
|
||||||
|
- "%GLEW_FILE%"
|
||||||
|
- "%GLFW_FILE%"
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# re3
|
# re3
|
||||||
[![Build status](https://ci.appveyor.com/api/projects/status/hyiwgegks122h8jg?svg=true)](https://ci.appveyor.com/project/aap/re3/branch/master)
|
[![Build status](https://ci.appveyor.com/api/projects/status/hyiwgegks122h8jg?svg=true)](https://ci.appveyor.com/project/aap/re3/branch/master)
|
||||||
<a href="https://discord.gg/jYpXxTm"><img src="https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat" /></a>
|
<a href="https://discord.gg/jYpXxTm"><img src="https://img.shields.io/badge/discord-join-7289DA.svg?logo=discord&longCache=true&style=flat" /></a>
|
||||||
<a href="https://ci.appveyor.com/api/projects/aap/re3/artifacts/bin/win-x86-librw_d3d9-mss/Debug/re3.exe?branch=master&job=Configuration%3A+Debug&pr=false"><img src="https://img.shields.io/badge/download-debug-9cf.svg" /></a>
|
| Platform | Debug | Release |
|
||||||
<a href="https://ci.appveyor.com/api/projects/aap/re3/artifacts/bin/win-x86-librw_d3d9-mss/Release/re3.exe?branch=master&job=Configuration%3A+Release&pr=false"><img src="https://img.shields.io/badge/download-release-blue.svg" /></a>
|
|------------------|-------------|-------------|
|
||||||
|
| Windows Direct3D9 | [![Download](https://api.bintray.com/packages/gtamodding/re3/Debug_win-x86-librw_d3d9-mss/images/download.svg)](https://bintray.com/gtamodding/re3/Debug_win-x86-librw_d3d9-mss/_latestVersion) | [![Download](https://api.bintray.com/packages/gtamodding/re3/Release_win-x86-librw_d3d9-mss/images/download.svg)](https://bintray.com/gtamodding/re3/Release_win-x86-librw_d3d9-mss/_latestVersion) |
|
||||||
|
| Windows OpenGL3.3 | [![Download](https://api.bintray.com/packages/gtamodding/re3/Debug_win-x86-librw_gl3_glfw-mss/images/download.svg)](https://bintray.com/gtamodding/re3/Debug_win-x86-librw_gl3_glfw-mss/_latestVersion) | [![Download](https://api.bintray.com/packages/gtamodding/re3/Release_win-x86-librw_gl3_glfw-mss/images/download.svg)](https://bintray.com/gtamodding/re3/Release_win-x86-librw_gl3_glfw-mss/_latestVersion) |
|
||||||
|
|
||||||
## Intro
|
## Intro
|
||||||
|
|
||||||
|
2
librw
2
librw
@ -1 +1 @@
|
|||||||
Subproject commit dfedaee353ccbf4dcfcfd3eb4024e0dd8e9b4b69
|
Subproject commit b3ad490d1be3c1f41b416d3ceeaff3453bd2d28d
|
@ -26,6 +26,7 @@
|
|||||||
#include "PlayerPed.h"
|
#include "PlayerPed.h"
|
||||||
#include "Radar.h"
|
#include "Radar.h"
|
||||||
#include "debugmenu.h"
|
#include "debugmenu.h"
|
||||||
|
#include "Frontend.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
@ -325,6 +326,9 @@ DebugMenuPopulate(void)
|
|||||||
#ifdef LIBRW
|
#ifdef LIBRW
|
||||||
DebugMenuAddVarBool8("Render", "PS2 Alpha test Emu", &gPS2alphaTest, nil);
|
DebugMenuAddVarBool8("Render", "PS2 Alpha test Emu", &gPS2alphaTest, nil);
|
||||||
#endif
|
#endif
|
||||||
|
DebugMenuAddVarBool8("Render", "Frame limiter", &FrontEndMenuManager.m_PrefsFrameLimiter, nil);
|
||||||
|
DebugMenuAddVarBool8("Render", "VSynch", &FrontEndMenuManager.m_PrefsVsync, nil);
|
||||||
|
DebugMenuAddVar("Render", "Max FPS", &RsGlobal.maxFPS, nil, 1, 1, 1000, nil);
|
||||||
|
|
||||||
DebugMenuAddVarBool8("Debug", "Draw hud", &CHud::m_Wants_To_Draw_Hud, nil);
|
DebugMenuAddVarBool8("Debug", "Draw hud", &CHud::m_Wants_To_Draw_Hud, nil);
|
||||||
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);
|
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);
|
||||||
|
@ -126,8 +126,8 @@ rwFrameList *rwFrameListStreamRead(RwStream *stream, rwFrameList *fl) { return f
|
|||||||
RwCamera *RwCameraBeginUpdate(RwCamera * camera) { camera->beginUpdate(); return camera; }
|
RwCamera *RwCameraBeginUpdate(RwCamera * camera) { camera->beginUpdate(); return camera; }
|
||||||
RwCamera *RwCameraEndUpdate(RwCamera * camera) { camera->endUpdate(); return camera; }
|
RwCamera *RwCameraEndUpdate(RwCamera * camera) { camera->endUpdate(); return camera; }
|
||||||
RwCamera *RwCameraClear(RwCamera * camera, RwRGBA * colour, RwInt32 clearMode) { camera->clear(colour, clearMode); return camera; }
|
RwCamera *RwCameraClear(RwCamera * camera, RwRGBA * colour, RwInt32 clearMode) { camera->clear(colour, clearMode); return camera; }
|
||||||
// WARNING: ignored arguments
|
// WARNING: ignored argument
|
||||||
RwCamera *RwCameraShowRaster(RwCamera * camera, void *pDev, RwUInt32 flags) { camera->showRaster(); return camera; }
|
RwCamera *RwCameraShowRaster(RwCamera * camera, void *pDev, RwUInt32 flags) { camera->showRaster(flags); return camera; }
|
||||||
RwBool RwCameraDestroy(RwCamera * camera) { camera->destroy(); return true; }
|
RwBool RwCameraDestroy(RwCamera * camera) { camera->destroy(); return true; }
|
||||||
RwCamera *RwCameraCreate(void) { return rw::Camera::create(); }
|
RwCamera *RwCameraCreate(void) { return rw::Camera::create(); }
|
||||||
RwCamera *RwCameraClone(RwCamera * camera) { return camera->clone(); }
|
RwCamera *RwCameraClone(RwCamera * camera) { return camera->clone(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user