2591 Commits

Author SHA1 Message Date
Roman Fomin
2e5de098dd
add lump priority to determinate load order (#1956) 2024-10-11 13:28:50 +07:00
ceski
a55429f6b8
Don't stretch vertically scrolling skies 2024-10-10 08:18:53 -07:00
Roman Fomin
5af52a7202
fix garbage column in bunny scroll (#1952)
Convert `DivRoundClosest` to a macro (we can use it for `int64_t`, for
example), add `DIV_ROUND_CEIL` and `DIV_ROUND_FLOOR`.
2024-10-09 17:41:30 +07:00
Roman Fomin
55d6b31b32
fix uncapped rendering for fizzle and crossfade (#1953)
* reformat and cosmetics
2024-10-09 14:44:09 +07:00
Roman Fomin
04f1323554
update screenshot function (#1943)
* Use libspng for encoding.

* Remove KEY_PRTSCR default. On Windows it's system screenshot which is slow
  and affect DRS too.

* Skip DRS after screenshot.
2024-10-08 22:13:15 +07:00
Roman Fomin
ff65fd60b8 initialize hTimer 2024-10-08 20:07:57 +07:00
Roman Fomin
154ccf8849 fix CreateWaitableTimer on Windows 7 2024-10-08 20:05:49 +07:00
ceski
0a429432a9
Update quickload menu separately from load menu (#1947) 2024-10-08 05:51:06 -07:00
Alaux
7e004e9a17
Remove full stop from autosave CVAR description 2024-10-07 23:21:45 -03:00
ceski
fd4ead90cb Rename gyro speed to sensitivity 2024-10-07 18:23:08 -07:00
ceski
826b9b7656
More menu adjustments (#1941)
* Use consistent description

* Use previous outer deadzone defaults

* Prioritize sensitivity thermos

* Rename gap macro to be less confusing

* Add gamepad movement sensitivities to menu

* Update advanced gamepad menu

* Movement speed --> sensitivity
2024-10-05 22:28:08 -07:00
Terry Hearst
2ee9eadf4c
Implement option to correct automap aspect ratio (#1940)
* Implement option to correct automap aspect ratio

* Fix gridlines when rotate mode is not on

* Fix center coordinate sliding around when rotate mode is not on

* Simplify arithmatic

* Rename "aspect ratio correction" -> "square aspect ratio"

* Merge AM_rotatePoint and AM_aspectCorrectPoint into AM_transformPoint

* Square aspect ratio of line characters

* Don't square automap when aspect ratio correction is off
2024-10-04 16:10:55 +07:00
ceski
9a43e5494b
Add auto save feature (#1939)
* Add auto save menu item

* Allow appending to default save name

* Add saving auto save

* Add loading auto save

* Add auto save slot to load game menu

* Fix rect x-offset

* Enable by default
2024-10-03 18:07:22 -07:00
ceski
ed349ec34e
More death use reload fixes (#1938)
* Prevent double reload with "death use"

* Don't crash if "death use" save is deleted
2024-10-02 22:58:51 -07:00
Roman Fomin
7b636710ac CI: don't use bash on Windows 2024-10-03 03:09:37 +07:00
Roman Fomin
bc9a876b2a
tweaks to audio menus (#1931)
* Do not restart the MIDI player if the current option does not match it.

* Don't use thermo bars for big numbers.

* Apply Ceski patch

Co-authored-by: ceski-1
2024-10-03 00:17:27 +07:00
ceski
35920638c9
Prevent unintentional death use reload (#1935) 2024-10-01 21:41:59 -07:00
Fabian Greffrath
1d27148032
Fix mbf21 add / remove NOBLOCKMAP or NOSECTOR (#1930)
Co-authored-by: Xaser Acheron <xaser.88@gmail.com>
2024-10-01 08:24:29 +02:00
ceski
ec0e91f1e2
Streamline saving game with a gamepad (#1929)
* No mouse cursor when opening menu with gamepad

* Streamline saving game with a gamepad
2024-09-30 22:58:39 -07:00
ceski
14332c3bfe
Menu changes (#1928)
* Add a new gap macro

* Limit wrapped strings to 2 lines

* Adjust FluidSynth string formatting

* Add native MIDI gain setting

* Add MIDI options menu

* Adjust gamepad menu for consistency

* Adjust video menu spacing
2024-09-30 19:28:54 -07:00
Fabian Greffrath
c4ddb3de39
fix misaligned sky texture for texture height 200 (#1927)
Fixes #1914
2024-09-27 09:24:42 +02:00
ceski
ddb24e3316 Clear weapon slot only once per tic
In case an input is pressed and released before the next G_BuildTiccmd call.
2024-09-25 13:38:59 -07:00
ceski
7b260243e0 Fix restore defaults for advanced gamepad menu 2024-09-25 08:48:24 -07:00
ceski
796c0d01c3
Add custom weapon slots feature (#1923)
* Lower priority of shortcut responder

* Raise priority of chat, cheat, automap responders

* Add custom weapon slots

* Disable weapon slots by default
2024-09-25 06:29:54 -07:00
ceski
d225e33c3f
Merge pull request #1924 from ceski-1/padadv
Add advanced gamepad menu
2024-09-25 06:07:33 -07:00
ceski
647030e3ce Add advanced gamepad menu 2024-09-24 17:41:48 -07:00
ceski
880fc33e90 Disable rumble by default 2024-09-24 16:49:40 -07:00
ceski
56245525a4 Adjust default look speed 2024-09-24 16:49:03 -07:00
ceski
01a613880d
Merge pull request #1920 from ceski-1/weapon_switching
Weapon switching improvements
2024-09-23 09:58:42 -07:00
ceski
fe3bd8d53a Add "cycle through all weapons" option 2024-09-23 09:50:56 -07:00
ceski
6f6629ac56 Add "last used weapon" binding 2024-09-23 09:50:08 -07:00
ceski
ede79db438 Add vanilla input_weapon9 support 2024-09-23 09:50:08 -07:00
ceski
a2253b0699 "Critical" restriction for SSG in Doom 1 2024-09-23 09:49:45 -07:00
Fabian Greffrath
db2516e158 use ALFUNC() in i_pcsound.c, avoid code duplication 2024-09-23 11:52:28 +02:00
Roman Fomin
5426138de7
umapinfo: proper fix levelpic for fullscreen patches (#1918)
* Revert "umapinfo: fix levelpic for fullscreen patches (#1841)"

This reverts commit 0880d6f52c14c013188cfbe0ffda55d6af2c6093.

* proper fix for fullscreen patches
2024-09-22 16:26:00 +07:00
Roman Fomin
5c952ca4a6 remove sub millisecond check in MIDI player loop
From my tests, it appears that I_SleepUS for periods < 500 us just return
immediately, at least on Windows.
2024-09-20 14:48:20 +07:00
jpernst
d931f75d93
Activate OPL3 chips on-demand based on voice pressure (#1911)
* Remove opl_sample_rate variable since it has no practical effect

* Deactivate idle OPL chips
Allocate free OPL voices from active chips before inactive ones

* Add comments for new constants

* Ensure OPL chip LFOs are kept in sync after dormancy

* Check for chip activations before sample generation to preserve sync
2024-09-17 07:47:29 +02:00
Fabian Greffrath
e3ceb7f727
fix broken/inconsistent weapon switching (#1902)
* fix broken/inconsistent weapon switching

Fixes #1901

* get rid of doom_weapon_toggles

* switch weapons like PrBoom+

* Revert "get rid of doom_weapon_toggles"

This reverts commit 36f6408bc46894decd6e3f4410658cc5eef50652.

* fix stuck behavior

* select SSG with the "9" key again

* doom_weapon_toggles does not affect prev/next weapon again

* Revert "select SSG with the "9" key again"

This reverts commit e708a6fac568548ef774bc12ed912e43474916c3.

* Revert "doom_weapon_toggles does not affect prev/next weapon again"

This reverts commit 0ab51f59b6364f3f2914602a342bdfa30a5290a2.

* cosmetics
2024-09-16 15:20:42 +02:00
Roman Fomin
58b7bdd0e9
make death use action demo compatible (#1910) 2024-09-16 17:59:39 +07:00
Roman Fomin
e87ac53bb0
interpolation of wipe melt animation, adapted from R&R (#1903)
* no need to skip DRS
2024-09-16 07:45:06 +07:00
Roman Fomin
4e6ed4a1a0 fix build 2024-09-15 15:51:36 +07:00
Roman Fomin
6143dd500c fix version check 2024-09-15 15:49:10 +07:00
Roman Fomin
036af1d0c8 json lump: add type and version checking 2024-09-15 15:44:31 +07:00
Roman Fomin
e5dc32642c
implement m_json wrapper (#1904) 2024-09-15 14:19:55 +07:00
Roman Fomin
ad47fe9d73 "Back" button/key works in help screen 2024-09-15 13:22:22 +07:00
Roman Fomin
3e05f8ca3d fix clang-tidy padding warning 2024-09-15 12:33:19 +07:00
jpernst
3bee945f2f
OPL3 Improvements (#1907)
* Use correct OPL3 channel polarity by default

* Support multiple OPL3 chips

* Use native OPL sample rate and allow OpenAL to resample it

* Bind DMX OPL stereo correction to a config variable; default to vanilla

* Consolidate num_opl_chips variables; remove menu item
Use BETWEEN macro for mix clamping

* Disable upper register banks when dmx is in OPL2 mode
2024-09-15 12:18:56 +07:00
Roman Fomin
a4eb56e4ce
increase the height of the fire sky texture (#1909) 2024-09-14 18:43:56 +07:00
Roman Fomin
707cd5c5c6
Revert "don't use SDL_RenderSetLogicalSize (#1847)" (#1906)
This reverts commit 8a8a47c29ef7d9a3c1f03fc8daaf0bbd7b05544a.
2024-09-14 13:03:21 +07:00
Fabian Greffrath
dad1c68407
automap: properly highlight death exit sectors (#1900)
Fixes #1898
2024-09-13 13:21:53 +02:00