Commit graph

628 commits

Author SHA1 Message Date
qndel
b7b01ce1fd remove InitLightMax 2022-02-11 02:34:47 +01:00
Gleb Mazovetskiy
bd5647fb06 Fix premium items reroll on level change
Bug introduced a few commits ago in 1519e995cf

Fixes #4036
2022-02-06 18:45:07 +01:00
Gleb Mazovetskiy
1519e995cf Move store graphics out of stores.cpp
These graphics are used in various places outside of `stores.cpp`.
2022-01-30 14:56:04 +01:00
ephphatha
db1d776539 Deduplicate PItem and DItem 2022-01-24 21:12:13 +01:00
ephphatha
000a04ad4d Cleanups from https://github.com/diasurgical/devilutionX/pull/3980 2022-01-23 05:25:48 +01:00
staphen
3546b41be0 Introduce NOEXIT build option to disable Quit Game options in menus 2022-01-23 05:25:48 +01:00
staphen
df830f6495 Save settings before leaving the settings menu 2022-01-23 05:25:48 +01:00
staphen
e0a3c553b4 Add window focus logic for SDL1 2022-01-18 13:13:31 +01:00
staphen
6418d7a2f0 Detect window focus state to mute automatically when starting audio 2022-01-18 13:13:31 +01:00
staphen
a7bca3a1ec Extend window focus mute to cinematic audio 2022-01-18 13:13:31 +01:00
staphen
470c8c47f4 Force unpause when window focus gained in UI menus 2022-01-18 13:13:31 +01:00
Felipe Wannmacher
8efbcf2058
Xbox One/Series support (#3946) 2022-01-17 12:37:29 +01:00
obligaron
b3a9760bda Keymapper: Add mouse support 2022-01-15 15:31:48 +01:00
staphen
5b21e0188f Fix order of operations during game initialization 2022-01-15 06:47:09 +01:00
obligaron
aaeee3018f Add Item Highlighting, Screenshot, Pause, Automap and Hide Info Screens Actions to KeyMapper 2022-01-12 14:34:43 +01:00
obligaron
be943df46e Keymapper: Add key released support 2022-01-12 14:34:43 +01:00
Andrew James
d3aedf5df1
Split loading of MPQs to handle translations and voice packs (#3922) 2022-01-08 09:15:39 +01:00
obligaron
a6842e7340 Reorder options in settingsmenu 2022-01-06 17:05:14 +01:00
Anders Jenbo
6b2481a76c Touch support on all SDL2 platforms 2022-01-02 11:37:38 +01:00
KPhoenix
d544a467e6
Show game Difficulty in Automap (#3867) 2021-12-31 05:28:51 +01:00
KPhoenix
a08026097a
Chat Interface Revision (#3840)
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2021-12-25 10:11:42 +00:00
obligaron
419fe7b7ec Change Keymapper to OptionCategory/OptionEntry 2021-12-23 00:26:12 +01:00
ephphatha
c783dd2bfd Load MPQ archives before reading options so translations can be detected 2021-12-22 17:46:59 +01:00
Anders Jenbo
cf9b5ae79d Split up graphics settings initializers 2021-12-21 12:55:30 +01:00
Gleb Mazovetskiy
1210dcc7e4 Clean up CLI argument parsing 2021-12-16 19:32:27 +00:00
Adam Heinermann
1484b4d8cf
Implement Discord rich presence (#3711) 2021-12-15 17:14:17 +01:00
obligaron
7b2f651bb2 Allow QuickMessages to contain multiple entries/lines 2021-12-14 08:15:20 +01:00
staphen
bd0470994a Initialize golems before objects 2021-12-12 19:16:59 +01:00
obligaron
f58a42ca97 Check that monsters aren't placed in doors 2021-12-12 00:01:01 +01:00
Vladimir Olteanu
861fb99e9d Quick cast 2021-12-04 15:38:58 +01:00
obligaron
8a235186f2 Settingsmenu: Clean up UI-Resources before switching options that require RecreateUI 2021-12-04 15:36:11 +01:00
obligaron
db392c84b0 Add OptionEntry Shareware and remove specials from settingsmenu 2021-12-02 01:08:33 +01:00
obligaron
b5ab9758d0 Replace gbSpawned with gbIsSpawn 2021-12-02 01:08:33 +01:00
obligaron
88ffa9f98a Options: Move Diablo/Hellfire option to StartUp and integrate in Settings Dialog 2021-12-02 01:08:33 +01:00
obligaron
8fc2fcd9e9 Move Intro Options to StartUp-Section and add a "Once"-Option 2021-11-28 18:47:41 +01:00
obligaron
bcc20a2c90 Allow to customize shown splash in diablo.ini 2021-11-28 18:47:41 +01:00
obligaron
6273f700fa
Add some Graphic Settings to Settingsmenu (#3617) 2021-11-27 00:25:48 +01:00
Gleb Mazovetskiy
db7c9d08f5 Move DoSpeedBook to the right header 2021-11-25 02:15:41 +00:00
obligaron
d7a0cf8dbe Add OptionEntry Intro 2021-11-24 09:31:39 +01:00
Gleb Mazovetskiy
8d1708358f Extract spell list and book into separate files
Moves the spell list/book UI from `control.cpp` code into separate files.
2021-11-23 21:38:06 +00:00
Anders Jenbo
799f1763af Performce UTF8 aware limited string copies 2021-11-22 03:28:51 +01:00
obligaron
677303cba9
Reduce use of view globals in game menu 2021-11-20 21:57:32 +01:00
staphen
08e4e8c254 Implement virtual gamepad activation/deactivation 2021-11-15 00:55:32 +01:00
staphen
40cc894630 Force VIRTUAL_GAMEPAD=OFF when USE_SDL1=ON 2021-11-15 00:55:32 +01:00
Thomas Christlieb
b16aa93f27
do not allow quickload when talking to towner (#3479) 2021-11-12 16:05:19 +01:00
Gleb Mazovetskiy
b8affd5fe5 Fix a few build warnings 2021-11-08 23:33:08 +01:00
Andrew James
796e2813cf
Use scoped enums for DungeonFlags/BFLAG (#3135) 2021-11-07 03:11:16 +01:00
Gleb Mazovetskiy
3d308983a8 Migrate to libmpq
libmpq is a much simpler alternative to StormLib for reading MPQ archives.

We use our own fork of libmpq: https://github.com/diasurgical/libmpq

Impact:

* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
  needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
2021-11-06 23:51:42 +00:00
ephphatha
6d545868d2 Move objectIsDisabled to a member function
While it does reference a global configuration option it's mainly concerned with the properties of the object itself, so makes sense to be a member of the object class.
2021-10-31 14:21:57 +01:00
Anders Jenbo
b77686213a 🐛 Correctly wipe temp data from saves
Fixes #3167
2021-10-26 16:51:56 +02:00