Anders Jenbo
711665ee96
Assign correct data types
6 years ago
Anders Jenbo
10febf7e15
Decompose a few numbers
6 years ago
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
6 years ago
Anders Jenbo
0a1b4d347c
Create defines for spell icons
...
This will avoids a lot of Hellfire ifdef and generally makes the
caluclations cleaner
6 years ago
Anders Jenbo
c540f74709
Clean up calls to WriteFile
6 years ago
Anders Jenbo
0f514f25de
Apply WinAPI enums and macros
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
660405505f
Remove C compat
...
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
6 years ago
Anders Jenbo
95a3aa985a
Fix byte shift
...
There is no issue associated with this for the vanila game as all skills
are within the first 32 spells.
This fix can also be found in Hellfire.
6 years ago
qndel
f35c955e36
[hellfire] S_StartBBoy bin exact
6 years ago
qndel
19ec9622f5
[hellfire] S_StartWRecharge bin exact
6 years ago
qndel
408780458a
[hellfire] S_StartSRepair bin exact
6 years ago
qndel
4ecc2090d9
[hellfire] S_StartWSell bin exact
6 years ago
qndel
48739cd1a2
[hellfire] S_StartSSell bin exact
6 years ago
qndel
540363493c
[hellfire] S_StartHealer bin exact
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
Anders Jenbo
312168d4c1
Reformat the .clang-format files
...
These files are YAML, changes to a more idiomatic YAML syntax
6 years ago
Anders Jenbo
68e1e618c9
Probe for null tiles and arches when applying anit-eflag rendered fix
6 years ago
qndel
ccb44d0c6e
[hellfire] S_BBuyEnter bin exact
6 years ago
qndel
3271bb1c2c
[hellfire] S_StartSIdentify bin exact
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
Anders Jenbo
af4ef7b19b
Fix rendering the ground part of foliage
6 years ago
Gleb Mazovetskiy
82845004cc
Ensure _HASH/BLOCKENTRY are 16-bytes and aligned
6 years ago
Anders Jenbo
a37b983863
[hellfire] InitStores
6 years ago
Anders Jenbo
f7e2283702
Reorder globals
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
ba084d25a6
[hellfire] PostOkMonst, PostOkMonst2, PostOkMonst3 and monster_posok
6 years ago
Anders Jenbo
86830baadc
[hellfire] CheckMonsterHit
6 years ago
Anders Jenbo
8491a67135
[hellfire] NetSendCmdMonDmg
6 years ago
Anders Jenbo
e7bd82b44a
A handful of param names and consts
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
Gleb Mazovetskiy
8e8e7307aa
codec.cpp codec_init_key: Minor clean-up
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
58e424412a
Better line drawing function ( #98 )
...
https://github.com/diasurgical/devilution/pull/1125#issuecomment-489474723
6 years ago
Anders Jenbo
e4df9319b0
Fix render order ( #639 )
6 years ago
Anders Jenbo
c677e783c5
Correct typo in error message
6 years ago
Robin Eklind
038666db18
nthread: add parameter name to nthread_handler
...
Fixes the following error when compiling as C with Clang:
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
Related to #2017 .
6 years ago
Anders Jenbo
5c02333fc0
Only log savegame read/write in debug mode
6 years ago
Robin Eklind
dce389599e
dthread: add parameter name to dthread_handler
...
This fixes a build error in dthread_handler when compiling as C.
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
6 years ago
Robin Eklind
f6e6b4b56f
dthread: use INFINITE enum for second argument to WaitForSingleObject
6 years ago
Robin Eklind
3130ae3593
codec: fix build error of codec.cpp when compiling as C
...
Prior to this commit, the following error was encountered when compiling
as C using Clang:
Source/codec.cpp:20:2: error: must use 'struct' tag to refer to type 'CodecSignature'
CodecSignature *sig;
^
struct
6 years ago
Anders Jenbo
c0e511265d
Fix Clang and MSVC builds
6 years ago
danie1kr
30576f0271
fix gpBufEnd problem (first cutscene not rendered) on 32bit architectures
...
Fixes #573
6 years ago
Anders Jenbo
48d0589db6
Correct line change in objdat.cpp
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Robin Eklind
68a8f07d2b
Document BUG in SetupAllItems when recreating unique items.
6 years ago
Anders Jenbo
d6f70c56ce
Format files
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
Anders Jenbo
ffb6de3f5a
Don't draw in to the panels
6 years ago
Anders Jenbo
21b62274b9
Document .SOL value tables
6 years ago