Commit Graph
258 Commits
Author SHA1 Message Date
Anders Jenbo 189ce6ec2f Merge branch 'master' of github.com:diasurgical/devilution 2019-03-20 00:00:39 +01:00
galaxyhaxz 9afd45cbea Fix crash in draw town (#692) 2019-03-20 00:48:36 +09:00
galaxyhaxz f388472713 ENG_set_pixel + engine_draw_pixel (#691) 2019-03-19 18:57:23 +09:00
Anders Jenbo bc26a2f730 Merge branch 'master' of github.com:diasurgical/devilution 2019-03-18 21:52:35 +01:00
galaxyhaxz befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
Anders Jenbo d5a06dcbc1 Merge branch 'master' of github.com:diasurgical/devilution into working
Fixes #38
2019-03-18 00:16:01 +01:00
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