Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
2021-06-26 08:57:59 -07:00
Gleb Mazovetskiy
f9f301b054
🚚 engine.h: Extract Point, Direction, clamp
...
`engine.h` is getting quite bloated. Moves this code to their own files.
2021-06-21 01:36:20 -07:00
Trihedraf
f2186d4d10
Change Multiplier if RunInTown Enabled to Fix Stuttering.
2021-05-19 13:47:41 +02:00
obligaron
1c77a22735
Fix movement with hold mouse button and stand animation
2021-05-17 21:12:32 +02:00
obligaron
7b16fafbff
track_process: Player by reference
2021-05-17 21:12:32 +02:00
obligaron
4de25cd2ea
Introduce PlayerStruct.IsWalking()
2021-05-16 21:24:36 +02:00
obligaron
7ed009ecb7
Remove PlayerStruct.actionFrame and enable ADL for Walking/Run ( #1939 )
...
- Remove (unused) actionFrame for PM_DEATH
- Remove actionFrame for PM_SPELL
- Remove actionFrame for PM_WALK
- Remove actionFrame
2021-05-13 01:24:26 +02:00
Anders Jenbo
23cec61f15
🎨 Mark Points returned by GetTargetPosition as const
2021-05-02 15:41:25 +02:00
Anders Jenbo
654a2b8834
♻️ Clean up automap code
...
Use Point for x,y pairs. Make helpers for drawing door and squares
2021-05-02 15:27:38 +02:00
Anders Jenbo
5745f099ba
♻️ Use Point for positions in msg.cpp functions
2021-04-29 21:36:31 +02:00
Anders Jenbo
275404029e
♻️ Cleanup player temp variables
2021-04-24 17:07:07 +02:00
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
2021-04-24 04:46:08 +02:00
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
2021-04-23 02:48:25 +02:00
Anders Jenbo
97d7171123
🔥 Get rid of _ptargx/y
2021-04-21 03:55:27 +02:00
FluffyQuack
4f417d2fdc
Fix to one desync related to player movement (queuing moving after attacking).
2021-04-20 19:55:17 +02:00
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
2021-04-16 01:04:54 +02:00
Yuri Pourre
ed1ddfdece
Exposes player id from multi_send_packet
2021-04-14 17:36:31 +02:00
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
2021-04-06 15:21:25 +02:00
Anders Jenbo
630e507f63
🚚 Apply namespace
2021-04-06 15:21:25 +02:00
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
2021-03-01 11:52:26 +01:00
Anders Jenbo
3d93478a6c
Some additional clean up
2021-01-25 01:21:18 +01:00
Anders Jenbo
c54cc2013c
Calculate tick related values based on current game speed
2020-10-29 21:39:58 +01:00
Anders Jenbo
893efd51ea
Merge branch 'master' of github.com:diasurgical/devilution
2020-09-27 03:34:42 +02:00
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
2020-07-06 05:43:25 +02:00
Anders Jenbo
3227fea5c0
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-26 21:44:34 +02:00
Anders Jenbo
7e45f8bcc8
More cleanups
2020-04-26 21:33:56 +02:00
Anders Jenbo
3c5982083f
Merge branch 'master' of github.com:diasurgical/devilution
2020-04-06 12:05:13 +02:00
Anders Jenbo
711665ee96
Assign correct data types
2020-04-06 05:43:20 +02:00
Anders Jenbo
25993b4043
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-14 23:03:31 +01:00
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).
2020-02-14 13:12:54 +01:00
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
2020-02-01 13:56:08 +01:00
Robin Eklind
d16f603537
all: remove unused storm imports
...
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.
ref: diasurgical/devilution#1695 .
2019-09-20 11:05:25 +02:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
Anders Jenbo
87ea335ec4
Compile gamemenu.cpp, track.cpp & trigs.cpp as C ( #525 )
...
This enables processing pfile.h as a C header, this adds two minor
warnings to the compile process but should be fine (game works)
2018-12-30 03:27:03 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Andrew Dunstan
dea936a6a9
clean track.cpp
2018-10-11 23:56:55 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
2018-09-09 15:40:23 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
bcb3abe96b
Add files via upload
2018-06-06 21:27:39 -05:00