Juliano Leal Goncalves
14429e2b23
♻️ Leverage 'Point' to represent mouse position warping
2021-06-27 16:37:59 +02:00
Juliano Leal Goncalves
fd9f2099d0
♻️ Leverage 'Point' to represent mouse position
2021-06-27 16:37:59 +02:00
Anders Jenbo
f167bd4dfb
Clang-tidy: llvm-include-order
2021-06-27 01:45:49 +02:00
Anders Jenbo
2bdb6caa07
Cleanup majority of remaning implicit bool conversions ( #2234 )
2021-06-26 21:05:45 +02:00
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
2021-06-26 08:57:59 -07:00
Anders Jenbo
ee7b32d8f6
Player by reference part 3
2021-06-24 00:53:09 +02:00
Gleb Mazovetskiy
1bc9c3973f
🚚 engine.h: Extract Rectangle
2021-06-21 02:34:28 -07:00
Juliano Leal Goncalves
25eaac78c1
♻️ Leverage 'Size' to represent a 'Rectangle's width/height
2021-06-20 18:27:45 -07:00
Juliano Leal Goncalves
e3ea6a9042
♻️ Leverage 'Point' to represent a 'Rectangle's position
2021-06-20 18:27:45 -07:00
Juliano Leal Goncalves
ff147f9280
🚚 Rename 'RECT32' to 'Rectangle' to match naming style of other core structs
2021-06-20 18:27:45 -07:00
Gleb Mazovetskiy
f9d20b44d6
🎉 Hardware cursor (SDL2-only)
...
Disabled by default because of these known issues:
1. When clicking on inventory item, it briefly appears a bit shifted (in the wrong coordinates).
This issue can happen with software cursor as well, but is a lot more
obvious with the hardware cursor.
2. Cursor is scaled with nearest-neighbour scaling, which may look a bit different from
how the rest of the graphics are scaled.
See also previous attempt: https://github.com/diasurgical/devilutionX/pull/955 by @viciious
Co-authored-by: Victor Luchits <vluchits@gmail.com>
2021-06-19 01:03:40 +02:00
Juliano Leal Goncalves
15c46b9eb0
💬 Rename HeroSpeech members to improve discoverability
2021-05-23 22:01:47 +02:00
Juliano Leal Goncalves
5350250a76
🚚 Rename speech functions to 'Say' variations
2021-05-23 05:32:34 +02:00
Juliano Leal Goncalves
8c620ce29e
♻️ Extract 'HeroSpeech' enum class for hero sounds instead of using raw ints
2021-05-23 05:32:34 +02:00
Anders Jenbo
4a7ba94702
🎨 Run clang-format
2021-05-07 23:26:39 +02:00
Anders Jenbo
3b04f67194
🔥 Remove a chunk of miniwin types
2021-04-29 23:04:56 +02:00
Jmgr
17c85814bf
Fix a few remaining C-style format in Log calls
2021-04-26 23:11:15 +01:00
Jmgr
1b7e0d2cb3
Migrate existing log entries
2021-04-25 02:39:42 +02:00
Anders Jenbo
2969b80163
🎨 Run readability-identifier-naming on all src sub-folders
2021-04-22 03:53:35 +02:00
Anders Jenbo
1e3ed903be
🎨 strip redundant else
2021-04-22 00:39:48 +02:00
qndel
ec74917cb4
class sounds cleanup
2021-04-20 23:35:16 +02:00
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
2021-04-19 22:42:19 +02:00
Anders Jenbo
b978d80119
🎨 llvm-include-order
2021-04-19 20:11:20 +02:00
Anders Jenbo
bb4e1960e7
🎨 modernize-use-nullptr
2021-04-19 16:02:05 +02:00
Anders Jenbo
8c821e98d3
🚚 Restructure files
2021-04-16 03:57:22 +02:00