Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
Anders Jenbo
9150cb71a6
Clean up WitchBuyItem
5 years ago
Anders Jenbo
804071652b
Clean up HealerBuyItem
5 years ago
Anders Jenbo
ce1cc24e04
[hellfire] S_HealerEnter
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
34e526d4a9
Fix OOB in stores ( #2123 )
6 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
pionere
f0a51ccf65
use defs instead of literals
6 years ago
Anders Jenbo
567a086ce1
Fix game speed affecting menu animations
...
Fixes #525
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
Tyler
ecde1f647e
Adjust UI to any resoution
6 years ago
Tyler
c803c6aa66
Calculate position of screen elements
6 years ago
luk
f98651d1b8
implement variable game speed #525
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Robin Eklind
6448f7901b
stores: add bugfix comment for DrawSLine
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
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
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
a37b983863
[hellfire] InitStores
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
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
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
5d57c3cb9c
[hellfire] SetupTownStores and SmithBuyPItem ( #1950 )
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
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Mathieu Maret
e79b1afe84
Fix S_TalkEnter
...
To mirror commit 1c9801986c559417b7889708b2ce9cc2e27d9ba9: "Fix
S_StartTalk"
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
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
Anders Jenbo
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
6 years ago
Anders Jenbo
da679a66a6
Convert inc file to a function
6 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
6 years ago
Anders Jenbo
40cb1c01f0
Calcualte SStringY instead of using a prebaked table
6 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
6 years ago