Gleb Mazovetskiy
2bfcbbfb2f
Fix memory leak in sound.cpp
...
Also link ASAN for devilutionx
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
8ee689b803
Remove miniwin abstraction for disabeling the screensaver
7 years ago
Anders Jenbo
9818ddadcd
Clean up compiler params
7 years ago
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
7 years ago
Gleb Mazovetskiy
43a27e6f50
Also link SDL int devilution (Source)
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Gleb Mazovetskiy
46a11a8e92
LoadMaskArtFont: Do not pass SDL_RLEACCEL
...
Using SDL_RLEACCEL turned out to be much slower
7 years ago
Gleb Mazovetskiy
4b42117022
Set Art palette only if it changed
...
Improves performance a lot, but still slower than the previous version
7 years ago
Gleb Mazovetskiy
cf0f867ca0
DrawArt via SDL
7 years ago
Gleb Mazovetskiy
e63657747f
SDL1 Backport header: Color format fix
...
1. Adds RGB888 format support (not used at the moment).
2. Set the alpha mask to 0 for indexed format to fix SRCCOLOR blitting.
(also not used at the moment).
7 years ago
Pyr0Byt3
2c8641194d
fix multiple voices playing simultaneously
7 years ago
Anders Jenbo
b95f215390
Update README.md
7 years ago
Gleb Mazovetskiy
5359149a38
SDL1: Audio and video support
...
1. Implements audio support for SDL1
2. Implements blit scaling and correct video rendering for SDL1
7 years ago
Anders Jenbo
22dbe63f75
Fix MSVC builds
7 years ago
Gleb Mazovetskiy
31816a0ed0
[performance] Make DrawArt faster
...
Profiling the menu, DrawArt goes from 94% to 86%, though it's hard to
measure exactly.
7 years ago
Anders Jenbo
3de9b4b1e9
Clean up MPQ loading and make it more portable
7 years ago
Anders Jenbo
5b2a878945
Remove check for multiple application instances
...
(it's currently not working any way)
7 years ago
Anders Jenbo
55717bb429
Remove RegisterClassEx part of miniwin
7 years ago
Anders Jenbo
d26f4b0ad0
Build macOS package via CMake exclusively
7 years ago
Anders Jenbo
d5d2ae6df2
Add the font to the macOS package
7 years ago
Anders Jenbo
dc9e440361
Move Haiku icon to the Packaging folder
7 years ago
Anders Jenbo
0f1a70e8d5
Build macOS package via CPack
7 years ago
alexey.lysiuk
d6a457791b
Create proper macOS application bundle with CMake
7 years ago
Gleb Mazovetskiy
85295838a4
An option to use SDL1 instead of SDL2
...
Adds a USE_SDL1 build option to use SDL v1 instead of v2.
This is useful for porting Diablo on devices that don't support SDL2,
such as the RetroFW / OpenDingux devices (e.g. RG300 Retro Gaming Handheld)
Not yet supported:
* Fullscreen
* Upscaling
* Audio
7 years ago
Mathieu Maret
19f5686770
Catch exception by reference
7 years ago
Mathieu Maret
89ec0538f5
Correct copy elision warning
...
moving a local object in a return statement prevents copy elision
7 years ago
Anders Jenbo
049178cb2e
Clean up load/save code
...
Remove most call to memcpy in preperation for Big Endian support
Document what pointers are being skipped
Align save and load code (easier to verify that both are correct)
7 years ago
Anders Jenbo
a41753e813
Fix crash when exiting and font isn't loaded
7 years ago
Anders Jenbo
b90ef1336d
Fix Segfault when loading game
...
Fixes #224
Not this breaks save games generated with master since 2019-07-15
7 years ago
Anders Jenbo
5cadee74c2
Fix a few compiler warnings
7 years ago
Robin Eklind
d16f603537
all: remove unused storm imports
...
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.
ref: diasurgical/devilution#1695 .
7 years ago
Anders Jenbo
c5a9917aee
Merge branch 'master' of github.com:diasurgical/devilution
7 years ago
Anders Jenbo
1c9801986c
Fix S_StartTalk
7 years ago
qndel
8741ddc6c2
SetupItem cleanup
7 years ago
qndel
afa1306e91
GetUniqueItem cleanup
7 years ago
qndel
2f6a428f4b
ProcessItems cleanup
7 years ago
qndel
a47a797468
RecreateEar cleanup
7 years ago
Robin Eklind
46add07dbf
Merge pull request #1654 from qndel/SortSmith
...
SortSmith cleanup
7 years ago
Robin Eklind
c9f9e70139
Merge pull request #1653 from qndel/SortHealer
...
SortHealer cleanup
7 years ago
Robin Eklind
4b170cab01
Merge pull request #1652 from qndel/SortWitch
...
SortWitch cleanup
7 years ago
qndel
33b3711662
SortSmith cleanup
7 years ago
qndel
b47af60b6f
SortHealer cleanup
7 years ago
qndel
a5de88ab39
SortWitch cleanup
7 years ago
qndel
a05071551a
CalcPlrItemMin cleanup
7 years ago
Anders Jenbo
f8616e3e1e
Merge pull request #1616 from qndel/InitThemes
...
InitThemes cleanup
7 years ago
Anders Jenbo
b22e2451e3
Merge pull request #1618 from qndel/SetReturnLvlPos
...
SetReturnLvlPos cleanup
7 years ago
Anders Jenbo
4d5e2ac7dd
Merge pull request #1620 from qndel/ResyncQuests
...
ResyncQuests cleanup
7 years ago
qndel
5fb15255a8
Apply enums to quests
7 years ago
qndel
3668c20fe3
NewTownerAnim cleanup
7 years ago