Commit Graph
243 Commits
Author SHA1 Message Date
fgsfds 39e2f7730d Merge branch 'port' into port-debugger 2024-05-14 22:57:00 +02:00
fgsfds 9530924c21 port: add mouse navigation toggle to options 2024-05-14 22:56:47 +02:00
fgsfds d9037ba1da Merge branch 'port' into port-debugger 2024-05-14 20:35:46 +02:00
fgsfds a83e0aa407 port: add mouse control to menus; mouse now unlocks when you pause 2024-05-14 20:28:59 +02:00
fgsfds 4e0025a847 Merge branch 'port' into port-debugger 2024-05-14 10:15:49 +02:00
fgsfds 197208b951 port: add detail textures toggle 2024-05-14 10:13:50 +02:00
fgsfds 38ff8ca5df Merge branch 'port' into port-debugger 2024-05-13 22:23:24 +02:00
fgsfds 4bd314f60b port: add exclusive fullscreen and hidpi settings
for now config only

exclusive fullscreen uses DefaultWidth/DefaultHeight for resolution

hidpi defaults to off
2024-05-13 22:23:04 +02:00
fgsfds e5effc4522 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-05-13 15:27:21 +02:00
fgsfds 62a55a3d6e port: don't force libc++, fix system.c on clang16+ 2024-05-13 15:24:45 +02:00
fgsfds 22e49d75e1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-05-13 12:20:29 +02:00
fgsfds c5c1ef1d4e port: ask for high performance GPU on windows 2024-05-13 12:19:34 +02:00
fgsfds 2c0abcb0e2 one more gcc14 fix 2024-05-11 14:46:21 +02:00
fgsfds 804674e2b1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 22:38:49 +01:00
fgsfds c9f880e427 port: fix #224, allow combat knife in jpn 2024-03-09 22:38:11 +01:00
fgsfds 20534a731b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 17:45:50 +01:00
fgsfds 92a9ac43fc port: fix linux build 2024-03-09 17:45:27 +01:00
fgsfds 242a89a622 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-03-09 17:40:37 +01:00
fgsfds 4baae8de0b port: add extra sleep calls to busy loops; separate sleep into system.c 2024-03-09 17:39:41 +01:00
fgsfds 11fd86002b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2024-02-12 16:38:09 +01:00
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 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 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 75c4905e9b Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-debugger 2023-12-04 21:36:58 +01:00