Geoffroy Warin
b54df1af38
add an ini option to configure gamepad deadzone
5 years ago
Anders Jenbo
b1ffdca0a3
♻️ make better use of enums
5 years ago
Gleb Mazovetskiy
da7567f06e
InitPlrGfx: Only alloc enough for the class
...
Previously, the allocation size was the maximum size over all the classes.
RAM usage per player:
* Before: 2.2 MiB (any class)
* After:
* Warrior: 2.0 MiB
* Rogue: 1.5 MiB
* Sorcerer: 1.6 MiB
* Monk: 1.7 MiB
We now also only allocate memory in multi-player as needed.
This means the game will only use as much RAM for player graphics
as there are players currently in the game.
Less RAM is used for each player because class is now taken into account.
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Gleb Mazovetskiy
87dcbcb6d7
Save 1.5 MiB RAM in-game by freeing more DiabloUI art
5 years ago
Anders Jenbo
bc3dc545da
🔥 Remove unused parts of game creation logic
5 years ago
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
Gleb Mazovetskiy
9dd91d1c2c
Save 1.3 MiB RAM in-game by freeing menu resources
...
Running with a memory profiler revealed that we were keeping main menu
UI resources around while the game was running.
5 years ago
Gleb Mazovetskiy
0f3951744f
diablo.ini: Rename "Fast Walk" to "Run in Town" ( #1326 )
5 years ago
Anders Jenbo
7965c03606
🎨 Swap more BOOL for bool
5 years ago
Anders Jenbo
edffe223df
🐛 Only save options if they where also loaded
5 years ago
FluffyQuack
489a32d19a
🐮 Minor typo fixes for options struct
5 years ago
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
5 years ago
Anders Jenbo
cc4802eab5
🐛 Save options when shutting down the game
5 years ago
Anders Jenbo
699e451611
💄 Adjust visual style of new UI elements
5 years ago
Juliano Leal Goncalves
800dbce066
♻️ Move options-related structs to new 'options.h' file
5 years ago
Anders Jenbo
8425a23585
♻️ Only write ini file once
5 years ago
Anders Jenbo
fbd86cd3c5
🎨 Mark noreturn functions as such
5 years ago
Anders Jenbo
a69a76941e
♻️ Clean up InitCutscene
5 years ago
Trihedraf
508e4c635c
Add --ttf-dir to specify location of path to ttf ( #1253 )
5 years ago
Anders Jenbo
f2140688e7
Load and save all ini values the same way ( #1260 )
5 years ago
Anders Jenbo
c5b407f7a6
🐛 Fix mouse moving to 0x0 on window events
...
Fixes #1228
5 years ago
Anders Jenbo
72ebba0591
🚩 Implement -j debug command
5 years ago
Anders Jenbo
d9c1bc4579
♻️ Clean up debug options
5 years ago
Anders Jenbo
d2a10a717e
♻️ Renmae "Enable All Quests for Single Player" to !"Randomize Quests"
5 years ago
Anders Jenbo
9edea1b968
🔧 Make network port configurable
5 years ago
Juliano Leal Goncalves
1bf3fd6f35
🚩 Add ini toggle for displaying monster type. Disabled by default.
5 years ago
Gleb Mazovetskiy
1ab18d8b1b
Move plrctrls_every_frame(); to ProcessInput
5 years ago
Gleb Mazovetskiy
5977679e60
Handle D-Pad / Left stick in UI every frame
...
Previously this was handle as part of `game_logic`, reducing
responsiveness and making it impossible to run where `game_logic`
isn't running, e.g. stores.
5 years ago
Anders Jenbo
8e8e31627f
🐛 Only load hotkeys on new game
5 years ago
Anders Jenbo
12658a0b3d
🐛 Fix console output on Windows and SDL1 targets
...
Fixes #921
5 years ago
Trihedraf
a4c34112af
🚩 Add ini toggle for FPS Limit. Enabled by default. ( #1165 )
5 years ago
Trihedraf
049b9325c4
Add ini toggle for All Quests for Single Player. Disabled by default.
5 years ago
Juliano Leal Goncalves
95ae8fd5c6
✨ Autoequip items on purchase
5 years ago
Juliano Goncalves
fc1d9b684f
✨ Allow shift+click moving to inventory
5 years ago
Juliano Goncalves
5287d6e329
✨ Allow shift+click moving to belt
5 years ago
Anders Jenbo
def2253386
♻️ Move monster.h related structs and enums and apply propper types
5 years ago
Anders Jenbo
08a9746d56
🐛 Fix Leoric not saying his infamous line
5 years ago
Juliano Leal Goncalves
6ec679319e
🚩 Add ini toggle for auto-equip item sounds. Disabled by default.
5 years ago
Juliano Leal Goncalves
103cde53ff
♻️ Make options struct hierarchical
5 years ago
Juliano Leal Goncalves
eef97eaabb
🚩 Add ini toggle for auto-equipping jewelry. Disabled by default.
5 years ago
Juliano Leal Goncalves
8bf5ef131e
🚩 Add ini toggle for auto-equipping shields. Disabled by default.
5 years ago
Juliano Leal Goncalves
08eff92412
🚩 Add ini toggle for auto-equipping helms. Disabled by default.
5 years ago
Juliano Leal Goncalves
70db53644e
🚩 Add ini toggle for auto-equipping armor. Disabled by default.
5 years ago
Juliano Leal Goncalves
b8a6e0ebfe
🚩 Add ini toggle for auto-equipping weapons. Enabled by default.
5 years ago
Anders Jenbo
a893ab5e81
💚 fix build
5 years ago
Yuri Pourre
2351bb368d
QoL: Fill mana when speaking with Adria ( #1143 )
5 years ago
Xadhoom
12c7b715cd
Add test for vanilla pfile_write_hero()
5 years ago
Anders Jenbo
a102877a44
🐛 Fix upscaling not appearing in ini by default
5 years ago