galaxyhaxz
bb3ab09f9a
render.cpp -> OFSUB fix
8 years ago
galaxyhaxz
0d5a7f6878
render.cpp -> fix switch/case
8 years ago
galaxyhaxz
d49bdeaae6
Fix portals/quests in multiplayer
8 years ago
galaxyhaxz
6fbb559a30
Fix sgJunk array ( #177 )
8 years ago
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
Dennis Duda
4272b18daf
Cleaned up `SetPlrHandItem`
...
Binary exact
8 years ago
galaxyhaxz
0a3503dd55
Fix operating objects from top (sarcophagus)
8 years ago
galaxyhaxz
3d80117763
Fix tile transparency in "Hell" ( #172 )
8 years ago
galaxyhaxz
05ccc9e2ec
Prevent confusion with local types using pkplr
8 years ago
galaxyhaxz
0699ff0402
Update multi.h
8 years ago
nomdenom
b8eb6c54fb
Fix signature of multi_send_pinfo(...) ( #164 )
8 years ago
galaxyhaxz
c68923ae33
Fix catacombs generation ( #167 )
...
All dungeons are working now.
8 years ago
galaxyhaxz
9f5883f4c4
Fix dungeon generation of the Cathedral ( #165 )
...
Devilicious!!
8 years ago
Dennis Duda
9d31a6e29c
Flip check in `AddMonsterType` to make it near binary perfect
8 years ago
Dennis Duda
50cbbded0c
Flipped setlevel check for better matching with the original binary
8 years ago
Dennis Duda
4391b247a8
Moved `monst->MData` to temporary variable to get the code very close to the original
8 years ago
Dennis Duda
302d1c6507
Flipped branches of PlaceQuestMonster to make it near byte-perfect.
8 years ago
Dennis Duda
22fcf9a074
Fixed stuff after rebase
8 years ago
Dennis Duda
834db70385
Cleaned up `PlaceGroup`
8 years ago
Dennis Duda
2e3a2f7544
Cleaned up `PlaceUniqueMonst`
8 years ago
Dennis Duda
375d0d469b
Fixed InitMonsterGFX, it now actually works!
8 years ago
Dennis Duda
0603e3e042
Cleaned up InitMonsterGFX, InitMonster, MonstPlace
8 years ago
Dennis Duda
66f522f34e
Small corrections/cleanups (thanks @galaxyhaxz :))
...
- Removed the `mt` variable since it didn't exist in the earlier PSX version
- Replaced raw constants with the proper defines
- Reworked the likely use of `numskeltypes`.
- Added `NUM_MTYPES` to `_monster_id` to represent the number of monster types
8 years ago
Dennis Duda
4c4fe6834c
Fixed missing quest enum value.
8 years ago
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).
8 years ago
Dennis Duda
d78ffef5fa
Cleaned up `InitLevelMonsters` and `AddMonsterType`
8 years ago
Dennis Duda
f5675d7fec
Fixed formatting in `InitMonsterTRN`
8 years ago
Dennis Duda
df44956a78
Cleaned up InitMonsterTRN.
...
Including changed types used by that function.
8 years ago
nomdenom
f3fc93491a
Use WNDPROC type for window procedures ( #162 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
a08be06427
Fix decompilation in player pathing
...
Doesn't fix any bugs sadly, the code still generates the same :(
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago
galaxyhaxz
063c4dce23
Fix flash, guardian, and other missiles ( #155 )
8 years ago
galaxyhaxz
9f34a366a6
Fix decompilation of skeleton spawning ( #152 )
8 years ago
galaxyhaxz
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:

8 years ago
galaxyhaxz
b4a29719a0
Fix for modern compilers
...
gotta love how everything breaks. :S
8 years ago
galaxyhaxz
0c233e45da
Implement debug stuff from 1.00 ( #148 )
8 years ago
Dennis Duda
0200a2abba
Refactored spells.cpp ( #147 )
...
Finished refactoring spells.cpp, modifying other files only as needed.
Some functions are 99% binary exact now, like PlacePlayer, for example.
Added notes/TODOs for places with remaining discrepancies.
8 years ago
galaxyhaxz
f50dab25ba
Several fixes for storm/msgcmd ( #146 )
8 years ago
galaxyhaxz
f23f408ed2
Fix decompilation of init_create_window ( #145 )
8 years ago
galaxyhaxz
5506504860
Update spells.cpp
8 years ago
Dennis Duda
153495d82d
Rewrote GetManaAmount to result in the same decompiled code as Diablo ( #135 )
...
* Rewrote GetManaAmount to result in the same decompiled code as the original function.
Fixed the type of `PlayerStruct->pClass`. Thank you @galaxyhaxz for all the help getting into it :)
* Renamed everything back to their original names
8 years ago
galaxyhaxz
926276d884
Fix spells not using mana
...
Decompilation bug in missiles.cpp. All spells now use mana/charges.
8 years ago
galaxyhaxz
8f50c57141
Fix engine (objects always being lit) ( #132 )
...
Also refactored readme
8 years ago
galaxyhaxz
56e625cf7f
Fix bosses not dropping unique items
8 years ago
galaxyhaxz
472de22f81
Annotated and fixed World.cpp ( #129 )
8 years ago
ApertureSecurity
f34ab0a412
Fix items.cpp regression
8 years ago
galaxyhaxz
4e665a270d
Update appfat.h
8 years ago