mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 07:30:01 +00:00
update librw (vsynch)
This commit is contained in:
parent
226d0296ad
commit
339365806a
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 a new issue