summaryrefslogtreecommitdiffstats
path: root/src/skel/glfw (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix mouse lock/high-dpierorcun2020-11-181-10/+20
|
* Use CLOCK_MONOTONIC_FAST when available (FreeBSD)Greg V2020-11-181-1/+3
| | | | CLOCK_MONOTONIC_FAST is the equivalent of Linux's CLOCK_MONOTONIC_RAW.
* Use GLFW_CURSOR_DISABLED (glfw's native mouse restriction)Greg V2020-11-181-0/+2
| | | | | | | On Wayland, clients cannot move the mouse pointer. Mouse constraints, as required for 3D camera movement, are an explicit specific thing, and glfw supports it with GLFW_CURSOR_DISABLED. Use DISABLED, unless we're in a menu in windowed mode, where HIDDEN is still appropriate.
* glfw: scale cursor position by the ratio of framebuffer to screen sizeGreg V2020-11-181-2/+5
| | | | This fixes the mouse being constrained to the top left quarter of the window on Wayland HiDPI setups.
* Use glfwSetFramebufferSizeCallback instead of glfwSetWindowSizeCallbackGreg V2020-11-181-1/+1
| | | | | | | Framebuffer size is scaled by the display scale. This fixes the game being shrunk to the bottom left quarter of the window on Wayland HiDPI setups. Corresponding change in librw: glfwGetWindowSize -> glfwGetFramebufferSize.
* Minor thingseray orçunus2020-10-181-0/+1
|
* Merge pull request #765 from erorcun/miamierorcun2020-10-171-15/+12
|\ | | | | Radar, WaterCannon, win/glfw skels
| * Radar, WaterCannon, win/glfw skelseray orçunus2020-10-171-15/+12
| |
* | Fix management issueeray orçunus2020-10-171-1/+2
|/
* Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-10-111-39/+50
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # gamefiles/TEXT/american.gxt # premake5.lua # src/audio/MusicManager.cpp # src/control/Darkel.cpp # src/control/Script.cpp # src/core/FileLoader.cpp # src/core/Frontend.cpp # src/core/Game.cpp # src/core/Streaming.cpp # src/core/config.h # src/core/re3.cpp # src/extras/frontendoption.cpp # src/extras/frontendoption.h # src/render/Hud.cpp # src/skel/glfw/glfw.cpp # src/vehicles/CarGen.cpp # src/vehicles/Vehicle.cpp # src/weapons/WeaponInfo.cpp # utils/gxt/american.txt
| * Fix POSIX streamingeray orçunus2020-10-091-1/+4
| |
| * Merge branch 'master' into mastererorcun2020-10-041-4/+21
| |\
| | * macOS support; thanks to @MrYadroAndrew Udvare2020-09-301-4/+21
| | | | | | | | | | | | | | | | | | This should support ARM64 and x86-64. -target flag based on information from https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary#3618377.
| * | Load and write our settings in re3.ini & fixeseray orçunus2020-10-021-13/+14
| | |
| * | Fixes, mouse AUX buttons, joystick detect menueray orçunus2020-09-301-28/+22
| |/
| * Fixes: PS2/PS2-like menu, Hud, new sliding text founderay orçunus2020-09-271-2/+1
| |
| * Fixeseray orçunus2020-09-271-6/+22
| |
| * Fix MASTER build with glfwSergeanur2020-09-261-1/+85
| |
* | Fix POSIX streamingeray orçunus2020-10-091-1/+4
| |
* | macOS support; thanks to @MrYadroAndrew Udvare2020-10-081-4/+21
| | | | | | | | | | | | This should support ARM64 and x86-64. -target flag based on information from https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary#3618377.
* | Population and many small classes done, mouse AUX buttons, Frontend, Hud, fixeseray orçunus2020-09-301-3/+1
| |
* | Credits & fixeseray orçunus2020-09-271-6/+22
| |
* | Fix MASTER build with glfwSergeanur2020-09-261-1/+85
| |
* | Merge branch 'master' into miamiSergeanur2020-08-151-0/+16
|\| | | | | | | | | | | # Conflicts: # src/control/Darkel.cpp # src/core/main.cpp
| * Original screen grabberSergeanur2020-08-141-0/+16
| |
* | Stats(except displaying), PlayerInfo, marker fixeray orçunus2020-08-141-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-08-101-0/+4
|\| | | | | | | | | | | | | | | # Conflicts: # premake5.lua # src/render/Coronas.cpp # src/render/Timecycle.cpp # src/render/Timecycle.h
| * Update glfw.cppblingu2020-08-071-1/+1
| |
| * added FreeBSD supportblingu2020-08-051-0/+4
| |
* | Fixes after mergeSergeanur2020-07-291-5/+0
| |
* | Merge branch 'master' into miamiSergeanur2020-07-291-0/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/animation/RpAnimBlend.cpp # src/audio/oal/stream.cpp # src/audio/sampman.h # src/control/Pickups.cpp # src/core/Collision.cpp # src/core/Collision.h # src/core/FileLoader.cpp # src/core/FileMgr.cpp # src/core/FileMgr.h # src/core/Streaming.cpp # src/core/Streaming.h # src/core/SurfaceTable.h # src/modelinfo/VehicleModelInfo.h # src/peds/Ped.cpp # src/rw/RwHelper.cpp # src/rw/RwHelper.h # src/skel/glfw/glfw.cpp # src/skel/platform.h # src/text/Text.cpp # src/text/Text.h # src/vehicles/CarGen.cpp # src/vehicles/Heli.cpp
| * 90% fixes, 10% skel refactoringeray orçunus2020-07-241-2/+11
| |
| * 64-bit on Windowseray orçunus2020-07-221-1/+1
| |
* | 90% fixes, 10% skel refactoringeray orçunus2020-07-241-1/+20
| |
* | 64-bit on Windowseray orçunus2020-07-241-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-07-221-2/+0
|\| | | | | | | | | | | | | | | | | | | | | # Conflicts: # README.md # src/core/Frontend.cpp # src/core/Frontend.h # src/peds/Ped.cpp # src/peds/Ped.h # src/render/Renderer.cpp # src/vehicles/Plane.cpp
| * Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcherSergeanur2020-07-221-2/+0
| |
| * Fixes from miamieray orçunus2020-07-201-4/+0
| |
* | Peds, Hud, CFO 1/2, fixes - including zone nameseray orçunus2020-07-221-6/+3
| |
* | Merge branch 'master' into miamiSergeanur2020-07-131-0/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/control/CarAI.cpp # src/control/Phones.cpp # src/control/Phones.h # src/control/Record.cpp # src/control/Restart.cpp # src/control/Script.cpp # src/core/Collision.cpp # src/core/Frontend.cpp # src/core/Frontend.h # src/core/Game.h # src/core/Streaming.cpp # src/core/TempColModels.cpp # src/core/Wanted.cpp # src/core/Zones.cpp # src/core/config.h # src/core/main.cpp # src/core/re3.cpp # src/entities/Entity.cpp # src/entities/Physical.cpp # src/extras/frontendoption.cpp # src/modelinfo/ModelInfo.cpp # src/modelinfo/PedModelInfo.cpp # src/peds/CivilianPed.cpp # src/peds/CopPed.cpp # src/peds/EmergencyPed.cpp # src/peds/Ped.cpp # src/peds/Ped.h # src/peds/Population.cpp # src/render/Renderer.cpp # src/save/GenericGameStorage.cpp # src/skel/win/win.cpp # src/vehicles/Automobile.cpp # src/vehicles/Boat.cpp # src/vehicles/Boat.h # src/vehicles/Vehicle.cpp
| * Remove console and fix stheray orçunus2020-07-041-0/+3
| |
| * Re-enable console for debugging frontenderay orçunus2020-07-031-0/+6
| |
* | Frontend: Stats, Briefs, gta_vc.set, slider ranges, fixeseray orçunus2020-07-061-2/+6
| |
* | Fix glfw.cppFilip Gawin2020-06-291-5/+5
| |
* | Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-06-291-2/+194
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/audio/AudioLogic.cpp # src/audio/soundlist.h # src/control/Script.cpp # src/control/ScriptCommands.h # src/core/Cam.cpp # src/core/Camera.cpp # src/core/Camera.h # src/core/Frontend.cpp # src/core/Frontend.h # src/core/Game.cpp # src/core/MenuScreens.cpp # src/core/Pad.cpp # src/core/Pad.h # src/core/config.h # src/entities/Entity.cpp # src/render/Credits.cpp # src/render/Fluff.cpp # src/render/Hud.cpp # src/render/MBlur.cpp # src/render/Timecycle.cpp # src/skel/glfw/glfw.cpp # src/skel/win/win.cpp # src/text/Text.cpp
| * update glfw.cppFire-Head2020-06-291-7/+199
| |
* | Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-06-031-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/control/GameLogic.cpp # src/control/PathFind.cpp # src/control/RoadBlocks.cpp # src/control/Script.cpp # src/control/Script.h # src/core/Frontend.cpp # src/core/Frontend.h # src/core/MenuScreens.cpp # src/core/TempColModels.cpp # src/core/config.h # src/core/re3.cpp # src/modelinfo/SimpleModelInfo.cpp # src/modelinfo/VehicleModelInfo.cpp # src/modelinfo/VehicleModelInfo.h # src/render/Skidmarks.h # src/render/WaterLevel.cpp # src/save/GenericGameStorage.h # src/vehicles/Automobile.cpp # src/vehicles/Automobile.h # src/vehicles/DamageManager.cpp # src/vehicles/Vehicle.cpp # src/vehicles/Vehicle.h
| * Frontend customization functions, freecam toggle, minor thingseray orçunus2020-05-281-1/+1
| |
| * skeleton typosaap2020-05-231-4/+4
| |
* | skeleton typosaap2020-05-231-4/+4
| |
* | VC CMenuManager struct, ctor etc.eray orçunus2020-05-221-13/+13
| |
* | Merge branch 'master' into miamiSergeanur2020-05-141-1/+14
|\| | | | | | | | | # Conflicts: # src/modelinfo/ClumpModelInfo.cpp
| * blacklist for glfw "joysticks"aap2020-05-141-1/+14
| |
* | Merge branch 'master' into miamiSergeanur2020-05-121-1/+1
|\| | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/control/Garages.cpp # src/core/FileLoader.cpp # src/core/Streaming.cpp # src/core/Zones.cpp # src/core/Zones.h # src/render/Renderer.cpp # src/rw/VisibilityPlugins.cpp
| * Fix linux warningsFilip Gawin2020-05-121-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into miamiSergeanur2020-05-121-50/+125
|\| | | | | | | | | | | | | | | | | # Conflicts: # premake5.lua # src/core/ZoneCull.cpp # src/core/Zones.cpp # src/objects/CutsceneHead.cpp # src/render/Clouds.cpp
| * Fix Windows build and premakeeray orçunus2020-05-111-1/+1
| |
| * Linux build supporteray orçunus2020-05-111-50/+125
| |
| * Menu map fixes and resizable window on GLFWeray orçunus2020-05-091-3/+5
| |
* | Menu map fixes and resizable window on GLFWeray orçunus2020-05-091-3/+5
| |
* | most of animation system done; little stuff here and thereaap2020-05-081-0/+4
|/
* Screen mode selector and persistent map target fixeray orçunus2020-05-011-26/+29
|
* improved video modes for glfwaap2020-04-301-40/+146
|
* removed cpuid stuff from glfw as they caused a crash by clobbering registers. what to do about win.cpp?aap2020-04-281-79/+0
|
* fixes for glfwaap2020-04-261-15/+16
|
* Initial GLFW supporteray orçunus2020-04-261-0/+1651