qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
6 years ago
Troy Bronzan
1ee9eee711
Fixed dupe bug as per the information found on this topic: https://www.reddit.com/r/Diablo/comments/4kdh3u/diablo_1_deserves_some_love_introducing/d3eel0k/
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
galaxyhaxz
ca7b94c009
Fix inventory drawing and missiles ( #1973 )
6 years ago
galaxyhaxz
38c748b6fd
Add network commands and cursors ( #1967 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
87361e8ecc
[hellfire] rename inv_420FD0 to inv_diablo_to_hellfire
6 years ago
Anders Jenbo
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
eab1de117f
Fix missing assert for FindGetItem
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
Anders Jenbo
45844b71ae
Make controls more responsive
...
- Fix double events
- Fix ignored events
- Allow moving diagonal in the inventory
- Fix mouse wobbling in inventory when scalling
- Make controler actions cursor independants
- Make sure secoundery and primery key doesn't fire each others events
- Highlight both primary and secondary target
- Automatic switch between controller and keyboard+mouse
- Allow the user to change facing direction when blocked
- Make code event based instead of relying on time outs
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
933262d701
Remove support for partial cel decoding
...
Since we no longer make use of this it should result in a small speed up
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
qndel
57f1fcce4c
some enums ( #1816 )
6 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
8ed4515727
Strip clipping from town and scroll
7 years ago
galaxyhaxz
85afd0768a
Add bugfix for dupe bug
7 years ago
Anders Jenbo
18d38d102e
Fix compiling Hellfire
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
qndel
6b286941f3
enums
7 years ago
Anders Jenbo
ad74e68ade
[hellfire] missile data
7 years ago
Sergey Semushin
b2c770c2b9
hellfire: GoldAutoPlace: bin exact.
7 years ago
Sergey Semushin
f964faa492
hellfire: DrawInvBelt: bin exact.
7 years ago
Sergey Semushin
61b1793985
hellfire: UseStaffCharge: bin exact.
7 years ago
Sergey Semushin
cfaeab7d49
hellfire: UseInvItem: bin exact.
7 years ago
Sergey Semushin
6ace6ca0aa
hellfire: RemoveScroll: bin exact.
7 years ago
qndel
a1e688fa99
[hellfire] CheckInvHLight bin exact
7 years ago
Sergey Semushin
eedad0fb50
hellfire: InvPutItem: bin exact.
7 years ago
Sergey Semushin
f0272c2a2e
hellfire: CanPut: bin exact.
7 years ago
Sergey Semushin
a01c95400c
hellfire: SynGetItem: bin exact.
7 years ago
Sergey Semushin
828b62abc6
hellfire: AutoGetItem: min diff.
7 years ago
Sergey Semushin
e462b68ab8
hellfire: InvGetItem bin exact.
7 years ago
Sergey Semushin
e133d23946
hellfire: InvPutItem and it callers bin exact.
...
Callers:
On_GETITEM
On_AGETITEM
On_PUTITEM
On_SYNCPUTITEM
On_RESPAWNITEM
7 years ago
Sergey Semushin
0a77e3e0d4
hellfire: CheckQuestItem: bin exact.
7 years ago
Sergey Semushin
848337867b
Apply clang-format on inv.cpp
7 years ago
Sergey Semushin
4e56571f11
hellfire: inv_420FD0: bin exact.
...
Function is essentialy item clean up with some strange moving of gold
which may overflow InvList.
7 years ago
Sergey Semushin
4751fb14a0
hellfire: inv_update_rem_item: bin exact
7 years ago
Sergey Semushin
bc813463a1
hellfire: CheckInvCut: bin exact
7 years ago