DarkflameServer/dGame/dComponents
David Markowitz 929d029f12
chore: Simplify and move Player functionality to relevant component (#1408)
* Moving and organizing Player code

- Move code to CharacterComponent
- Remove extraneous interfaces
- Simplify some code greatly
- Change some types to return and take in const ref (only structs larger than 8 bytes benefit from this change.)
- Update code to use CharacterComponent for sending to zone instead of Player*.

* Moving and organizing Player code

- Move code to CharacterComponent
- Remove extraneous interfaces
- Simplify some code greatly
- Change some types to return and take in const ref (only structs larger than 8 bytes benefit from this change.)
- Update code to use CharacterComponent for sending to zone instead of Player*.
- Remove static storage container (static containers can be destroyed before exit/terminate handler executes)

* remove player cast

* Remove extra includes
2024-01-12 11:39:51 -06:00
..
AchievementCacheKey.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
ActivityComponent.cpp chore: update noninformative comments to be informative (#1407) 2024-01-10 20:57:41 -08:00
ActivityComponent.h fix: activity id not using overridden id (#1400) 2024-01-07 07:43:53 -06:00
BaseCombatAIComponent.cpp chore: Assorted pet improvements (#1402) 2024-01-08 15:32:09 -08:00
BaseCombatAIComponent.h chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
BouncerComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
BouncerComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
BuffComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
BuffComponent.h crash and log fix (#1382) 2024-01-03 06:52:11 +00:00
BuildBorderComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
BuildBorderComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
CharacterComponent.cpp chore: Simplify and move Player functionality to relevant component (#1408) 2024-01-12 11:39:51 -06:00
CharacterComponent.h chore: Simplify and move Player functionality to relevant component (#1408) 2024-01-12 11:39:51 -06:00
CMakeLists.txt fix: split apart big Cmake libraries (#1381) 2024-01-03 18:41:46 -06:00
CollectibleComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
CollectibleComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
Component.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
Component.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
ControllablePhysicsComponent.cpp feat: use more zoneTable options (#1273) 2023-11-14 07:02:17 -06:00
ControllablePhysicsComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
DestroyableComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
DestroyableComponent.h Adding damage cooldown/"invincibility frames" as in Live (#1276) 2023-11-12 05:53:03 -06:00
DonationVendorComponent.cpp refactor: Database abstraction and organization of files (#1274) 2023-11-17 18:47:18 -06:00
DonationVendorComponent.h chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
HavokVehiclePhysicsComponent.cpp chore: rename VehiclePhysics to HavokVehiclePhysics (#1331) 2023-12-04 09:20:41 -06:00
HavokVehiclePhysicsComponent.h Remove deps from dNet (#1401) 2024-01-07 08:05:57 +01:00
InventoryComponent.cpp chore: Simplify and move Player functionality to relevant component (#1408) 2024-01-12 11:39:51 -06:00
InventoryComponent.h feat: implement consume item behavior (#1098) 2023-11-14 19:38:52 -06:00
ItemComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
ItemComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
LevelProgressionComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
LevelProgressionComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
LUPExhibitComponent.cpp fix: LUP Exhibit component type and use delta compression on serialization (#1365) 2023-12-28 22:24:45 -06:00
LUPExhibitComponent.h fix: LUP Exhibit component type and use delta compression on serialization (#1365) 2023-12-28 22:24:45 -06:00
MinigameComponent.cpp chore: rename zonecontrolcomp to minigamecontrolcomp 2023-12-04 20:59:08 -06:00
MiniGameControlComponent.cpp chore: rename zonecontrolcomp to minigamecontrolcomp 2023-12-04 20:59:08 -06:00
MiniGameControlComponent.h chore: rename zonecontrolcomp to minigamecontrolcomp 2023-12-04 20:59:08 -06:00
MissionComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
MissionComponent.h fix: add Nexus Tower missing scripts (#1349) 2023-12-22 23:53:21 -08:00
MissionOfferComponent.cpp fix: mission offering (#1359) 2023-12-26 15:45:10 -08:00
MissionOfferComponent.h fix: mission offering (#1359) 2023-12-26 15:45:10 -08:00
ModelComponent.cpp feat: partially functioning property behavior ui (no saving or loading yet) (#1384) 2024-01-03 07:34:38 -06:00
ModelComponent.h feat: partially functioning property behavior ui (no saving or loading yet) (#1384) 2024-01-03 07:34:38 -06:00
ModuleAssemblyComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
ModuleAssemblyComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
MovementAIComponent.cpp chore: Small movementAiComponent cleanup (#1145) 2023-08-03 21:38:04 -05:00
MovementAIComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
MovingPlatformComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
MovingPlatformComponent.h chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
MultiZoneEntranceComponent.cpp fix #1194 (#1196) 2023-09-19 05:59:02 -05:00
MultiZoneEntranceComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PetComponent.cpp chore: Assorted pet improvements (#1402) 2024-01-08 15:32:09 -08:00
PetComponent.h chore: Assorted pet improvements (#1402) 2024-01-08 15:32:09 -08:00
PhantomPhysicsComponent.cpp Remove std::couts littered throughout the base (#1313) 2023-11-21 18:04:23 -08:00
PhantomPhysicsComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PhysicsComponent.cpp chore: Physics Component abstraction and addition of tests (#1159) 2023-10-09 15:19:38 -05:00
PhysicsComponent.h chore: Physics Component abstraction and addition of tests (#1159) 2023-10-09 15:19:38 -05:00
PlayerForcedMovementComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PlayerForcedMovementComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PossessableComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PossessableComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PossessorComponent.cpp chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00
PossessorComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PropertyComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
PropertyComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PropertyEntranceComponent.cpp fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
PropertyEntranceComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
PropertyManagementComponent.cpp chore: Simplify and move Player functionality to relevant component (#1408) 2024-01-12 11:39:51 -06:00
PropertyManagementComponent.h properties: fix visiting multiple owned by same person (#1325) 2023-12-01 10:13:01 -06:00
PropertyVendorComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
PropertyVendorComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
ProximityMonitorComponent.cpp format codebase 2022-07-28 08:39:57 -05:00
ProximityMonitorComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
QuickBuildComponent.cpp chore: continue work on removing raw packet reading (#1404) 2024-01-07 02:02:27 -06:00
QuickBuildComponent.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
RacingControlComponent.cpp chore: Simplify and move Player functionality to relevant component (#1408) 2024-01-12 11:39:51 -06:00
RacingControlComponent.h fix: Racing end of race leaderboards now work (#1317) 2023-11-24 01:46:26 -08:00
RacingSoundTriggerComponent.h fix: Implement proper Sound trigger component serialization (#1160) 2023-08-06 15:38:12 -05:00
RacingStatsComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
RailActivatorComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
RailActivatorComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
RenderComponent.cpp chore: continue work on removing raw packet reading (#1404) 2024-01-07 02:02:27 -06:00
RenderComponent.h fix: make include paths consistent (#1390) 2024-01-05 06:33:52 -06:00
RigidbodyPhantomPhysicsComponent.cpp chore: Physics Component abstraction and addition of tests (#1159) 2023-10-09 15:19:38 -05:00
RigidbodyPhantomPhysicsComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
RocketLaunchpadControlComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
RocketLaunchpadControlComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
ScriptedActivityComponent.h chore: make scripted activity derived from activity (#1363) 2023-12-28 19:11:19 -06:00
ShootingGalleryComponent.cpp fix: shooting gallery bugs (#1347) 2023-12-23 17:50:14 +00:00
ShootingGalleryComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SimplePhysicsComponent.cpp feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SimplePhysicsComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SkillComponent.cpp chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
SkillComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SoundTriggerComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
SoundTriggerComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
SwitchComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
SwitchComponent.h chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
TriggerComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
TriggerComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
VendorComponent.cpp feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
VendorComponent.h chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07:00