DarkflameServer/dGame/dComponents
David Markowitz c7c84c21ef
feat: partially functioning property behavior ui (no saving or loading yet) (#1384)
* Add addstrip handling

add SendBehaviorBlocksToClient serialization
add id generation and auto updating
add behaviorlisttoclient serialization

* fix crash

happened if you added state 0 and 6 and nothing in between

* Section off code

Use proper encapsulation to hide code away and only let specific objects do certain jobs.

* Organize serialization

Section off into operational chunks
Write data at the level most appropriate

* Remove and simplify BlockDefinitions

Remove pointer usage for BlockDefinitions and move to optional.

* ControlBehaviors: Add addaction handling

* re-organization

remove const from return value
change to int from uint
use generic methods to reduce code clutter

* add strip ui position handling

* add split strip functionality

* fix issues

fix an issue where if you were on an empty state, the server would allow you to remain on that state
fix an issue where the ui would not open on the previously opened state
fix an issue where deleting strips in order caused the wrong strips to be deleted

* update how you remove behaviors from models

* Add remove actions and rename

* migrate actions

* update action and rearrange strip

* merge strips

* add and move to inventory

* Remove dead code

* simplify code

* nits and move finish MoveToInventory

constify serialize

further include path fixes

use const, comments

fix amf message

Update ModelComponent.cpp

replace operator subscript with at

* Update ModelComponent.cpp

* Update MigrateActionsMessage.h

* const

* Move to separate translation units

* include amf3

its precompiled, but just in case
2024-01-03 07:34:38 -06:00
..
AchievementCacheKey.h cleanup enums to make them more consistent 2023-01-22 17:38:47 -06:00
ActivityComponent.cpp feat: Bump standard to 20 (#1376) 2024-01-02 07:53:00 +00:00
ActivityComponent.h chore: make scripted activity derived from activity (#1363) 2023-12-28 19:11:19 -06:00
BaseCombatAIComponent.cpp chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06: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 feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
BouncerComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05:00
BuffComponent.cpp crash and log fix (#1382) 2024-01-03 06:52:11 +00: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: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
CharacterComponent.h chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
CMakeLists.txt chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -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 chore: Make serialize actually virtual (#1156) 2023-08-10 14:33:15 -07: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 chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -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 chore: rename VehiclePhysics to HavokVehiclePhysics (#1331) 2023-12-04 09:20:41 -06:00
InventoryComponent.cpp chore: rename VehiclePhysics to HavokVehiclePhysics (#1331) 2023-12-04 09:20:41 -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: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06:00
PetComponent.h chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -06: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 chore: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -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: Eradicate C-style casts and further clean up some code (#1361) 2023-12-27 22:18:20 -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: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
QuickBuildComponent.h chore: rename rebuild to quickbuild (#1364) 2023-12-28 22:24:30 -06:00
RacingControlComponent.cpp feat: Bump standard to 20 (#1376) 2024-01-02 07:53:00 +00: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 feat: Abstract Logger and simplify code (#1207) 2023-10-21 16:31:55 -07:00
RenderComponent.h feat: Add isolated and simplified path to add components (#1204) 2023-10-22 20:08:49 -05: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