galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
2019-05-06 23:07:59 +01:00
Sergey Semushin
02acf7629b
Make ResyncQuests bin exact.
2019-05-06 23:03:54 +01:00
Anders Jenbo
ba38357e21
Clean up control.cpp pointer types
2019-05-04 12:07:08 +01:00
galaxyhaxz
8db166bac8
CheckQuests
2019-05-01 19:54:00 -05:00
Sergey Semushin
8bc995e681
Add _uniq_monsterid enum for indexes in UniqMonst for special unique monsters.
...
Apply it where necessary.
2019-05-01 13:45:14 +01:00
Robin Eklind
4e2ff01beb
Merge pull request #1077 from AJenbo/PrintQLString
...
Clean up PrintQLString
2019-04-30 14:17:29 +09:00
Anders Jenbo
569bd0053f
Clean up PrintQLString
2019-04-30 00:48:04 +02:00
Anders Jenbo
1526e1f3b7
Clean up CheckQuestKill
2019-04-29 01:37:24 +02:00
Anders Jenbo
7ca66a149d
Clean up DrawButcher
2019-04-29 00:40:48 +02:00
Anders Jenbo
996d8ca21f
Clean up ResyncQuests
2019-04-29 00:27:30 +02:00
Anders Jenbo
dce5f70485
Clean up quests.cpp
2019-04-28 22:25:19 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
740e91e881
rename screen_y_times_768
2019-04-19 04:05:55 +02:00
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
2019-04-13 17:23:41 +02:00
Robin Eklind
6d49faba3e
StartQuestlog bin exact. Also, fix type of questlog
2019-04-13 14:21:04 +02:00
Robin Eklind
3be37f668b
DrawBlind bin exact
2019-04-13 14:20:02 +02:00
Robin Eklind
b9f4288277
DrawLTBanner bin exact
...
Note, here we use i=0 in the for loop, the
same simplification can be applied to
DrawWarLord and DrawSChamber.
The initial value of the i and j loop variables were
inferred from DrawLTBanner in the beta release.
2019-04-13 14:18:46 +02:00
Robin Eklind
dd52c11257
DrawBlood bin exact
2019-04-13 14:16:08 +02:00
Robin Eklind
9b8263b4fe
DrawSChamber bin exact
2019-04-13 13:35:59 +02:00
Robin Eklind
1991c06220
DrawWarLord bin exact
2019-04-13 13:09:14 +02:00
Anders Jenbo
9ad9389115
Clean up SetReturnLvlPos
2019-04-09 21:53:30 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
JustAnotherGuid
e289c2c679
ForceQuests [bin exact] ( #838 )
2019-04-06 19:57:02 +02:00
galaxyhaxz
b4460ae55b
Clean DRLG_L3.cpp spawn
2019-04-06 04:21:26 +02:00
Anders Jenbo
d2174e3454
Apply code style
2019-04-05 21:54:45 +02:00
JustAnotherGuid
6f2ee117c2
DRLG_CheckQuests clean-up bin exact
2019-04-05 12:17:57 +02:00
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
2019-03-18 22:24:23 -05:00
galaxyhaxz
81f3f5daa2
Cleaning Engine CEL functions ( #652 )
...
* Cleaning Engine CEL functions
* Fix C functions
2019-03-14 10:47:39 +09:00
JustAnotherGuid
9bca16bcae
Clean-up InitQuests ( #598 )
...
* Clean-up AddChest.
* (Work in progress) Clean-up InitL1Triggers
* Clean-up InitL1Triggers (Binary-exact version)
* Add /FAs flag.
* Rebase
* Accidental add.
* Minor modifications.
2019-03-09 08:59:29 +09: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
480bbe8c63
Apply missile_id and align spells table
2018-10-27 17:20:15 +02:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
596f244f50
Align structured data tables
2018-10-23 19:28:22 +02:00
Anders Jenbo
4f4bd1fb24
Format quests.cpp
2018-10-22 04:01:04 +02:00
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
2018-10-18 20:14:58 +02:00
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
2018-10-18 02:37:33 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
2018-09-29 11:37:54 +02:00
Dennis Duda
5d03a27248
Cleaned up GetLevelMTypes.
...
This had interesting compiler optimizations like
local array merging, which threw off IDA a bit.
By looking into older versions and the PSX symbols
I'm pretty sure I found the correct sizes for both arrays.
There are still minor differences, such as different parameter
loading for function calls. In other places, this solved itself with
time. (VC seems to generate different code base on a lot of
things, even down to alignment).
2018-08-19 23:18:43 +02:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
2018-08-15 22:13:15 -05: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
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
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
bcb3abe96b
Add files via upload
2018-06-06 21:27:39 -05:00