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
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
5cadee74c2
Fix a few compiler warnings
7 years ago
Anders Jenbo
37785ed0fe
Remove more redundant render code
7 years ago
Alex Yatskov
7e248a2b47
allow readonly mpq archive access
7 years ago
vimino
4910b3b081
Repeat the intro if no activity for 30 sec ( #213 )
7 years ago
Anders Jenbo
7b745e34a9
Enable delete key in hero menu
7 years ago
danellos
798744b773
Cleaned up includes, fixed missing sound, and fixed spelling error.
7 years ago
danellos
d032094bed
Made function names more consistent with Yes/No
7 years ago
danellos
0f9fc228ce
Full "Delete Hero" implementation
7 years ago
Anders Jenbo
40a5365e1f
Correctly free the font
7 years ago
Manuel K
32b0e99e90
Use SCREEN_Y (dX part)
7 years ago
Manuel K
45e7635f81
Replace ROW_PITCH with BUFFER_WIDTH in dX
7 years ago
Anders Jenbo
0f8545d3c4
Clean up SDL error logging
7 years ago
Anders Jenbo
37c0b7585d
Add option to disable upscaling
...
This avoids the need for hardware accelerated graphics
7 years ago
Anders Jenbo
897c090338
Merge dx.cpp
7 years ago
Anders Jenbo
b791b1093c
Clean up DDraw implementation
7 years ago
Anders Jenbo
631305035a
Brute fix compile errors
7 years ago
Anders Jenbo
3f9691bf2c
Enable building with MSVC 2017 ( #75 )
7 years ago
Anders Jenbo
20ac1f1d8c
Switch to Charis Bold SIL as the prefered font replacement
7 years ago
Anders Jenbo
3013841989
Improve mpq error message
7 years ago
Anders Jenbo
a77c75a097
Make graphics modes configurable ( #44 )
...
* Make graphics modes configurable
[devilutionx]
scale quality=2
fullscreen=1
grab input=1
* Update dx.cpp
7 years ago
Anders Jenbo
bf27555218
Use Liberation Serif Bold instead of Times New Roman
...
There dosen't appear to be an easy way to load system fonts,
distributing LiberationSerif-Bold.ttf seams like a decent
solution/lowest common denominator.
Fixes #43
7 years ago
Anders Jenbo
aa017838e0
Fix some warning in the UI
7 years ago
Xadhoom
f00e427ed2
Remove pch.h
7 years ago
Xadhoom
c1ba436e69
miniwin_misc.h macro-clean
7 years ago
Xadhoom
61b5537c5a
Remove iconv dependency
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
7 years ago
Xadhoom
8b7f30b669
Continue refactoring macros from miniwin
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Max Desiatov
e748b7754f
Fix macOS compilation errors ( #28 )
...
* Fix macOS compilation errors
7 years ago
Anders Jenbo
9611057b08
Some simple fixes and clean ups to better support macOS
7 years ago
Anders Jenbo
76290b8e23
Implement password prompt
7 years ago
Anders Jenbo
413741fbb6
Improve error message
7 years ago
Anders Jenbo
2336a78a5b
Adjust error messages to devilutionX
7 years ago
Anders Jenbo
c77c97de9a
Fix some minor LLVM compatability issues
7 years ago
Anders Jenbo
2a5a4859f3
Fix release builds
7 years ago
Anders Jenbo
86b78a2ba5
Unstub init.cpp
...
- Internal version is now set correctly
- Much better error handeling for SDL
- mpq files must now be in the same folder as the exec
- Window name is now "DIABLO" like the original
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago
Anders Jenbo
c375d4bc08
Fix some minor bugs
7 years ago
Anders Jenbo
447cec8355
Implement video playback via libsmacker
7 years ago
Anders Jenbo
281ade83c2
Move select game logic to UiSelectGame()
7 years ago
Anders Jenbo
50809cb255
Clean up event code and hook up all cancle buttons
7 years ago
Anders Jenbo
89c2b533cb
Implement ui layout framework
7 years ago
Anders Jenbo
2e63d135d3
Unload title animation
...
Reduces mem usage by ~1.5mb
7 years ago
Anders Jenbo
90466f3fbb
Correct art for all existing menus
7 years ago
Anders Jenbo
599936c9b2
Handle text input correctly
...
Also you can now paste test from the clip board
7 years ago
Anders Jenbo
a58e3af89a
Refactor menu navigation
...
This also implements fully accurate list navigation
7 years ago