Hugo Locurcio
02d7efb87f
Add an option to color crosshair according to player health + shield
...
Shield is taken into account and is added to health for the calculation,
as the vast majority of damage types are fully blocked by a shield.
3 modes are available:
- Off (default)
- On (Green): Goes through a red-yellow-green-cyan gradient,
closer to vanilla.
- On (White): Goes through a red-yellow-white-green gradient,
closer to games like Xonotic.
When set to either of the On modes, the crosshair color setting
is ignored but the crosshair alpha setting is still used.
2024-01-27 19:21:05 +01:00
fgsfds
9cde121b52
port: don't call rumble function if rumble strength is 0
2024-01-15 12:58:00 +01:00
fgsfds
cf5588478b
Merge pull request #332 from Calinou/add-crosshair-size-option
...
Add a crosshair size option
2024-01-14 21:21:03 +01:00
fgsfds
b9db86f89b
port: add command line parameter to select player file
2024-01-07 22:05:31 +01:00
fgsfds
6bd3597ff6
port: fix optionsmenu.c warnings
2024-01-07 18:40:32 +01:00
fgsfds
8645d0a82a
port: don't use the existing log system in crashlog in case it crashes
2024-01-07 17:07:12 +01:00
fgsfds
ba52580e0c
port: display module offsets in the windows crashlog
2024-01-07 16:43:20 +01:00
fgsfds
06f2283180
port: use cv2pdb on windows executables if present
2024-01-07 16:09:04 +01:00
fgsfds
b1b17e21c1
port: write crash info to log file even without --log
2024-01-07 15:40:30 +01:00
fgsfds
c487e423b1
port: fix blur-related crash on Intel GPUs
2024-01-03 21:55:07 +01:00
fgsfds
787758c038
port: log branch name
2023-12-28 21:48:05 +01:00
fgsfds
a82ac025da
Merge pull request #300 from Bobbar/port_crosshair_alpha
...
Crosshair Alpha Proof of Concept
2023-12-22 12:25:36 +01:00
Dominic Della Valle
0221839699
port: add maximize window option to extended menu
2023-12-16 11:56:39 -05:00
Bobby Lovell
1698f53728
Update main.c to use new UInt config for crosshair color
2023-12-16 10:20:32 -05:00
Bobby Lovell
7ac734fc81
Merge branch 'fgsfdsfgs:port' into port_crosshair_alpha
2023-12-16 10:18:34 -05:00
fgsfds
28218b26c2
port: add setting for GE muzzle flashes and disable it by default
2023-12-16 15:22:23 +01:00
fgsfds
cdd7d6edac
port: use strto* when parsing config instead of ato*
...
allows hex values
2023-12-16 15:08:14 +01:00
fgsfds
581c63fc27
Merge pull request #308 from djdv/feat/win-max
...
port: add start window maximized flag to config
2023-12-16 15:03:04 +01:00
Dominic Della Valle
8c509db888
port: add start window maximized flag to config
2023-12-16 07:04:52 -05:00
Bobby Lovell
5aa799718a
Add support for unsigned integers.
2023-12-15 10:17:15 -05:00
Bobby Lovell
79fb976bcf
Implement a simple colored box menu item type and use that for the preview.
2023-12-14 16:03:29 -05:00
Bobby Lovell
519bd95a75
Center preview text.
2023-12-14 14:49:13 -05:00
Bobby Lovell
894ea53b29
Spell out colors...
2023-12-14 10:18:43 -05:00
Bobby Lovell
fb05725c34
- Implement RGBA.
...
- Add preview label.
2023-12-14 10:13:27 -05:00
Bobby Lovell
2a6625278a
- Fix RGB defines
...
- Just store the colour and parse RGBA values when modifying.
2023-12-13 13:48:06 -05:00
Bobby Lovell
342e186f79
Add option to change crosshair alpha, and could provide fully custom colors. Proof of concept.
2023-12-13 13:06:48 -05:00
fgsfds
0a7faf2409
port: add file patching system; add patch for #286
...
patch submitted by Ryan Dwyer
2023-12-07 17:20:34 +01:00
fgsfds
aeb6851606
port: change FPS hard cap to 240 on NTSC, 200 on PAL
2023-12-06 17:16:34 +01:00
fgsfds
7647062619
port: hard cap FPS to 200 for now
2023-12-06 17:11:21 +01:00
fgsfds
3a313287bb
port: fix config ints not clamping properly
2023-12-06 17:10:48 +01:00
fgsfds
3118d01921
port: don't render garbage in the first blur frame ( fixes #287 )
2023-12-06 14:57:21 +01:00
fgsfds
d1be171939
port: only use SDL_CONTROLLER_TYPE_VIRTUAL when available
2023-12-04 18:22:37 +01:00
fgsfds
f96e7da00f
port: use proper aspect for 2D elements
...
this means that now scaling at most 4:3 resolutions will be a bit mangled, since the real base resolution is 320x220
2023-12-03 21:10:41 +01:00
fgsfds
2c20a0487e
port: better menu blur
...
TODO: make it render the blurred texture to the fb once instead of rendering it blurred every frame
2023-12-02 19:18:47 +01:00
fgsfds
7cd3dafaa4
port: add wide HUD centering option for ultrawide displays
2023-11-27 11:52:53 +01:00
fgsfds
e0249067b9
port: reset the controller LEDs on unassign
2023-11-27 01:26:45 +01:00
fgsfds
31ad9351f5
port: load gamecontrollerdb if available
2023-11-27 01:20:09 +01:00
fgsfds
116dc7e8b6
port: allow assigning controllers manually
2023-11-27 00:57:52 +01:00
fgsfds
228851f867
port: add c-buttons to bind menu
2023-11-26 20:27:22 +01:00
fgsfds
5d7b7adb57
port: expose FirstGamepadNum as checkbox in ext options menu
2023-11-26 19:26:07 +01:00
fgsfds
2d3e3d1aaf
port: add option to disable death music in MP
2023-11-26 19:10:19 +01:00
fgsfds
94e8e1b5e7
port: don't nuke all binds when resetting one player
2023-11-26 19:05:13 +01:00
fgsfds
d3a2ed216a
port: add a second set of default bindings for N64 controls
2023-11-26 18:40:06 +01:00
fgsfds
600dae58e2
port: allow using N64 control schemes
...
change from Ext to another control scheme to activate
note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds
45a44cd37e
port: move unlock everything option to cheats
2023-11-24 22:40:02 +01:00
fgsfds
5a68daf18c
Merge pull request #243 from Bobbar/unlock_everything_gamesave
...
Option to unlock everything.
2023-11-24 22:31:40 +01:00
fgsfds
e43d29f357
port: add hold crouch
2023-11-24 22:30:52 +01:00
fgsfds
3328e147eb
port: hackfix some more RGBA32 textures
2023-11-22 22:19:54 +01:00
fgsfds
b88690e8df
port: add easier ways to skip the intro
...
--skip-intro on command line or Game.SkipIntro in the config
2023-11-18 11:56:19 +01:00
fgsfds
305e64a263
port: restore glReadBuffer value after changing it
...
this might fix reshade
2023-11-18 00:43:22 +01:00