galaxyhaxz
0bb9f666b3
Clean remaining .CEL functions ( #657 )
2019-03-17 15:56:53 -05:00
Xadhoom
83d902c4a4
Merge branch 'master'
2019-03-16 12:37:02 +00:00
Anders Jenbo
f4ca51f684
Merge branch 'master' of github.com:diasurgical/devilution
2019-03-16 04:21:50 +01:00
galaxyhaxz
9e4885a955
Cleanup CL2 functions ( #656 )
2019-03-15 21:56:04 -05:00
galaxyhaxz
81f3f5daa2
Cleaning Engine CEL functions ( #652 )
...
* Cleaning Engine CEL functions
* Fix C functions
2019-03-14 10:47:39 +09:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
Max Desiatov
e748b7754f
Fix macOS compilation errors ( #28 )
...
* Fix macOS compilation errors
2019-03-08 21:08:30 +01:00
Anders Jenbo
f17e923ab8
Merge branch 'master' of github.com:diasurgical/devilution
2019-03-08 03:12:02 +01:00
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
2019-03-08 03:07:21 +01:00
Xadhoom
15341fdae3
More temporary 64 bit fixes; we can walk in town
2019-01-27 20:45:27 +00:00
Anders Jenbo
1e4e826a36
Remove delta to devilution
2019-01-23 17:11:52 +01:00
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
2019-01-21 20:39:55 +00:00
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
2019-01-21 09:48:53 +00:00
Xadhoom
cadef0d942
Merge upstream branch 'devilution/master'
2019-01-21 09:44:54 +00:00
aperturesecurity
c7b07fe94d
make resizing window and cleaned up a few things
2019-01-15 19:45:42 +02:00
Anders Jenbo
9b7da61dcf
Auto format src
2019-01-13 18:55:59 +01:00
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
2019-01-10 21:39:28 +01:00
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
2019-01-06 03:23:43 +01:00
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
2019-01-03 02:29:31 +01:00
Anders Jenbo
19f1bd6b61
Clean up LoadFileInMem ( #547 )
2019-01-03 01:13:59 +01:00
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
2019-01-01 03:05:29 +01:00
Anders Jenbo
77849aea72
Remove unused init ( #533 )
2018-12-31 04:26:51 +01:00
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).
2018-12-30 03:52:50 +01:00
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
2018-12-29 17:54:22 +01:00
aperturesecurity
62357a25c7
removed more dependancies
2018-12-29 09:06:55 +02:00
aperturesecurity
789aec38de
removed image and font dependancies from SDL now only SDL.h and SDL_Mixer should be needed
2018-12-28 19:40:20 +02:00
aperturesecurity
c967f1a9f8
redid menus
2018-12-09 12:47:28 +02:00
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
ChaosMarc
eefb443f87
fix VC build
2018-10-10 13:31:50 +02:00
nomdenom
11493e3dac
Source: MINIWIN headers support
2018-10-01 21:31:47 -07:00
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
2018-10-01 21:31:47 -07:00
squidcc
49af056b14
Clean DrawAutomapType ( #299 )
...
cosmetic name corrections
2018-09-26 11:04:51 +02:00
Dennis Duda
6792078180
Merge remote-tracking branch 'devilution/master'
2018-09-10 20:44:41 +02:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
2018-09-09 15:40:23 -05:00
Dennis Duda
0cb555478f
Merge remote-tracking branch 'devilution/master'
2018-09-08 19:01:49 +02:00
galaxyhaxz
4f602885a6
Fixed lighting of objects/items in dungeon
2018-09-08 11:48:09 -05:00
Dennis Duda
e8b53791d3
DrawInv is now binary exact.
2018-09-05 18:29:40 +02:00
Dennis Duda
16a576cd5b
Brought GetLevelMTypes very close to binary exact
2018-08-29 01:47:35 +02:00
Dennis Duda
3daee19605
Merge remote-tracking branch 'devilution/master'
2018-08-28 15:28:55 +02:00
galaxyhaxz
d991f63b16
Fix type of screen_buf_end ( #184 )
2018-08-27 22:16:26 -05:00
Dennis Duda
2a492cf9c3
Merge remote-tracking branch 'devilution/master'
2018-08-23 18:06:00 +02:00
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
2018-08-22 23:15:16 -05:00
Dennis Duda
df44956a78
Cleaned up InitMonsterTRN.
...
Including changed types used by that function.
2018-08-19 23:17:57 +02:00
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
2018-08-10 22:45:32 -05:00
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:

2018-07-23 03:01:32 -05:00
galaxyhaxz
8f50c57141
Fix engine (objects always being lit) ( #132 )
...
Also refactored readme
2018-07-10 02:12:14 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00