Commit Graph
91 Commits
Author SHA1 Message Date
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxzandGitHub d879a325e1 Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
galaxyhaxzandGitHub 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
galaxyhaxzandRobin Eklind 9afd45cbea Fix crash in draw town (#692) 2019-03-20 00:48:36 +09:00
galaxyhaxzandRobin Eklind f388472713 ENG_set_pixel + engine_draw_pixel (#691) 2019-03-19 18:57:23 +09:00
galaxyhaxzandRobin Eklind befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
galaxyhaxzandGitHub 0bb9f666b3 Clean remaining .CEL functions (#657) 2019-03-17 15:56:53 -05:00
galaxyhaxzandGitHub 9e4885a955 Cleanup CL2 functions (#656) 2019-03-15 21:56:04 -05:00
galaxyhaxzandRobin Eklind 81f3f5daa2 Cleaning Engine CEL functions (#652)
* Cleaning Engine CEL functions

* Fix C functions
2019-03-14 10:47:39 +09:00
Max DesiatovandAnders Jenbo 269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders Jenbo 9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
Anders JenboandRobin Eklind 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 JenboandGitHub 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 JenboandGitHub 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 JenboandRobin Eklind 19f1bd6b61 Clean up LoadFileInMem (#547) 2019-01-03 01:13:59 +01:00
Anders JenboandRobin Eklind e795b6116a Make use of atexit() C compatible (#537) 2019-01-01 03:05:29 +01:00
Anders JenboandRobin Eklind 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Robin EklindandGitHub 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 JenboandRobin Eklind b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01: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
squidccandRobin Eklind 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
galaxyhaxzandGitHub 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
galaxyhaxzandGitHub 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
galaxyhaxzandGitHub 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
galaxyhaxzandGitHub 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
galaxyhaxzandGitHub 775ae59e18 Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
galaxyhaxzandGitHub a336c38226 Fix random(idx,v) calls (#157) 2018-08-10 22:45:32 -05:00
galaxyhaxzandGitHub 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:
![screen](https://s33.postimg.cc/ks6u1z3lb/DIABLO_20180723_074942.png)
2018-07-23 03:01:32 -05:00
galaxyhaxzandGitHub 8f50c57141 Fix engine (objects always being lit) (#132)
Also refactored readme
2018-07-10 02:12:14 -05:00
galaxyhaxzandGitHub 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxzandGitHub bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxzandGitHub 2d3f493691 Fix automap zooming and drawing 2018-06-15 15:35:36 -05:00
galaxyhaxzandGitHub dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00