qndel
1516ad57ac
GetManaAmount cleanup ( #1737 )
7 years ago
qndel
449b9fd2dc
CastSpell cleanup
7 years ago
Anders Jenbo
743ebc2048
Always load MPQ files in read-only mode
7 years ago
Anders Jenbo
e88e574c5f
Drop unimplemented code
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Anders Jenbo
606d5536f2
Set version and project name via CMake
7 years ago
Anders Jenbo
18532e7c9b
Format SourceX and SourceS
...
Fixes #262
7 years ago
qndel
0704393bc3
StoreAutoPlace cleanup
7 years ago
qndel
d0421621c4
InitMonsterGFX cleanup
7 years ago
qndel
5253e28584
InitAutomap cleanup
7 years ago
Gleb Mazovetskiy
94f62177f1
Make SourceX/dvlnet C++11 compatible
...
std::make_unique is only available in C++17 and above
7 years ago
qndel
d3389f3f7c
DrawSLine cleanup
7 years ago
Anders Jenbo
3b2ba952b2
Fix video audio on Big Endian
7 years ago
Anders Jenbo
4ef30b9612
Fix menu on Big Endian systems
7 years ago
qndel
ddec3ce5bb
PrintStoreItem cleanup
7 years ago
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
da78f54712
Apply plr_class
7 years ago
Anders Jenbo
b95f215390
Update README.md
7 years ago
Anders Jenbo
d71e447a04
Improve build time
...
Most Mac images at Travis are severely outdated each build spends about 5 minutes just to update the brew package list before it is able to install any packages. Switching to a known more recent image solves this situation for now.
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
qndel
32e519415a
GetDirection cleanup
7 years ago
qndel
76eb0a3d68
MI_Firewall cleanup
7 years ago