Commit Graph
105 Commits
Author SHA1 Message Date
fgsfds a85a18774f port: implement NVG/IRG color modulation using the grayscale command
still missing the funky overlays
2023-08-22 23:21:55 +02:00
fgsfds 143d2a107a port: save config on exit 2023-08-22 20:37:18 +02:00
fgsfds 2533a844a7 port: fix use-after-free when invalidating texcache 2023-08-22 01:35:13 +02:00
fgsfds 62ea74f332 port: turns out rodata comes after texture data 2023-08-22 00:57:27 +02:00
fgsfds 3a10d47903 port: fix normals 2023-08-22 00:42:36 +02:00
fgsfds 12eeb97e71 port: don't go out of bounds when unswizzling textures
this might still break though, god knows what else is there in the texconfigs
2023-08-22 00:30:41 +02:00
fgsfds 2670db7ca1 port: add rstick fields to OSContPad 2023-08-21 00:29:51 +02:00
fgsfds b9944e8669 port: don't crash when swapping empty rooms 2023-08-20 22:20:12 +02:00
fgsfds 2b6b205a78 port: min supported SDL version should now be 2.0.12 2023-08-20 21:25:06 +02:00
fgsfds 8c6d6df5fc port: be a bit more standard compliant 2023-08-20 19:59:07 +02:00
fgsfds 4b0f2ea439 port: unswizzle pre-swizzled textures 2023-08-20 17:26:11 +02:00
fgsfds e0ced73d8a port: fix model lighting 2023-08-20 16:26:21 +02:00
fgsfds f1186a35d8 port: forgot this 2023-08-20 15:48:46 +02:00
fgsfds 933ba8a708 port: swap all portal vertex batches
actually fixes #43

credit to Ryan for the patch
2023-08-20 15:44:01 +02:00
fgsfds bd5d613a24 port: whitespace cleanup 2023-08-20 15:42:40 +02:00
fgsfds d007550adb Merge branch 'port' into port 2023-08-20 15:30:19 +02:00
fgsfds 2a5594d7d5 Merge pull request #47 from tmyqlfpir/no-lods
Don't draw LODs for port
2023-08-20 15:14:33 +02:00
fgsfds 7e71450a76 port: wrap malloc & co
in case we'll need allocation stats or something later
2023-08-20 14:56:07 +02:00
tmyqlfpir 97258542be Don't draw LODs for port 2023-08-20 20:08:19 +10:00
Catherine Reprobate 93679e62e8 tested with xbox one controller
map implemented buttons to xbla positions

map radial menu to middle the mouse button
2023-08-20 00:00:00 -07:00
fgsfds 0c80abf5b9 port: ignore scissor test in resolve_msaa_color_buffer 2023-08-19 18:02:24 +02:00
fgsfds a7692fe4ef port: add MSAA setting 2023-08-19 17:50:31 +02:00
fgsfds e6a4b9f2fe port: small clean up in gfx_pc 2023-08-19 15:38:16 +02:00
fgsfds 67c4531771 port: add stick scale config setting; better (?) deadzone 2023-08-19 15:18:15 +02:00
fgsfds 8d26944642 port: three-point does not need GL_LINEAR 2023-08-19 13:57:44 +02:00
fgsfds 2f54ceb96e port: add texture filter setting 2023-08-19 13:56:15 +02:00
fgsfds 41cdef055e port: allow keyboard to act as a separate controller
also add a way to fake controller connection status for testing
2023-08-19 12:13:23 +02:00
fgsfds 4e42e3ef82 port: mouse wheel binds; handle adding and removing controllers 2023-08-19 02:16:58 +02:00
Catherine Reprobate a71c7cbba2 Merge branch 'fgsfdsfgs:port' into port 2023-08-18 16:39:44 -07:00
Catherine Reprobate 781fbcddd4 fixup bindings:
F and G will switch modes and bringup the radial menu
2023-08-18 16:37:41 -07:00
fgsfds 1d151f2864 port: implement some framebuffer effects
cloaking and menu blur

in a likely extremely slow way
2023-08-19 00:48:09 +02:00
fgsfds 249041764b port: add adjustable fov 2023-08-18 17:18:56 +02:00
fgsfds 554fde7a9d port: fix rumble 2023-08-18 15:34:13 +02:00
fgsfds a49bfd00a4 port: add mouse controls to eyespy and slayer 2023-08-18 14:47:08 +02:00
fgsfds b906f77b37 port: added rumble scale and support for 2 extra buttons
also fixed some warnings
2023-08-18 12:26:55 +02:00
fgsfds 7a4edd6ef7 port: fix SHADE_ALPHA with fog again 2023-08-16 02:15:04 +02:00
fgsfds bed505fd91 port: get rid of __builtin_trap 2023-08-15 23:33:55 +02:00
fgsfds ffea7cd65a port: reset texcache on level change 2023-08-15 23:33:25 +02:00
fgsfds 8600aead20 port: close config after reading it 2023-08-15 22:00:39 +02:00
fgsfds f48879653a port: forgot this 2023-08-15 21:57:34 +02:00
fgsfds 0c01ab76cf port: add simple config file
includes an option to disable vsync and enable cpu-side frame limiter
2023-08-15 21:45:23 +02:00
MaikelChan 6f35e00c16 Fixed flipped texts and menu elements that were beyond the near clip plane. 2023-08-15 05:05:53 +02:00
fgsfds 20fd3a8f67 port: make alt-enter go into fullscreen 2023-08-15 01:06:14 +02:00
fgsfds 7666ccf2c7 port: fix muzzle flashes on some guns 2023-08-15 00:49:35 +02:00
fgsfds 1b1222494e port: move game viewport init to gfx_init() 2023-08-14 22:07:36 +02:00
fgsfds 58d93cb083 port: hackfix psychosis gun crash 2023-08-14 19:43:05 +02:00
fgsfds a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +02:00
fgsfds c3fb50c358 port; refactor widescreen PR a bit
abstract aspect into a video* function

re-add gun swivel, but make it slower on hi res
2023-08-14 17:39:02 +02:00
MaikelChan 89c5cfb46b Sort of implemented arbitrary aspect ratio and mouse movement improvements. 2023-08-14 07:20:05 +02:00
fgsfds 51808cd1f8 port: fix a bunch of controller-related bugs
don't completely override kb+m input when a controller is connected (fixes #3)

handle controller disconnection

add adequate default controller binds

add deadzone
2023-08-13 23:18:24 +02:00