Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
2018-10-18 20:14:58 +02:00
Anders Jenbo
2db187faf5
Correct AnimStruct names ( #417 )
...
Fixes #384
2018-10-14 20:57:19 +02:00
Anders Jenbo
c878a630f5
Monster.cpp ( #402 )
...
* Clean up DeleteMonster
* AddMonster
* Clean up NewMonsterAnim
* Clean up M_Ranged, M_Talker and M_GetDir
* Clean up M_StartDelay
* Clean up M_StartSpStand
* Clean M_StartSpStand
* Add enum to monster Anim
2018-10-11 08:34:09 +02:00
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
2018-10-10 09:55:57 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
galaxyhaxz
8a7f5eca14
Fix Fireball Collision
2018-10-03 07:45:23 -05:00
galaxyhaxz
cd82710607
Fix __int64 in missiles ( #380 )
2018-10-03 06:06:07 -05:00
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
2018-09-24 08:13:48 +02:00
Anders Jenbo
e05679b1c9
Clean up ProcessPlayers ( #319 )
...
* Clean up ProcessPlayers
* Change drawhpflag and drawmanaflag to BOOL
2018-09-23 09:38:34 +02:00
Anders Jenbo
44b1349529
Clean up CheckMonsterHit
2018-09-09 15:35:39 +02:00
Anders Jenbo
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
galaxyhaxz
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
galaxyhaxz
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
galaxyhaxz
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
galaxyhaxz
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
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
2018-08-15 22:13:15 -05:00
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
2018-08-10 22:45:32 -05:00
galaxyhaxz
063c4dce23
Fix flash, guardian, and other missiles ( #155 )
2018-08-09 20:01:18 -05:00
galaxyhaxz
f23f408ed2
Fix decompilation of init_create_window ( #145 )
2018-07-16 22:13:06 -05:00
galaxyhaxz
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 Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
2018-06-29 10:40:22 -05:00
Adam Heinermann
87ca6557c3
Changed _oBreak and _oSelFlag to char ( #95 )
...
* Changed _oBreak and _oSelFlag to char
2018-06-28 08:53:06 -05:00
galaxyhaxz
57e19cf1c0
Fix zhar quest, monster squelching, golem ( #75 )
2018-06-25 02:58:05 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
1012269c1c
Fix typos
2018-06-19 02:05:50 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
0db106a5b4
Add support for Visual C++ 5.10 ( #12 )
...
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxz
297db34515
Update missiles.cpp
2018-06-10 18:09:33 -05:00
galaxyhaxz
73c96c91fa
Fix compiling with linux
2018-06-09 04:39:24 -05:00
galaxyhaxz
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
galaxyhaxz
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
galaxyhaxz
dde68ff89e
Add files via upload
2018-06-06 21:25:54 -05:00