Anders Jenbo
88039e9a21
Prepare release
7 years ago
Gleb Mazovetskiy
e4de2ad177
Fix UB: Signed integer overflow engine.cpp:1264
7 years ago
Gleb Mazovetskiy
31ba9e773c
CMake: Explicitly enable POSIX extensions
...
This is needed when compiling on non-Linux platforms, such as Amiga,
Switch, etc.
7 years ago
Gleb Mazovetskiy
1ec5fa7896
Fix UB: load/store of misaligned render.cpp:130
...
Source/render.cpp:130:47: runtime error: load of misaligned address 0x7fea0df260da for type 'DWORD', which requires 4 byte alignment
Source/render.cpp:130:26: runtime error: store to misaligned address 0x7fea5796ff62 for type 'DWORD', which requires 4 byte alignment
7 years ago
Gleb Mazovetskiy
1ea70f8ae8
Build Source and SourceX with UBSAN by default
7 years ago
Anders Jenbo
ed2a8b1844
Fix build error
7 years ago
Anders Jenbo
dc5bbd0c49
Implement DefWindowProc directly in MainWndProc
7 years ago
Anders Jenbo
b35a886846
Limit verbose info level debug to _DEBUG mode
7 years ago
Anders Jenbo
fb01349343
Ignore uninteresting SDL events
7 years ago
Anders Jenbo
5eacf0ed8e
Implement GetAsyncKeyState (enables two debug features)
...
- When started with -^ you can scroll the screen by holding shift and
moving the mouse.
- Holding menu will disable transparency.
7 years ago
Anders Jenbo
73a7a1ae6d
Remove unimplemented functions that aren't needed with SDL
7 years ago
Anders Jenbo
d840f388c7
Merge branch 'master' of github.com:diasurgical/devilution
7 years ago
Cybervitexus
ab60df6618
Diasurgical master ( #336 )
...
* Debian Package update
* Missing font & icons fix
* Fedora package update
* Fedora package update
* Fixing #333 Linux Font Path problem
* use of TTF_FONT_PATH
7 years ago
Anders Jenbo
f9fe0bf929
Revert "Static link on modern Clang"
...
This reverts commit 11febb1532 .
7 years ago
arczi84
1ab2fb2666
Endian madness
7 years ago
Robin Eklind
9bf8332d48
Merge pull request #1360 from diasurgical/ui_consts
...
Ui consts
7 years ago
Benny Franco Dennis
1efd018b19
Add dependencies to the macOS bundle app
7 years ago
Benny Franco Dennis
67f847c4e5
Fix parameter to set build to release
7 years ago
Anders Jenbo
11febb1532
Static link on modern Clang
...
This will fail on old clang, but old clang should not be used for releases.
7 years ago
Marlon Beijer
d641c65562
Some fixes for Big Endian systems
7 years ago
Anders Jenbo
ca05b2e32d
Promote FreeBSD to 64bit and default compiler
7 years ago
Anders Jenbo
ebe846d6ef
Get version from git ( #331 )
...
* Get version from git
For debug builds the textual version will be latest tag+short hash
* Configure nightly builds
7 years ago
Gleb Mazovetskiy
10733ffff6
CMake: Use LTO on all compilers where supported ( #330 )
...
* CMakeLists.txt: Fix indentation
* CMake: Bump minimum required version: 3.7 -> 3.10
This simplifies LTO support
7 years ago
Gleb Mazovetskiy
d15bd453c6
Make DiabloUI/errorart arrays const
7 years ago
Gleb Mazovetskiy
52e4064fe5
art.cpp: Use `const_cast` instead of C-style cast
7 years ago
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
Gleb Mazovetskiy
4e1b35b71e
FindSDL2_ttf.cmake: Fix header check
...
Refs #321
7 years ago
qndel
06e7b4dbdb
more enums
7 years ago
qndel
7129558d0b
apply enums
7 years ago
Vítězslav Dvořák
fb24212761
Debian Package update
7 years ago
Anders Jenbo
edbc23f144
Clean up diablo.cpp
7 years ago
qndel
ee590ad129
DrawAutomapType cleanup
7 years ago
Anders Jenbo
a8dd5dcd4a
Correct signature of FuncDlg
...
This reduces a lot of the casting in appfat.cpp
7 years ago
Anders Jenbo
6d982f6d06
Correct parameter naming for init_test_access
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Anders Jenbo
c97388386c
Correct textdat.cpp for shareware version
...
This fixes all speech missing for towners.
7 years ago
Anders Jenbo
8196637c33
Update README.md
7 years ago
Gleb Mazovetskiy
6b9a9faebc
Fix hero dialog image
...
Regression introduced in b536d0efa2
Fixes #318
7 years ago
Anders Jenbo
97e09e3e25
Fix music in shareware
7 years ago
Gleb Mazovetskiy
ea4358fdc7
Avoid console warnings on dialog init w/o diabdat
7 years ago
Gleb Mazovetskiy
b536d0efa2
DiabloUI: Handle logo like all the other elements
...
Adds the `animated` flag to `UiImage`, allowing us to
remove special handling for the logo.
7 years ago
qndel
0fb6025948
scrollrt_draw_lower_2 cleanup
7 years ago
qndel
2dadb3e3a3
scrollrt_draw_lower cleanup
7 years ago
Pyr0Byt3
e7e1ba96dc
fix hero order
7 years ago
Gleb Mazovetskiy
4ea3a4e941
Make Source/ dialogs call DiabloUI/dialogs.cpp
...
The diabdat.mpq absence error is handled by stubbing the art with solid
colors.
7 years ago
Gleb Mazovetskiy
850d09b0a5
Minor cleanup of internal error handling
...
1. TTF no longer crashes on exit.
2. Art failing to load simply isn't rendered instead of crashing in random places.
3. Fixes empty line rendering in ttf_render_wrapped.cpp
4. dx_cleanup is now idempotent.
7 years ago
Anders Jenbo
21fb588e56
Correct MinGW instructions
7 years ago
Gleb Mazovetskiy
fd0a23aac3
Improve RenderUTF8_Solid_Wrapped comment
7 years ago
Gleb Mazovetskiy
d7bec68fb2
Reduce TTF line spacing to roughly match Diablo
7 years ago
Gleb Mazovetskiy
40651d8a19
Implement x-align for wrapped TTF text
7 years ago