David Cernat
43f195f0c7
[Client] Use clearer debug for actor initializations
6 years ago
David Cernat
09da24f1ea
[General] Rename all instances of refNumIndex into refNum
...
This creates symmetry with mpNum and should cause less confusion in the future.
7 years ago
David Cernat
6316f1e590
[Client] Add ActorList methods for sending ActorAI packets
...
Additionally, use consistent capitalization for AI-related methods.
7 years ago
David Cernat
7e90d1f2a4
[Client] Fix interior-to-exterior and v.v. cell transitions for actors
...
Make sure only players who are cell authorities can get actors to teleport across cells for them, and display a message box for players who are not cell authorities.
7 years ago
David Cernat
77389538e8
[General] Implement ActorAI packet, part 1
...
The server can now make actors become followers of players or other actors.
7 years ago
David Cernat
d8b48f6cf4
[Client] Remove redundant container methods from CellController
7 years ago
David Cernat
66078bfea7
[General] Implement Mark location sync as part of PlayerMiscellaneous
7 years ago
David Cernat
4a9a628a0f
[Client] When getting an actor, make sure their cell is initialized
7 years ago
David Cernat
711c4d83da
[Client] Fix build after recent OpenMW changes to GUI
7 years ago
Koncord
52349278e9
[Client] Fix warnings
8 years ago
Koncord
5b2cab4c6b
[General] Change NULL to nullptr
8 years ago
Koncord
0ed0d2417b
[Client] Make foreach style consistent with other
8 years ago
Koncord
7499777b3a
[Client] Update CellController to C++11
8 years ago
David Cernat
2e45203bbb
[Client] Clean up mapIndexes in CellController
8 years ago
David Cernat
73b9683182
[General] Make most ActorPackets smaller by not including refIds in them
8 years ago
David Cernat
4f273932af
[General] Implement sending and reading of ActorEquipment packets
8 years ago
David Cernat
8d41a0c53b
[Client] Make LocalActor initialization include newly spawned Actors
8 years ago
David Cernat
c3c04bbfc3
[General] Make coding style consistent
8 years ago
Koncord
eda74ddf44
[Client] Fix memory leaks
8 years ago
David Cernat
f6a218025a
[Client] Fix actor memory leaks, part 1
8 years ago
David Cernat
a12694c6ef
[Client] Fix crash caused by late-arriving ActorAuthority packets
8 years ago
David Cernat
14e1ff27cb
[Client] Rename CellController's cellsActive to cellsInitialized for clarity
8 years ago
David Cernat
871d8c8308
[Client] Send and read ActorCellChange packets
8 years ago
David Cernat
87ada3e763
[Client] Add CellController::isSameCell() and use it in LocalPlayer
8 years ago
David Cernat
6aa0fa85ab
[Client] Send and read ActorAttack packets
8 years ago
David Cernat
61cedfa192
[Client] Add CellController methods to fetch Actors without needing Ptrs
8 years ago
David Cernat
f0f0b2dcc9
[General] Send and read ActorSpeech packets
8 years ago
David Cernat
1fb11dafef
[General] Send and read ActorStatsDynamic packets
8 years ago
David Cernat
2872675f5e
[General] Send and read ActorAnimPlay packets
8 years ago
David Cernat
5c1d7f614a
[Client] Rename readDrawStates() into readAnimFlags()
8 years ago
David Cernat
d2fe777f89
[General] Send and read ActorDrawState packets
8 years ago
David Cernat
15f91e7825
[Client] Add CellController methods for getting and checking Cells
8 years ago
David Cernat
69f820f3a0
[Client] Rename CellController's getCell() into getCellStore()
8 years ago
David Cernat
d14102716d
[Client] Retool LocalActors and DedicatedActors for ActorPosition packet
8 years ago
David Cernat
c52084a028
[General] Use BaseActorLists in ActorPackets
8 years ago
David Cernat
0ccbe70e61
[Client] Rename methods to make their purpose clearer
8 years ago
David Cernat
b883b4c7ce
[Client] Reorder includes
8 years ago
David Cernat
3d6dc74bdc
[Client] Fix logic for mwmp::Cell initialization
8 years ago
David Cernat
5b43e62c50
[Client] Make it possible to get DedicatedActor from CellController
8 years ago
David Cernat
1101ff1e28
[Client] Update DedicatedActors every frame to allow interpolation
8 years ago
David Cernat
ae92117d21
[Client] Add missing return
8 years ago
David Cernat
18be1880f0
[Client] Make it possible to get LocalActor from CellController
8 years ago
David Cernat
10be52d40d
[Client] Add localActorsToCells map to more easily find LocalActors
8 years ago
David Cernat
e89265e469
[Client] Turn CellController's cellsActive into a map instead of a deque
8 years ago
David Cernat
e8638d9884
[Client] Add basic position sync for NPCs
8 years ago
David Cernat
d4a12856ee
[Client] Enable AI for LocalActors
8 years ago
David Cernat
0d766a7a04
[Client] Add and use mwmp::Cell class
8 years ago
David Cernat
9beaf9b7a1
[Client] Initialize and update LocalActors while their cells are active
8 years ago
David Cernat
679e790d8d
[Client] Rename WorldController into CellController to avoid confusion with Networking's WorldPacketController
8 years ago