Commit Graph
32 Commits
Author SHA1 Message Date
Anders JenboandDennis Duda 44b1349529 Clean up CheckMonsterHit 2018-09-09 15:35:39 +02:00
Anders JenboandDennis Duda 31637532c9 Redefine nSolidTable as BYTE
Cleans PosOkMissile, CheckNoSolid, SolidLoc and LineClear
2018-09-08 17:07:09 +02:00
Dennis Duda 1b6d5e9df2 Merge remote-tracking branch 'devilution/master' 2018-09-04 19:32:29 +02:00
galaxyhaxzandGitHub 2a377ea876 Fix some struct names and lighting (#190) 2018-09-04 12:31:58 -05:00
Dennis Duda f473aee9ec Merge remote-tracking branch 'devilution/master' 2018-09-04 18:40:48 +02:00
galaxyhaxzandGitHub 13126a90d6 Fix garbage structs, data in setmaps (#189) 2018-09-04 11:16:14 -05:00
Dennis Duda ca0e341de2 Merge remote-tracking branch 'devilution/master' 2018-09-01 14:04:02 +02:00
galaxyhaxzandGitHub 0a1dcc5c0f Update missiles.cpp 2018-09-01 00:38:30 -05:00
Dennis Duda ad0bf6acfc Cleaned up InitMonsterGFX by changing the signature of LoadMissileGFX to fit. 2018-08-29 02:07:15 +02: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 0603e3e042 Cleaned up InitMonsterGFX, InitMonster, MonstPlace 2018-08-19 23:18:46 +02:00
Dennis Duda df44956a78 Cleaned up InitMonsterTRN.
Including changed types used by that function.
2018-08-19 23:17:57 +02:00
galaxyhaxzandGitHub fa64b2148d Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxzandGitHub a336c38226 Fix random(idx,v) calls (#157) 2018-08-10 22:45:32 -05:00
galaxyhaxzandGitHub 063c4dce23 Fix flash, guardian, and other missiles (#155) 2018-08-09 20:01:18 -05:00
galaxyhaxzandGitHub f23f408ed2 Fix decompilation of init_create_window (#145) 2018-07-16 22:13:06 -05:00
galaxyhaxzandGitHub 926276d884 Fix spells not using mana
Decompilation bug in missiles.cpp. All spells now use mana/charges.
2018-07-10 15:37:44 -05:00
Stephan Unverwerthandgalaxyhaxz c8af0523ac refactor leveltype to use macros (#103) 2018-06-29 10:40:22 -05:00
Adam Heinermannandgalaxyhaxz 87ca6557c3 Changed _oBreak and _oSelFlag to char (#95)
* Changed _oBreak and _oSelFlag to char
2018-06-28 08:53:06 -05:00
galaxyhaxzandGitHub 57e19cf1c0 Fix zhar quest, monster squelching, golem (#75) 2018-06-25 02:58:05 -05:00
galaxyhaxzandGitHub 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxzandGitHub 1012269c1c Fix typos 2018-06-19 02:05:50 -05:00
galaxyhaxzandGitHub bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxzandGitHub 0db106a5b4 Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxzandGitHub 297db34515 Update missiles.cpp 2018-06-10 18:09:33 -05:00
galaxyhaxzandGitHub 73c96c91fa Fix compiling with linux 2018-06-09 04:39:24 -05:00
galaxyhaxzandGitHub e0a27589c9 Update missiles.cpp 2018-06-08 22:11:13 -05:00
mewmew f5f76f8b8a Fix build on Linux 2018-06-08 11:23:30 +02:00
galaxyhaxzandGitHub b1ee40f6e7 Revert "Add preliminary support for compiling on Linux" 2018-06-07 22:00:35 -05:00
mewmew 20fdbf8aa2 Fix compile errors on Linux
Source/../types.h:35:10: fatal error: DiabloUI/_diabloui.h: No such file or directory
 #include "DiabloUI/_diabloui.h"

---

Source/../Source/init.h:43:109: error: fastcall and stdcall attributes are not compatible
 LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);

---

Source/missiles.cpp:915:27: error: unable to find numeric literal operator ‘operator""i64’
  *(_QWORD *)&Dirs[0][2] = 0i64;

---

Source/world.cpp:38:1: error: narrowing conversion of ‘3937053354’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]

---

Source/lighting.cpp:429:1: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]

---

Source/objects.cpp:5459:62: error: unable to find numeric literal operator ‘operator""i64’
      while ( !(plr[v53]._pMemSpells[1] & ((unsigned __int64)(1i64 << v60) >> 32) | plr[v53]._pMemSpells[0] & (unsigned int)(1i64 << v60)) );

---

Source/control.cpp:488:9: error: unable to find numeric literal operator ‘operator""i64’
   v26 = 1i64;

---

Source/objects.cpp:243:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]

---

Source/gamemenu.cpp:22:1: error: narrowing conversion of ‘2147483648’ from ‘unsigned int’ to ‘int’ inside { } [-Wnarrowing]

---

Source/sound.cpp:41:88: error: narrowing conversion of ‘240’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]

---

Source/quests.cpp:46:1: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]

---

Source/player.cpp:4666:8: error: unable to find numeric literal operator ‘operator""i64’
  v14 = 0i64;

---

Source/init.cpp:546:109: error: fastcall and stdcall attributes are not compatible
 LRESULT (__stdcall *__fastcall SetWindowProc(void *func))(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

---

Source/items.cpp:114:1: error: narrowing conversion of ‘(item_effect_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]

---

Source/items.cpp:307:1: error: narrowing conversion of ‘(unique_base_item)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]

---

Source/items.cpp:854:8: error: unable to find numeric literal operator ‘operator""i64’
  v37 = 0i64;

---

Source/items.cpp:471:1: error: narrowing conversion of ‘(item_equip_type)255’ from ‘unsigned int’ to ‘char’ inside { } [-Wnarrowing]
2018-06-07 22:44:03 +02:00
galaxyhaxzandGitHub dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00