obligaron
321d799849
Add scroll wheel support to keymapper
1 year ago
obligaron
8c5d43fe40
Remove scroll wheel hack
1 year ago
Gleb Mazovetskiy
78409cc5a5
[1.5] Hotkeys: Support more keybindings ( #7650 )
...
* Hotkeys: Support more keybindings (#6719 )
* Extend F keys with F13-F24 range
* Add more possible keybindings
* Removed hardcoded keys that are used elsewhere
* Put PAUSE back where it was before
* Remove hardcoded logic for PAUSE key
* Hotkeys: Support more keybindings
This patch adds more keybindings, so we can map multiple keys.
It also adds a possibility to bind an alternate key to pause game
(currently mapped to P and Pause key by default).
1 year ago
staphen
fbca4870a1
Don't send spell level in spell casting network message
1 year ago
Apaczer
25dab89f20
events: ignore ALT mod if using Kbd-As-Controller
...
disable fullscreen hotkey as such
1 year ago
Eric Robinson
f92ef8e48f
Move Game Mode to own category
1 year ago
staphen
cce04b55ac
Clear unique item flags in LoadGameLevel()
1 year ago
staphen
e1f05fd155
Load stash data based on gbIsHellfire, not gbIsHellfireSaveGame
2 years ago
KPhoenix
cb5537083d
Fix right click during dialogue
3 years ago
Gleb Mazovetskiy
9d96eea86b
De-duplicate extra fonts version check code
...
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
3 years ago
staphen
22fdeaf2f0
Use JNI to check VERSION file in fonts.mpq
3 years ago
Gleb Mazovetskiy
d6b7949dab
Fonts: Use pre-cropped CLX sprites
...
Built-in font size decreased by 121,587 bytes
(2,287,332 -> 2,165,745).
Fixes #6361
3 years ago
staphen
2068d66c85
Stop streaming sfx when exiting the game
3 years ago
Anders Jenbo
01a7966f1d
Empty cursor when closing inventory
...
Fixes #4205
3 years ago
DakkJaniels
e485493a3d
Fix print screen for different print screen key bindings ( #6060 )
3 years ago
qndel
88e7c8feec
get rid of hardcoded ALT in variable/function name
3 years ago
Gleb Mazovetskiy
4fa3732526
Add missing <cstdint> includes
...
Done with the following script:
```ruby
Dir["Source/**/*.{h,c,cc,cpp,hpp}"].each do |path|
v = File.read(path)
next if !v.include?("uint32_t") || v.include?("cstdint")
lines = v.lines
line_num = if lines[2].start_with?(" *")
lines.index { |l| l.start_with?(" */") } + 3
else
3
end
lines.insert(line_num, "#include <cstdint>\n")
File.write(path, lines.join(""))
end
```
then fixed-up manually
3 years ago
staphen
22dacbd819
Load deltas after saving pre-lighting data
3 years ago
obligaron
2570c2d240
Don't recalculate player position when loading a game
3 years ago
Anders Jenbo
5a12f7b0d5
Always spawn players in a valid location
3 years ago
DakkJaniels
b0cb925a5e
Add print screen to event handler for UI ( #6058 )
3 years ago
Anders Jenbo
12fa487cb5
Fix build
3 years ago
qndel
d97f265cb1
light fix
3 years ago
Anders Jenbo
13c5c09990
Clean up Light related naming
...
A few are left unchanged as they will be removed in a later commit
3 years ago
obligaron
1a3e72bf17
Unify normal casting and casting from inventory
3 years ago
obligaron
b87711bc08
Reintroduce Player::spellFrom to seperate teleport cursor from queued spell
3 years ago
qndel
ce2ce86070
inspect players command
3 years ago
obligaron
b916c8e428
Introduce Open/Close/ToggleCharPanel
3 years ago
obligaron
c4388b0d41
Remove unused pnum from UseInvItem
3 years ago
staphen
60c32abd03
Simulate Shift key for simulated mouse interaction
3 years ago
obligaron
1a150ed193
Multiplayer: Ensure monster hitpoints are calculated reproducable in quest/set-maps ( #5958 )
...
* Always use the same seed for generating set/quest maps
* Use setlvltype for loading quest/set-map (instead of leveltype)
* Ensure dungeon flags are reset when loading a quest/set-map
3 years ago
staphen
d2bc7c10ba
Fix stand ground for gamepad controls
3 years ago
obligaron
2296bf5625
Use StashStruct::EmptyCell instead for empty stash item check
3 years ago
obligaron
4cdd7ff2d9
Replace ReturnLevel/LevelTyp/LvlPosition
3 years ago
obligaron
44de539afb
Introduce CronerStoneStruct::isAvailable()
3 years ago
staphen
929544b20f
Move initialization of gbIsHellfire back to DiabloInit()
3 years ago
staphen
3c144c7967
Perform some basic initialization before loading game data
3 years ago
obligaron
fbdc2d7900
Skip rendering on low-end devices
3 years ago
KPhoenix
a1fbf5253f
`enum talk_id` -> `enum class TalkID`
3 years ago
KPhoenix
d813f13700
`enum spell_id` -> `enum class SpellID`
3 years ago
Gleb Mazovetskiy
1788d2f8ec
Remove miniwin
...
Event handling code moved to `engine/events.{hpp,cpp}`.
3 years ago
DakkJaniels
d683039bdd
stop shaking camera if dead diablo loaded from save. ( #4149 )
3 years ago
Gleb Mazovetskiy
16f7d7e9d6
Support mouse back button in stores/dialogues
3 years ago
obligaron
b7e2c649cf
Recalculate cursor position after level change
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
Trihedraf
42e502e108
Add key for using potions from belt
...
Add key for using potions from belt like controller and virtual controller
3 years ago
qndel
efaf334965
typos and code cleanup
3 years ago
Gleb Mazovetskiy
56f94c7471
Add a `--lang` command line argument
...
This allows forcing the locale without changing the settings.
The `forceLocale` option also lets us avoid changing the locale in settings if fonts.mpq is missing, fixing the following scenario:
1. System locale is ja
2. Launch the game -- fonts are missing
3. Close the game, download fonts.mpq
4. Launch the game again -- it is now in English because the settings have changed
3 years ago
Anders Jenbo
a0ee51183b
Correctly initialize the control pannel in headless mode
3 years ago
staphen
b66b6c611b
Produce multiple controller button events for SDL_JOYHATMOTION events
3 years ago