Anders Jenbo
e636376acd
[diablo] 🐛 Reset the Black Mushroom dialogs between sessions
...
Pepin will be to eager to speak about this quest if the previous session
had gotten to stage 2 of the quest (but not compleated it).
5 years ago
Anders Jenbo
d6ec6395e0
♻️ change QuestTalkData in to an array of _speech_id
...
This gets rid of casting QuestTalkData to DWORD/int in various parts of
the code.
5 years ago
Robin Eklind
0d3c3d19c9
towners: add BUGFIX for ProcessTowners
...
Only active towners should be processed in ProcessTowners, not
the entire array. For reference logic see GetActiveTowner.
5 years ago
Andi
7368778cb2
Remove items dropping before entering level ( #1010 )
5 years ago
Anders Jenbo
39999791b3
Revamp ini options and sync in multiplayer
...
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!
[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0
[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1
[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1
[Diablo]
Intro=0
[Hellfire]
Intro=0
SItem=
[Phone Book]
Entry1=127.0.0.1
[Network]
Bind Address=0.0.0.0
5 years ago
Anders Jenbo
f87bc0ca8b
Clea up some duplicate item code
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
qndel
c0f5749728
Fix RNG diverging during level generation depending on the code path
...
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
5 years ago
Anders Jenbo
1117412fd2
Handle inactive towners
5 years ago
Anders Jenbo
adf5f8f504
Clean up hellfire related code
5 years ago
Anders Jenbo
a1281d8b54
[hellfire] Fix bugs related to using the wrong player index
...
- Firewall damage was incorrect for player 0 (host or single player)
- Town Shrine would always cast TP from the host instead of the user
- Oily Shrine and Sparkling Shrine would cast there traps as player 0
- The farmer would always think he was talking to the local player
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
f1dcc93365
[hellfire] Fix Bard and Barbarian talking to cows
...
Also fix monk pain sound during Blodboil spell
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
55cd299d75
Reorder towners.cpp
5 years ago
Anders Jenbo
2867b811c0
Fix incorrectly mapped functions in hellfire
5 years ago
Anders Jenbo
46e3216aac
Remove unused code
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
Anders Jenbo
39e3de683d
[hellfire] TalkToTowner
5 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
Anders Jenbo
2ec7c78eae
Format source
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
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
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
Robin Eklind
27b40436a9
Use pointers instead of references for Devilution exported API
...
With this change, all exported declarations of Devilution are now
compatible with the C-ABI; that is, all declarations of Source/*.h.
This makes it possible to link against DevilutionX from mods written in
other languages than C++, for instance Rust, Go or Python.
Updates #612 .
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
cbacbe88dd
Fix 1.09 diff
6 years ago
Anders Jenbo
bf89572183
[hellfire] Fix 1.09 build
6 years ago
Anders Jenbo
8baf860e95
[hellfire] TalkToTowner
6 years ago
Anders Jenbo
e3e7451a84
[hellfire] SpawnLoot
6 years ago
Anders Jenbo
dad6d418e3
[hellfire] Rename item spawn functions
6 years ago
Anders Jenbo
edb6badd43
Fix spawn
6 years ago
Anders Jenbo
14aab09dee
[hellfire] TalkToTowner and CreateAmulet ( #1966 )
...
* [hellfire] CreateAmulet
* [hellfire] TalkToTowner
6 years ago
qndel
f57af2fa7d
tMsgSaid type change
6 years ago
Anders Jenbo
b8971057a2
[hellfire] TownDead
...
Also add a missing bit from TalkToTowner
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
a7c8750e92
[hellfire] Add QuestTalkData data
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
galaxyhaxz
80840b4d69
PlrHasItem: change pointer to reference
6 years ago
Anders Jenbo
d2b1f0cfc8
Apply the Cel helper functions in a few more places
7 years ago
Anders Jenbo
da78f54712
Apply plr_class
7 years ago