mojsior
114b5793ee
Add melee monster TTS and audio cues volume
2 months ago
Yuri Pourre
b684fd143c
Adria refill mana as mod
2 months ago
Trihedraf
32a0666201
move floating damage nums to lua mod & add xp mod
2 months ago
Gleb Mazovetskiy
20ad675558
SDL3: Build with sound
...
This doesn't implement full sound support but stubs out most of the
sound code under SDL3, so that we can implement it piecemeal.
Implemented here:
1. Sound device initialization.
2. SVid sound playback.
Does not add a dependency on `SDL_mixer`: SDL3 built-ins
are enough to play SVid audio.
5 months ago
Gleb Mazovetskiy
8f6e9810d0
SDL3: Make `text_render_integration_test` build
...
Adds support for just enough SDL3 to make `text_render_integration_test`
work.
5 months ago
Anders Jenbo
6a4c5e42ec
Clean up const and shadow variables
7 months ago
Doink Oink
c62a19e299
Party Information Panel ( #7877 )
7 months ago
Eric Robinson
e303a82b1c
Floating Item Info Box ( #8000 )
7 months ago
Anders Jenbo
3fb8be385b
Add support for MPQ packed mods and turn Hellfire into one
11 months ago
Eric Robinson
071303357e
Dynamic mod detection
...
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
12 months ago
Stephen C. Wills
0b4f3b4732
Introduce subtile lighting into the software renderer ( #7807 )
1 year ago
Eric Robinson
13a5ae4b0b
Replace Gamma Adjustment with Brightness Adjustment
1 year ago
Gleb Mazovetskiy
bae54d05e3
Options: Move resolutions list init to display.cpp
1 year ago
Gleb Mazovetskiy
acc335be17
Options: Extract keymapper handling from options
1 year ago
Gleb Mazovetskiy
7afdbe8fdc
Options: Extract padmapper handling from options
...
Options now only contain the padmapper settings, not the padmapping
handling code.
1 year ago
staphen
8f232cfc89
Delete copy constructor in ModEntry
1 year ago
Gleb Mazovetskiy
88a9a0656d
Move option change handlers out of `options.cpp`
...
Fixes #7638
1 year ago
Gleb Mazovetskiy
d94bc424df
`sgOptions` -> `GetOptions()`
...
In C++, globals initialization order accross translation units is not
defined. Accessing a global via a function ensures that it is initialized.
This will be needed for #7638 , which will statically initialize change
handlers after the Options object has been initialized.
1 year ago
Anders Jenbo
908fb47073
Merge limitFPS and vSync options ( #7646 )
1 year ago
Gleb Mazovetskiy
bbcda12792
Move QuickMessages to its own library
...
Eliminates an options->diablo dependency.
1 year ago
staphen
3b841b5800
Reload Lua mods when enabling/disabling
1 year ago
staphen
4931cc6386
Lua mod ini file configuration
1 year ago
Eric Robinson
8d1fb2bd63
Move Game Mode to own category
1 year ago
Gleb Mazovetskiy
66b0f43731
Add a threshold for skipping the loading screen
1 year ago
Gleb Mazovetskiy
b8ab6d2faa
Migrate from SimpleIni to our own implementation
...
Our implementation has a more modern interface and only
supports the features that we care about.
It always outputs `\n` as newlines and does not output BOM.
The modern interface eliminates awkward `c_str()/data()` conversions.
This implementation preserves comments and the file order of sections
and keys. New keys are written in insertion order.
We now also support modifying and adding default comments,
which may be a useful thing to do for the especially tricky
ini options (this PR doesn't add any but adds the ability to do so).
Sadly, this increases the RG99 binary size by 24 KiB.
I'm guessing this is because the map implementation generates
quite a bit of code.
Note that while it might seem that using `std::string` for every key and
value would do a lot of allocations, most of these strings are
small and thus benefit from Small String Optimization (= no allocations).
1 year ago
Gleb Mazovetskiy
e9c29fa806
Switch to ankerl::unordered_dense
2 years ago
djvs
a6e2481a3e
Option to not pause the game when the window loses focus ( #7046 )
2 years ago
obligaron
426dd4c4af
Add scroll wheel support to keymapper
2 years ago
Gleb Mazovetskiy
5355146d51
Use structured bindings
3 years ago
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
3 years ago
Gleb Mazovetskiy
14540164a7
Remove utils/stdcompat/optional.hpp
3 years ago
DakkJaniels
ad19caf667
Move hp/mana display and item graphics to gameplay options
3 years ago
DakkJaniels
e485493a3d
Fix print screen for different print screen key bindings ( #6060 )
3 years ago
staphen
8b6b898493
Defer d-pad inputs to movement handlers
3 years ago
staphen
6bcb4d70e4
Use padmapper bindings on spell icons
3 years ago
obligaron
adeeae2c52
Add option to enable singleplayer quests in multiplayer
3 years ago
staphen
b46482f414
Clear padmapper state when changing event handlers
3 years ago
staphen
92361f9f6d
Display resolution height when FitToScreen is on
3 years ago
Gleb Mazovetskiy
1788d2f8ec
Remove miniwin
...
Event handling code moved to `engine/events.{hpp,cpp}`.
3 years ago
Trihedraf
624d5be3d2
make Floating Numbers an enum for random, vertical or off
3 years ago
Bubio
81c7d0618d
Fixed spelling errors ( #5714 )
...
Corrected a spelling error in the "Show Item Graphics in Stores" description
(desription -> description)
3 years ago
Anders Jenbo
c99f7cf644
Floating numbers ( #5639 )
...
Co-authored-by: qndel <stefan551@o2.pl>
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
staphen
d707f07e8f
Make item graphics in stores optional
3 years ago
staphen
f17ea8db98
Implement settings menu for gamepad customization
3 years ago
Gleb Mazovetskiy
a2a8b1c706
Padmapper: Simplify `buttonTo*` data structures
...
Use an `std::array` instead of `std::unordered_map`.
3 years ago
Gleb Mazovetskiy
e7c0d2943f
KeyMapper: Use forward_list instead of vector
...
Similar to how we do this for Padmapper.
3 years ago
staphen
6a565d3755
Further improve simulated mouse interaction
3 years ago
staphen
198dec9412
Iron out interactions between simulated mouse movement and character movement
3 years ago
staphen
d7908d82f4
Always remove release actions from padmapper regardless of whether the action can be invoked
3 years ago
staphen
4579324726
Ensure that padmapper actions are in the correct order after initialization
3 years ago