obligaron
|
19749420b5
|
Introduce Player::isOnActiveLevel
|
2022-06-18 17:05:30 +02:00 |
|
qndel
|
354e329644
|
Players[MyPlayerId] -> MyPlayer
|
2022-05-31 05:35:52 +02:00 |
|
obligaron
|
2b0b944afb
|
Manage friendly mode per player and sync state between clients
|
2022-05-20 22:46:48 +02:00 |
|
Anders Jenbo
|
c667e69554
|
[gamepad] Fix repeated spell casting getting stuck if there is no target
|
2022-04-13 04:52:49 +02:00 |
|
Anders Jenbo
|
66d7a3c222
|
[gamepad] Reuse repeat logic from mouse
|
2022-04-13 02:13:31 +02:00 |
|
obligaron
|
05dd2f9f90
|
Fix flash infinite casting: Add check for _pInvincible to RepeatMouseAction
|
2022-02-17 19:56:29 +01:00 |
|
qndel
|
0ccdf940f7
|
fix bounds checks (#3237)
|
2021-10-24 17:20:04 +02:00 |
|
qndel
|
f8cda02456
|
apply bounds check function
|
2021-10-12 01:18:28 +02:00 |
|
obligaron
|
0818c55b88
|
Holding mouse when shift is held shouldn't lock to a target (Spells)
|
2021-09-27 11:58:51 +02:00 |
|
Juliano Leal Goncalves
|
01823e1324
|
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
|
2021-08-30 06:45:51 +02:00 |
|
Juliano Leal Goncalves
|
bbf529c65a
|
🚚 Rename 'PlayerStruct' to 'Player'
|
2021-08-30 06:44:18 +02:00 |
|
obligaron
|
b7cdf1eb59
|
Fix floating Dialogs (Walking while in store)
|
2021-08-07 14:20:27 +02:00 |
|
Anders Jenbo
|
ab8afa7cd7
|
Fix edge cases in mouse action tracking code (#2452)
Fixes #2431
Also:
- Track spell targets
- Merge repeat walk in to the new repeat action code
- Avoid time based repeats (use action frame instead)
|
2021-07-25 03:57:42 +00:00 |
|
Anders Jenbo
|
4260d4cfcc
|
Add OperateObject to MouseAction
For continiously operate fountains etc
Fixes #1133
|
2021-07-19 02:47:58 +02:00 |
|
Anders Jenbo
|
f4897c3139
|
Clean up MouseAction code
|
2021-07-18 05:16:02 +02:00 |
|
obligaron
|
70db8456ba
|
Remove _pwtype and replace it with UsesRangedWeapon
|
2021-07-17 17:38:28 +02:00 |
|
Anders Jenbo
|
3ffedb7a69
|
💄 Apply code style to src
|
2021-07-17 16:57:21 +02:00 |
|
Anders Jenbo
|
b168773cc4
|
🚨 Fix clang warnings
|
2021-07-17 16:57:21 +02:00 |
|
FluffyQuack
|
ba60907853
|
Hold mouse button to keep attacking (Diablo 2-style) (#2349)
|
2021-07-16 15:01:01 +01:00 |
|
Anders Jenbo
|
96bf75b502
|
Rename player globals
|
2021-07-08 02:01:14 -07:00 |
|
Anders Jenbo
|
a7c7fa0030
|
Fully apply clang-tidy/format to all files
|
2021-07-03 16:41:43 -07:00 |
|
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 |
|