mojsior
2edaaf8454
Accessibility: cursor sync + spell hotkey speech
2 months ago
mojsior
a5d43059e4
Diablo Access: accessibility improvements
2 months ago
Eric Robinson
5937734b85
Move *dat files to tables dir
2 months ago
Eric Robinson
e6032a69a8
Split control.cpp ( #8347 )
3 months ago
Eric Robinson
bc0d60bff7
Add Player hasNoMana helper
3 months ago
obligaron
2c4e69c5c9
Fix MSVC warnings
4 months ago
Gleb Mazovetskiy
88f706e0d1
SDL3: Add some backports / compat helpers
5 months ago
Gleb Mazovetskiy
1bbe8bfe08
SDL3: Even more migration
5 months ago
Gleb Mazovetskiy
a99cc9b40a
SDL3: Some more migration
5 months ago
Trihedraf
809d276073
Party Panel: Fix Second Column and Shrink Gaps for Single Column in 480p ( #8206 )
...
* shrink gap for better 480p fit
* fix second column going all the way up
5 months ago
Trihedraf
c3cd5a8fbb
Align party panel with other overlay text
5 months ago
Trihedraf
ae0b8c27c0
Add mana display to Party Panel
5 months ago
Anders Jenbo
01507d532c
Add basic DOS port ( #8155 )
7 months ago
Anders Jenbo
1c76897f2c
Apply simple const rules using clang-tidy
7 months ago
Stephen C. Wills
a563b65642
Fix compiler warnings ( #8098 )
7 months ago
Doink Oink
c62a19e299
Party Information Panel ( #7877 )
7 months ago
Anders Jenbo
7b2de562c2
Extract more Hellfire into data
8 months ago
Gleb Mazovetskiy
6fe417216e
Lua console: Trigger autocomplete less often
...
Filter out more cases where autocomplete just gets in the way.
8 months ago
Anders Jenbo
108cf4b42d
Load spell icon based on data ( #8072 )
8 months ago
Eric Robinson
e97b1977d8
Use existing fn for Speedbook Spellmatching Skill
10 months ago
Eric Robinson
b06529b050
Use existing fn for Spell Book Trans matching Skill ( #7857 )
10 months ago
Eric Robinson
4bf3c83ed6
Use existing fn for Spell Book Skill
10 months ago
Eric Robinson
c76dd84a10
Character Panel - CTH
1 year ago
Eric Robinson
681a066bfb
Character Panel Number spacing ( #7706 )
1 year ago
Gleb Mazovetskiy
3bb1d685af
Extract current input mode into its own library
...
Removes a transitive dependency on the entire plrctrl from options.
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
Gleb Mazovetskiy
d7647d6c63
More dependency untangling
...
1. Moves more assets-related stuff from `init` to `engine/assets`.
2. Removes `SDL_audiolib` dependency from `soundsample.h`.
3. Cleans up some unused/missing includes.
1 year ago
Gleb Mazovetskiy
b76feb2be3
Extract game mode out of init.cpp
...
Untangles some dependencies
1 year ago
Gleb Mazovetskiy
c31836eab8
Split up `engine.{h,cpp}`
...
Untangles dependencies by splitting up `engine.{h,cpp}` into 3 files:
1. `primitive_render`
2. `ticks` -- only contains `GetAnimationFrame` for now.
3. `GetWidth2` renamed to `CalculateSpriteTileCenterX` and moved to `levels/dun_tile.hpp`.
1 year ago
Gleb Mazovetskiy
7b0558146e
Async load: Handle errors
1 year ago
Eric Robinson
0fd4a7b348
Fix Life/Mana bugs ( #5777 )
1 year ago
Eric Robinson
6396af1ff5
Cleanup panel code (Part 2) ( #7421 )
2 years ago
KPhoenix
b0cb1b92ed
Bugfix: Corruption item power
2 years ago
Eric Robinson
8970eaa410
Cleanup panel code (Part 1) ( #7417 )
...
HPPer changed from 80 to 81. The globes have 81 rows of pixels that can be filled.
2 years ago
obligaron
dc4cd43e8f
Remove duplicate function definitions from control.h
2 years ago
obligaron
8bda637a08
Introduce IsValidSpeedSpell
2 years ago
obligaron
658918e5e6
Support unsetting spell hotkey
2 years ago
obligaron
22ec684671
Fix some MSVC warnings
2 years ago
Gleb Mazovetskiy
a2b94cc03c
Lua: Migrate and organize the rest of debug cmds
...
Fully migrates debug commands to Lua and organizes them into logical
groups.
The CLI `+` syntax now runs Lua, e.g.:
```bash
build/devilutionx '+dev.player.trn.plr("infra")'
```
Chat hotkeys run Lua code if they start with `/lua`, e.g.:
```ini
[NetMsg]
QuickMessage1=/lua message(dev.player.info())
```
2 years ago
Gleb Mazovetskiy
b265bbdbb4
Skip console autocomplete when navigating history
2 years ago
Gleb Mazovetskiy
e02dc1f9dd
Console input: Word-wrap-related cursor fixes
...
1. Handle word breaks in the prompt, e.g. `"> " -> "\n"`.
2. Handle word breaks in the original newline for all whitespace, not just `"\n"`.
2 years ago
Gleb Mazovetskiy
4f23762308
Console: Fix crash when there is too much input
...
It doesn't make the field scrollable but at least it doesn't crash.
2 years ago
Gleb Mazovetskiy
8bffbedcb4
Migrate some debug.cpp commands to Lua
...
Introduces a new `devilutionx.dev` Lua module, automatically loaded in
the console prelude.
Arguments and basic help are shown in autocompletion.
2 years ago
Gleb Mazovetskiy
b30b712cbb
Lua: Add basic autocomplete in the console
2 years ago
Gleb Mazovetskiy
4a7fa5d13e
Lua console: Add a prelude file
...
Runs lua/repl_prelude.lua at console initialization.
The default prelude contains global assignments for all devilutionx
modules. This should save us on typing.
2 years ago
Gleb Mazovetskiy
dbfa204944
Lua: Set `warn` function
...
Previously, warnings went nowhere.
2 years ago
Gleb Mazovetskiy
17d5f05ada
Fix some compilation warnings
2 years ago
Gleb Mazovetskiy
a9c0f5764c
Console: Use a REPL environment to run code
...
In the REPL environment, we set `print` to print to the UI console
instead of stdout.
2 years ago
Gleb Mazovetskiy
d8c328ad68
Console: Add Ctrl+L binding to clear the console
2 years ago
Gleb Mazovetskiy
63da74300b
Console: Scrolling and history navigation
...
Scrolling: PageUp/Down and mouse wheel.
History navigation:
* Up/Down navigates the input history.
* Shift+Up/Down navigates the output history (allowing us to copy/paste the
outputs, I imagine this will be very handy).
* Duplicates are skipped.
2 years ago