Max Desiatov
269aa345bd
Fix downstream 64-bit builds
7 years ago
Xadhoom
15341fdae3
More temporary 64 bit fixes; we can walk in town
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
aperturesecurity
c7b07fe94d
make resizing window and cleaned up a few things
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
54247a076c
C init ( #549 )
...
* Make initializers C compatible
* Compile more files as C
dthread.cpp dx.cpp init logging.cpp fault.cpp msgcmd.cpp nthread.cpp
* Update defs.h
7 years ago
Anders Jenbo
ca64011eb9
Replace __ROR4__ stdlib, make _ROR2__ C frindly ( #540 )
...
* Use stdlib _rotr instead of inline asm
* Compile control.cpp as C
This also makes qmemcpy avalible to the C compiler
7 years ago
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
7 years ago
Anders Jenbo
19f1bd6b61
Clean up LoadFileInMem ( #547 )
7 years ago
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Robin Eklind
8ed5573766
engine: clean up CelDecDatLightEntry and Cel2DecDatLightEntry ( #524 )
...
Now, these functions no longer use references. Instead they
use pointer to pointer. Furthermore, they've been simplified
to for loops, as essentially, the decompiled functions were
unrolled loops (as seen in the memset function).
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
aperturesecurity
62357a25c7
removed more dependancies
7 years ago
aperturesecurity
789aec38de
removed image and font dependancies from SDL now only SDL.h and SDL_Mixer should be needed
7 years ago
aperturesecurity
c967f1a9f8
redid menus
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
ChaosMarc
eefb443f87
fix VC build
8 years ago
nomdenom
11493e3dac
Source: MINIWIN headers support
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
squidcc
49af056b14
Clean DrawAutomapType ( #299 )
...
cosmetic name corrections
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
galaxyhaxz
4f602885a6
Fixed lighting of objects/items in dungeon
8 years ago
Dennis Duda
e8b53791d3
`DrawInv` is now binary exact.
8 years ago
Dennis Duda
16a576cd5b
Brought `GetLevelMTypes` very close to binary exact
8 years ago
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
8 years ago
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
8 years ago
Dennis Duda
df44956a78
Cleaned up InitMonsterTRN.
...
Including changed types used by that function.
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago
galaxyhaxz
e7534cfa50
Fixed a bug in drawing automap
...
This function was taken from the beta which is less optimized, but works the same. Here is a screenshot of the bug:

8 years ago
galaxyhaxz
8f50c57141
Fix engine (objects always being lit) ( #132 )
...
Also refactored readme
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
galaxyhaxz
2d3f493691
Fix automap zooming and drawing
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago