Anders Jenbo
3a660f6f6c
♻️ Align MI_LightningWallC with MI_FirewallC
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
5 years ago
Anders Jenbo
a01cafbf69
🚨 Apply spell_id
5 years ago
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
5 years ago
Anders Jenbo
31467cc949
♻️ Remove all usage of basic WIN32 types
...
Note that several WinAPI types are still in use (misc.h)
5 years ago
Anders Jenbo
1bd8fb281a
♻️ Don't do calculations unless needed
5 years ago
Anders Jenbo
83e783a796
🔥 Remove ITYPE_FOOD (unused)
5 years ago
Anders Jenbo
8dfff1c75d
👷 Enable additional warnings for Clang
5 years ago
Anders Jenbo
58e0b00e74
♻️ Pass privitives by value
5 years ago
Gleb Mazovetskiy
41f7162e98
Hellfire: Better error if some MPQs are missing
...
Makes the issue more obvious.
5 years ago
Gleb Mazovetskiy
a545d0ce1c
CMake: An option to build libsodium from source
...
Adds an option to build libsodium from source instead of using the
system-provided one.
This is useful on systems that do not provide libsodium, or for testing
changes to libsodium along with devilutionx (by specifying
`-DFETCHCONTENT_SOURCE_DIR_LIBSODIUM`).
This also allows us to configure sodium to our liking when building it from source,
such as `SODIUM_MINIMAL`, which reduces the x64 release binary size from 4.3 MiB to 4.1 MiB.
5 years ago
Gleb Mazovetskiy
378a99bfd5
OpenDingux/build.sh: Minor fix
5 years ago
Gleb Mazovetskiy
415bea0efe
Look for all MPQs in PWD and global share
...
Follow-up to #1196
5 years ago
Gleb Mazovetskiy
7ddabe188a
Update 3rdParty/Radon
...
From 9203ff8b02
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Gleb Mazovetskiy
0c2284a091
Respect sfx_STREAM in PlaySFX
...
Changes audio playback of sounds with the `sfx_STREAM` flag, such as towner lines, to stream.
5 years ago
Semperfis96
cd8d26ac8f
Rename sync_word_6AA708 to sgnMonsterPriority in Source/sync.cpp for clarity ( #1202 )
5 years ago
Anders Jenbo
729ae7bccf
📝 Remove Devilution specific instructions
5 years ago
Gleb Mazovetskiy
997650aa5d
Stream music instead of loading it all at once
...
RAM usage (my beefy desktop):
* Town: 176 MiB -> 121 MiB
* Cathedral: 191 MiB -> 138 MiB
Performance: 1170 FPS -> 1150 FPS
5 years ago
Anders Jenbo
60cc8b0df4
🚨 Correct type of event_types
...
Fixes #1197
5 years ago
Gleb Mazovetskiy
c52505388b
Install devilutionx.mpq on Linux
...
1. Installs devilutionx.mpq on Linux.
2. Falls back to finding it in the install location.
5 years ago
Gleb Mazovetskiy
dc47832877
OpenDingux/RetroFW: Copy devilutionx.mpq
5 years ago
Anders Jenbo
b59b1179a1
🚨 Resolve remaning c-style warnings
5 years ago
Anders Jenbo
43639b6d37
🐛 Do not pickup gold if inventory is full
5 years ago
Anders Jenbo
32b663ad3d
🐛 Correct rendering and functionality of the progressbar
...
This fixes the following issues:
- Missing text shadows
- Missing button graphics
- White boarder
- Not responding to controller input
- Button not giving visual feedback
- Clicking anywhere cancles
5 years ago
Anders Jenbo
c899cabf98
🐛 Block direction in PlayerMHit
5 years ago
Gleb Mazovetskiy
f9a87c2c74
Always prefill player name if controller is active
5 years ago
Gleb Mazovetskiy
3cac99ed20
Add default names for Bard and Barbarian
...
Barbarian names taken from later Diablo lore.
Bard simply reuses Rogue names.
5 years ago
Anders Jenbo
3077208b8b
♻️ Clean up automap.cpp
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Gleb Mazovetskiy
b6db4d02da
Clean up CapturePix
5 years ago
Gleb Mazovetskiy
d6f73b576c
Fix screenshotting
...
Broken by afa3a6bf27
5 years ago
Anders Jenbo
2e3bb9206d
🐛 Fix uninitialized values for items generated in a loop
...
Fixes #1121
5 years ago
Gleb Mazovetskiy
3363e8f8f3
Remove extern C from engine.h
...
The headers don't actually work with C as they're now.
A better long-term solution should be able to use idiomatic C++ throughout
and expose things to other languages via a separate C API layer.
Fixes #1178
5 years ago
Gleb Mazovetskiy
e4212a0de9
Try uppercase DIABDAT.MPQ ( #1184 )
...
It's uppercase in GOG and on the retail CD.
Other MPQs are not known to be uppercase.
5 years ago
Anders Jenbo
d7788522f2
⬆️ Bump CMake to 3.13
...
This allows us to have variables set in the toolchains which cleans up
the main file a bit.
5 years ago
Anders Jenbo
9ea85118d4
🐛 Disable LTO for Windows builds ( #1182 )
5 years ago
Anders Jenbo
8e8e31627f
🐛 Only load hotkeys on new game
5 years ago
muzena
6db697407b
Small update in README.md Ubuntu instructions, bolding text
5 years ago
Anders Jenbo
cb1016a6d9
🚨 Fix a handful of warnings from Clang
5 years ago
Anders Jenbo
c11222fa76
Remove old compiler profile
5 years ago
muzena
d460a8f743
Update README.md Ubuntu instructions
5 years ago
Anders Jenbo
da373f351d
🐛 Only close TCP server if running
5 years ago
Gleb Mazovetskiy
4d6de74eb8
Don't rely on BORDER_LEFT/TOP in cursor rendering
...
The code there previously implicitly relied on BORDER_LEFT/TOP being
large enough.
5 years ago
Anders Jenbo
f34e77190c
💚 Disable LTO when known to be buggy on Windows
5 years ago
muzena
9b7e24d9d1
Add Ubuntu PPA repos to README.md
5 years ago
muzena
3367430f26
Updated debian packaging files
5 years ago
Anders Jenbo
14074608be
🐛 Correct requirement line in stores
...
Fixes #1167
5 years ago
Anders Jenbo
8b8caf5a7e
🐛 Fix quests not activating on Windows
...
Compare _uniqtype instead mName
Fixes #1152
5 years ago
Anders Jenbo
069195eba2
💚 Fix 3DS builds
5 years ago