obligaron
|
cd840513b9
|
Introduce Player::isLevelOwnedByLocalClient
|
2024-01-12 00:35:40 +01:00 |
|
obligaron
|
b42b72221f
|
Use PlayerAtPosition at more places
|
2023-12-05 20:40:30 +01:00 |
|
obligaron
|
fae6b3d817
|
Change Player::getId() and MyPlayerId to uint8_t
|
2023-12-05 19:05:08 +01:00 |
|
obligaron
|
f445bb4ef8
|
Change CastSpell to Player reference
|
2023-12-02 12:57:34 +01:00 |
|
obligaron
|
75f68e1b8f
|
Introduce Player::occupyTile
|
2023-11-26 23:38:34 +01:00 |
|
obligaron
|
79a43dc1de
|
Introduce AddMissile overloads specific for player and monster
|
2023-11-26 13:36:28 +01:00 |
|
ephphatha
|
3b458376bb
|
Use a pointer to a player instance instead of network id for cursor hovering
|
2023-11-09 17:40:50 +01:00 |
|
Anders Jenbo
|
bb2e189327
|
Convert _sfx_id in to class enum
|
2023-11-02 14:34:24 +01:00 |
|
staphen
|
b82081d883
|
Prevent softlock when removing Auric Amulet
|
2023-10-01 17:44:28 +02:00 |
|
KPhoenix
|
fec9bc7f40
|
Bugfix: Speed spell on item swap
|
2023-09-25 02:02:44 +02:00 |
|
ephphatha
|
4e6517e54c
|
load starting loadout dynamically
|
2023-09-20 05:49:54 +02:00 |
|
ephphatha
|
56a6889225
|
Use generic code to create starting items for new characters
|
2023-09-20 05:49:54 +02:00 |
|
ephphatha
|
6a8f4b12da
|
Get base block bonus from data struct instead of storing a copy
|
2023-09-20 05:49:54 +02:00 |
|
ephphatha
|
5d50b5520d
|
Add PlayerData lookup helper to avoid manual casts
This lets us remove the PlayersData global, and we can use a helper in the player class for convenience.
|
2023-09-20 05:49:54 +02:00 |
|
ephphatha
|
78529414fb
|
Move asset path to PlayersSpriteData
It's closely related to the values in that table so seems a better fit than PlayerData
|
2023-09-20 05:49:54 +02:00 |
|
Gleb Mazovetskiy
|
e090c8bf31
|
Extract some player attributes to data files
|
2023-09-17 14:49:12 +01:00 |
|
DakkJaniels
|
ef87664403
|
refactor cleaving: added in player method to determine if character can cleave and if an item is equipped.
|
2023-09-02 06:51:15 +02:00 |
|
Andrew James
|
ed9bdd7ae5
|
Remove duplicated HeadlessMode check in LoadPlrGfx
Already checked at the start of the function, none of the sprite data lookups change that global.
|
2023-08-30 13:25:26 +02:00 |
|
Gleb Mazovetskiy
|
62e9aa0448
|
MissilePosition: Use WorldTilePosition
Reduces struct size and makes the types of coordinates more obvious.
|
2023-08-29 20:00:54 +01:00 |
|
Anders Jenbo
|
15ed246239
|
Merge branch 'master' of github.com:diasurgical/devilutionX into development
|
2023-08-26 01:09:03 +02:00 |
|
Eric Robinson
|
9277aa72de
|
Fix Floating Numbers after death (#6505)
|
2023-08-26 01:06:10 +02:00 |
|
ephphatha
|
8ed451b051
|
Move AddPlrExperience to class member function of Player
|
2023-08-24 05:46:44 +02:00 |
|
ephphatha
|
e6890cc5cc
|
Move MaxCharacterLevel to playerdat and add helpers for the various uses
|
2023-08-24 05:46:44 +02:00 |
|
ephphatha
|
14639cd096
|
Replace _pNextExper with getter method
No real need to persist this value
|
2023-08-24 05:46:44 +02:00 |
|
ephphatha
|
da76e131e4
|
Add getter/setter for character levels to ensure _pNextExper stays synced
|
2023-08-24 05:46:44 +02:00 |
|
ephphatha
|
d92d152576
|
Use unsigned type for character levels
|
2023-08-24 05:46:44 +02:00 |
|
ephphatha
|
486f5ca3e8
|
Replace ExpLvlsTbl global with helper function
|
2023-08-24 05:46:44 +02:00 |
|
staphen
|
ab1af87bc9
|
Fix issues with light offset calculation
|
2023-08-17 11:07:28 +02:00 |
|
Gleb Mazovetskiy
|
8c1a847f41
|
Remove utils/stdcompat/string_view.hpp
|
2023-08-14 09:59:14 +01:00 |
|
Gleb Mazovetskiy
|
c19bfe87fa
|
Remove utils/stdcompat/algorithm.hpp
|
2023-08-14 01:54:29 +01:00 |
|
Gleb Mazovetskiy
|
62d067b653
|
Remove utils/stdcompat/abs.hpp
|
2023-08-14 01:54:29 +01:00 |
|
staphen
|
69c4fde052
|
Don't use walk animation as preview frame for standing attack
|
2023-08-12 18:47:55 +02:00 |
|
Eric Robinson
|
7f2010f77b
|
Level Up Sound (#6275)
|
2023-08-12 18:13:01 +02:00 |
|
ephphatha
|
4e3f46603a
|
Remove unused attribute _pMaxLvl
|
2023-08-12 17:43:30 +02:00 |
|
Gleb Mazovetskiy
|
65fc1008c6
|
player.cpp: Avoid redundant copies of PlayerData
Follow-up to #6288
|
2023-07-10 10:25:56 +09:00 |
|
Eric Robinson
|
a2af3b5942
|
Refactor CreatePlayer() (#6288)
|
2023-07-10 02:28:02 +02:00 |
|
Anders Jenbo
|
63277a842d
|
Clean up player packing
|
2023-06-24 04:18:14 +02:00 |
|
qndel
|
ddd0f1b051
|
dont always force staff recharge to change spell
|
2023-05-28 16:09:01 +02:00 |
|
obligaron
|
e94deb7438
|
Sync Defiler Quest
|
2023-05-28 01:51:56 +02:00 |
|
qndel
|
df8362a1cd
|
fix walking animation getting stuck
|
2023-05-19 22:06:21 +02:00 |
|
qndel
|
c362808165
|
debug path command (#6101)
|
2023-05-13 10:20:15 +01:00 |
|
ephphatha
|
03e35988f1
|
Dedupe OnRespawnItem/OnSpawnItem
Both methods were exactly the same apart from the use of temporaries for swapped message params.
|
2023-05-07 13:33:40 +02:00 |
|
Anders Jenbo
|
b7424a0068
|
Clean up PmChangeLightOff()
|
2023-04-30 01:03:34 +02:00 |
|
Anders Jenbo
|
5a12f7b0d5
|
Always spawn players in a valid location
|
2023-04-29 15:34:41 -04:00 |
|
 Anders JenboandStephen C. Wills
|
4c51e15f26
|
Update Source/player.cpp
Co-authored-by: Stephen C. Wills <[email protected]>
|
2023-04-26 03:14:34 +02:00 |
|
Anders Jenbo
|
45c0b780b9
|
Move back to an exhaustive clearing of players from the current level
|
2023-04-26 03:14:34 +02:00 |
|
obligaron
|
7985a9211d
|
Change Player::_pSplLvl to uint8_t
|
2023-04-24 18:19:27 +02:00 |
|
Anders Jenbo
|
e969a8ad01
|
Invert player to vision relation
|
2023-04-21 21:25:19 +02:00 |
|
Anders Jenbo
|
13c5c09990
|
Clean up Light related naming
A few are left unchanged as they will be removed in a later commit
|
2023-04-21 21:25:19 +02:00 |
|
DakkJaniels
|
24bb409086
|
Remove extra entry in experience level table and cap experience at level 50 requirement (#5782)
|
2023-04-18 03:10:14 +02:00 |
|