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
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
arczi84
1ab2fb2666
Endian madness
7 years ago
Anders Jenbo
4fc52a0e23
Format render.cpp
7 years ago
Anders Jenbo
ec90987be0
Switch to new render from Galaxy
7 years ago
Anders Jenbo
b023104434
Remove u from values
7 years ago
Anders Jenbo
6ba57a2d10
Remove the last bit of garbage
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Joan Karadimov
f695061d05
Replace resolution-related hard-coded numbers with constants
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
b59754bd64
Render.cpp bin exact ( #744 )
7 years ago
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
Robin Eklind
66dacd0967
render: clean up inlined asm functions ( #553 )
...
* render: clean up inlined asm functions
Now, these functions no longer use references. Instead they
use pointer to pointer.
7 years ago
galaxyhaxz
1324082090
The big cheap fix ( #446 )
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
galaxyhaxz
84b041cf7d
Fix angular trans tiles
7 years ago
Anders Jenbo
6723acc98f
Format clean render bits
8 years ago
galaxyhaxz
0f184f2b71
Move assembly to _asm.cpp ( #388 )
8 years ago
galaxyhaxz
2f46409b64
Add inlining to render.cpp (btm) ( #383 )
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
0d0f1bc5dc
T2: add inlining to render.cpp
8 years ago
galaxyhaxz
c9a6c21c5f
Rename variables in render.cpp
8 years ago
galaxyhaxz
4bdd50440d
Fix lighting of some floor tiles
...
Devilution is now basically bug free!
8 years ago
galaxyhaxz
9f206691b0
render.cpp -> undo memset/memcpy ( #186 )
8 years ago
galaxyhaxz
5ed7a29e22
render.cpp -> implement memset/memcpy
8 years ago
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
8 years ago
galaxyhaxz
1ec606131c
render.cpp -> add bug notes
8 years ago
galaxyhaxz
8a4196fe76
render.cpp -> remove all garbage vars
8 years ago
galaxyhaxz
d2f109801c
render.cpp -> remove last asm and cleanup
8 years ago
galaxyhaxz
14a0241d4d
render.cpp -> take out the trash
8 years ago
galaxyhaxz
5abc4058a0
render.cpp -> add comments on cel type
8 years ago
galaxyhaxz
60c065ca93
render.cpp -> i don't even remember
8 years ago
galaxyhaxz
6713958b0d
render.cpp -> fix left-shifting
8 years ago
galaxyhaxz
c255a70eac
render.cpp -> fix right-bit macro
8 years ago
galaxyhaxz
bb3ab09f9a
render.cpp -> OFSUB fix
8 years ago
galaxyhaxz
0d5a7f6878
render.cpp -> fix switch/case
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
galaxyhaxz
472de22f81
Annotated and fixed World.cpp ( #129 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
mewmew
f5f76f8b8a
Fix build on Linux
8 years ago
galaxyhaxz
b1ee40f6e7
Revert "Add preliminary support for compiling on Linux"
8 years ago