galaxyhaxz
3c7a08a336
Fix function order [scrollrt.cpp] ( #1800 )
7 years ago
Gleb Mazovetskiy
2fb84d5f60
Renderer texture: use RGB888 instead of RGBA8888
...
Massively improves renderer performance.
7 years ago
Gleb Mazovetskiy
fb37bbf675
Disable some signed shift UBSAN warnings
...
On Clang we can do this globally via a sanitizer blacklist, but that's not supported on GCC (yet):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61978
We disable these warnings because all compilers implement them in the
same way according to the N2218 proposal to standardize the behaviour:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2218.htm
7 years ago
Gleb Mazovetskiy
65344058ec
Fix UB: Misaligned access in GetCelFrameClipped
...
runtime error: load of misaligned address 0x632000363773 for type 'WORD', which requires 2 byte alignment
0x632000363773: note: pointer points here
7f 7f 7f 3e 0a 00 02 01 50 04 00 00 00 00 7f 7f 7f 7f 7f 7f 7f 7f 7f 34 bc ac ff bc 5b f9 fc dc
It was actually out-of-bounds as well so I had to add a bounds check.
7 years ago
Gleb Mazovetskiy
c2056c6cbf
SHA: Fix some implementation-defined behaviour ( #343 )
...
* SHA: Fix negative base shift UB
* SHA: Avoid signed integer overflow
We do cast from uint32_t to int32_t but that should be OK everywhere.
* SHA: Always use portable arithmetic right shift
7 years ago
Gleb Mazovetskiy
2d8a778840
RetroFW / OpenDingux build configurations ( #264 )
7 years ago
Anders Jenbo
b3bef4c534
Update README.md
7 years ago
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
qndel
a89a719f09
[hellfire] OperateMushPatch bin exact
7 years ago
qndel
83d68786b5
[hellfire] 3 functions bin exact
7 years ago
qndel
b24a30814b
[hellfire] PlayDungMsgs bin exact ( #1797 )
...
* [hellfire] PlayDungMsgs bin exact
* newline
7 years ago
Anders Jenbo
f9fe0bf929
Revert "Static link on modern Clang"
...
This reverts commit 11febb1532 .
7 years ago
qndel
e0cebaf164
formatting
7 years ago
qndel
989d39ab0b
[hellfire] GetBookSpell bin exact
7 years ago
arczi84
1ab2fb2666
Endian madness
7 years ago
Anders Jenbo
adbd08137f
Work around VC5 DialogBoxParam definition
7 years ago
Anders Jenbo
babddf2921
Merge branch 'master' of github.com:diasurgical/devilution into hellfire
7 years ago
qndel
13eb926575
[hellfire] GetManaAmount bin exact
7 years ago
Robin Eklind
48356f1f2d
Merge pull request #1793 from qndel/GetDamageAmt2
...
Small bug in GetDamageAmt
7 years ago
qndel
a4852904be
sneaky bug
7 years ago
qndel
8f323ac981
Merge branch 'hellfire' of https://github.com/diasurgical/devilution into GetDamageAmt2
7 years ago
qndel
7fd66b103b
[hellfire] game_2_ui_class / pfile_get_player_class bin exact ( #1792 )
7 years ago
Robin Eklind
d9b272ef05
Merge pull request #1612 from qndel/WitchItemOk
...
[hellfire] WitchItemOk bin exact
7 years ago
qndel
5d7e0d04f6
[hellfire] GetDamageAmt bin exact
7 years ago
Robin Eklind
58601b4b45
Merge pull request #1550 from qndel/AddRndTeleport
...
[hellfire] AddRndTeleport bin exact
7 years ago
qndel
3f1cdf9bc8
[hellfire] GetDamageAmt bin exact
7 years ago
qndel
7956bf81da
[hellfire] gamemenu_save_game / gamemenu_load_game bin exact ( #1772 )
7 years ago
Robin Eklind
9bf8332d48
Merge pull request #1360 from diasurgical/ui_consts
...
Ui consts
7 years ago
Robin Eklind
ec34fcfabd
Merge pull request #1748 from qndel/MI_Blodboil2
...
[hellfire] MI_Blodboil bin exact
7 years ago
Robin Eklind
8b2896054c
Merge pull request #1747 from qndel/AddBlodboil
...
[hellfire] AddBlodboil bin exact
7 years ago
Robin Eklind
f0dab0ed29
Merge pull request #1738 from qndel/InitMonsterGFX3
...
[hellfire] InitMonsterGFX bin exact
7 years ago
Robin Eklind
f4034b5023
Merge pull request #1735 from qndel/DoHealOther2
...
[hellfire] DoHealOther bin exact
7 years ago
Robin Eklind
1119d39388
Merge pull request #1711 from qndel/MI_Manashield
...
[hellfire] MI_Manashield bin exact
7 years ago
Robin Eklind
6369506262
Merge pull request #1672 from qndel/PrintItemDur
...
[hellfire] PrintItemDur & PrintItemDetails bin exact
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