Commit Graph

43 Commits (249b87b06cece1afd414c16575ce44afa05c2c9a)

Author SHA1 Message Date
zerocloude 6d449d21a5 Merge pull request #93 from yksoft1/mingw.org-compatible
Making code MinGW.org and MSYS1 compatible
2020-05-19 23:45:44 +09:00
fgsfds 6929147d01 Revert "Merge branch 'nightly' into master"
This reverts commit 4bade2f06a, reversing
changes made to ee37d7cb5e.
2020-05-19 02:38:59 +03:00
fgsfds 4bade2f06a Merge branch 'nightly' into master 2020-05-19 02:33:30 +03:00
fgsfds 6404b24d81 bring back the old frame timing method (if vsync != 2) 2020-05-19 01:32:49 +03:00
fgsfds 5f9cad774f Revert "Revert "(hopefully) fix the timing crap; add vsync option""
This reverts commit 4564bccc26.
2020-05-19 01:25:59 +03:00
fgsfds 4564bccc26 Revert "(hopefully) fix the timing crap; add vsync option"
This reverts commit 541de0e3d3.
2020-05-18 18:48:11 -03:00
fgsfds 7aae20c293 Revert "(hopefully) fix the timing crap; add vsync option"
This reverts commit 541de0e3d3.
2020-05-18 18:44:35 -03:00
fgsfds 541de0e3d3 (hopefully) fix the timing crap; add vsync option 2020-05-18 23:03:04 +03:00
Vinícius R. Miguel 1f3124d20c Fixes --fullscreen and --windowed problems 2020-05-18 00:28:05 -03:00
Heaven Volkoff 89d253f0a6 Reset Window now exit fullscreen
Change configFullscreen to configWindow.fullscreen
2020-05-17 23:31:31 -03:00
Heaven Volkoff b91a717a7b Fix fullscreen exit resulting in a slightly lower Y position 2020-05-17 23:31:31 -03:00
Heaven Volkoff aeb4d4e204 Implement save/restore window dimensions/position
- Add an entry in options menu to reset window
2020-05-17 23:31:31 -03:00
kurethedead 1a668f5e45 Implemented LoadTile f3d command, I4/I8/RGBA32 texture formats. 2020-05-17 15:48:06 -07:00
fgsfds 7bb879f2c4 no need for that, window resize events happen when fullscreen state changes 2020-05-17 19:56:33 +03:00
fgsfds 0a246ab8f1 update gfx_sdl2.c with the latest stuff from Emill/n64-fast3d-engine 2020-05-17 19:49:36 +03:00
yksoft1 8d9f9f6ef5 Merge remote-tracking branch 'upstream/master' into mingw.org-compatible 2020-05-17 18:33:17 +08:00
fgsfds e519d970fa Merge branch 'master' into osx_build_clean 2020-05-17 01:27:51 +03:00
fgsfds ea24922e4b tabs begone 2020-05-16 22:39:37 +03:00
fgsfds e266530f6c Merge pull request #126 from HeavenVolkoff/gfx_use_second_light_color
Consider second color column of Light_t when calculating vertex colors
2020-05-16 22:38:36 +03:00
Hyenadae 227c3cdb90 OSX_BUILD cleaned commit 2020-05-16 15:30:27 -04:00
Vinícius R. Miguel c0665cf4f1 Shutdown subsystems on exit
Porting from testing, originally by @fgsfdsfgs
2020-05-16 16:23:23 -03:00
fgsfds f1beb17a4a move filtering check to gfx_pc.c for those sweet realtime updates 2020-05-16 16:15:45 +03:00
fgsfds c83f44e0bb add fullscreen and filtering settings to options
filtering only applies to newly loaded textures
2020-05-16 16:15:27 +03:00
Heaven Volkoff 4b67e3d36f Consider second color column of Light_t when calculating vertex colors 2020-05-16 04:48:11 -03:00
Vinícius R. Miguel 8cacc39769 Add a `--fullscreen` CLI option 2020-05-15 12:51:06 -03:00
yksoft1 0a2212978e Better way to detect mingw-w64; fix bettercamera for mingw.org; close
.assets-local.txt before deleting it.
2020-05-15 00:26:56 +08:00
yksoft1 29888bfd35 Make the code buildable on MinGW.org (not mingw-w64) and MSYS1. 2020-05-14 23:47:00 +08:00
vanfanel cc4f619c2b Hide mouse cursor when in fullscreen mode. 2020-05-11 13:37:48 +02:00
vanfanel c5efdc2018 Remove redundant code. Make GLES and GL modes respect DESIRED_WIDTH and DESIRED_HEIGHT in windowed mode, but in fullscreen mode just use the system video mode. 2020-05-10 18:23:34 +02:00
vanfanel 2056beeaff Do not call gfx_sdl_set_fullscreen() just after creating the game window: create window fullscreen or not directly. 2020-05-10 18:07:26 +02:00
vanfanel 4fb20a14b6 Fix for GLES on windowed rendering contexts (X11) 2020-05-10 17:52:01 +02:00
vanfanel 12434a79b1 Use the system video mode in GLES platforms instead of setting a new one. 2020-05-10 15:41:46 +02:00
Colton G. Rushton 6dc027226c More fixes ported from fdsfgsfds' fork 2020-05-10 00:05:33 -03:00
vanfanel 19cc217dbb Pass -DUSE_GLES to sdl2 GL init context instead of -DTARGET_RPI, since there are more GLES platforms out there that this engine will run on. 2020-05-08 17:06:23 +02:00
HengiFettlich 0047ec939e refactor fullscreen into own static function 2020-05-08 14:35:38 +02:00
Jan200101 68c3eb3e10 revert -O2 when non matching,fix EU compile,disable cursor in fullscreen
- O2 caused problems with audio on US builds when targeting generic systems
- compiling an EU version previously caused problems due to race condition in the Makefile
- not being able to see the cursor on a small window is annoying, only hide on fullscreen
2020-05-08 13:41:12 +02:00
HengiFettlich 44c381f70a Update gfx_sdl2.c
if fullscreened, escape to exit fullscreen
2020-05-08 12:24:40 +02:00
Vinícius R. Miguel d9b6d452fb Merge branch 'master' into master 2020-05-08 04:53:41 -03:00
Hyenadae 37df664c45 Makefile additions and part of SDL2.C Pi-GLES define 2020-05-08 08:38:50 +01:00
Vinícius R. Miguel 9cfee50bbe Removes the cursor from view when on the game's window. 2020-05-08 04:36:17 -03:00
Vinícius R. Miguel c30450a1d2 Add RPi-related optimizations. 2020-05-08 04:14:56 -03:00
HengiFettlich a898c89b3f add Hotkeys for Fullscreen (ALT+Enter) 2020-05-07 20:46:35 +02:00
Jan200101 9267bdd8a8 merge PC port onto the decompile 2020-05-07 20:21:22 +02:00