-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Rewrite Entity Component System #1110
Draft
aronwk-aaron
wants to merge
122
commits into
main
Choose a base branch
from
components-wheeeee
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
c168f6c
Break out the model component
aronwk-aaron 5097862
Merge branch 'main' into item-component
aronwk-aaron 2ae9a92
fix cmake
aronwk-aaron c2d5be0
include
aronwk-aaron 5e9a956
Merge branch 'main' into item-component
aronwk-aaron 15988af
hey it compiles
aronwk-aaron 716a5fc
Rename some variables in Component
EmosewaMC ea9d0d8
I hope this works
EmosewaMC 9e9e4dc
Move to shared pointer
EmosewaMC d11e2db
update component names, document heirarchy
aronwk-aaron ec00f5f
holy mother of const
EmosewaMC 62aa863
Remove shared pointer, ODR of componentType variable
EmosewaMC e2dfa18
Replace all auto with auto*
EmosewaMC f555ba8
Rename from GetOwningEntity to GetParentEntity
EmosewaMC 6f05720
Rename some variables
EmosewaMC 5da776a
Add blank classes for some Components
EmosewaMC f2d28cc
Update CMakeLists.txt
EmosewaMC 0b37dc1
Update includes for propertyEnteranceComponent
EmosewaMC e3a716a
Further re-implement Entity::Initialize
EmosewaMC ddc5f0e
Merge branch 'main' into components-wheeeee
EmosewaMC a68fa69
Rename RebuildComponent to QuickbuildComponent
aronwk-aaron 1c23f3c
Add test for component Whitelists
EmosewaMC 2a27997
More robust tests
EmosewaMC 5714ac5
Use std algorithms
EmosewaMC cebe3c7
Update to actually work with component list
EmosewaMC b91f84d
Collectible, Item, further re-implement initialize
EmosewaMC 0b5df9f
Destroyable
EmosewaMC 77dc6ff
Continued re-integration of Entity::Initialize
EmosewaMC 5f139c7
Quickbuild and Destroyable reintegration
EmosewaMC b43e5c2
doesnt have a component
EmosewaMC f78ea1b
whitespace and comments in quickbuild
EmosewaMC fc719cb
Comment out done code
EmosewaMC 36c44ec
Fully re-implemented initialize
EmosewaMC 6f38a15
Minor formatting change
EmosewaMC 262b6eb
Remove old Entity Initialize
EmosewaMC 5be9146
Specify auto ptr
EmosewaMC 3f38105
Extra * on one auto
EmosewaMC f9ac0a9
few more pointer specifiers
EmosewaMC d224a86
Use only 1 script component per Entity
EmosewaMC 326c495
Use more clear control paths
EmosewaMC b2fee29
Better log and comment
EmosewaMC 45bcc80
doesnt compile
EmosewaMC e389a61
update heirarchy
aronwk-aaron d8e2e92
use get
EmosewaMC 31be1fb
remove script stuff
EmosewaMC fdd98ab
fix other script calls
aronwk-aaron 83065df
I havent checked if this compiled
EmosewaMC 451f7e7
switch to unique_ptrs for callback timers
EmosewaMC 355f4f4
Update Entity.cpp
EmosewaMC 2a8f40f
Finish file
EmosewaMC 4d57eff
Update includes
EmosewaMC 35e5d84
Remove empty destructors
EmosewaMC ea97596
Fix typo
EmosewaMC 9a9b9aa
Merge branch 'components-wheeeee' of https://github.com/DarkflameUniv…
EmosewaMC 9200612
Another consistency pass
EmosewaMC 8916482
Organize Entity header
EmosewaMC a992a28
Merge from upstream
EmosewaMC be17d1a
Update DestroyableComponent.cpp
EmosewaMC 68a5cc1
Use better API terminology for radii
EmosewaMC 1bdec00
More organization of header
EmosewaMC e180430
Finish header re-ordering
EmosewaMC dc96fcb
Vendor cleanup and start Donation Vendor impl
aronwk-aaron 907e045
some tweaks
aronwk-aaron c78760d
make inheritence clearer
aronwk-aaron f27e040
scaffold activity based components
aronwk-aaron bcbc588
Merge branch 'main' into components-wheeeee
aronwk-aaron 34d22d2
AchievementVendor scaffold
aronwk-aaron d153d66
Merge branch 'item-component' into components-wheeeee
aronwk-aaron d44b18e
rough logic around loading physics
aronwk-aaron c237c16
group physicstogether in heirarchy
aronwk-aaron 485a88d
move vars to be local
aronwk-aaron 3f328a1
Merge upstream ghosting candidate changes
EmosewaMC fee1025
Remove commented out logic, add ghosting exclusion
EmosewaMC 9121bf4
Entity work
EmosewaMC ec92782
Use better naming
EmosewaMC 34cfd45
CombatAI and Vendor
EmosewaMC a5611e9
Bouncer cleanup
EmosewaMC 06acd23
Use of final
EmosewaMC d29287f
Buff Component fixes
EmosewaMC 68f90b7
rename possessor to possession
aronwk-aaron fd182d2
Update activing and racing components
aronwk-aaron fdcfbde
BuildBorderCleanup
EmosewaMC d9a3bea
Merge branch 'components-wheeeee' of https://github.com/DarkflameUniv…
EmosewaMC 2abcb14
Character fixes - get it compiling again
EmosewaMC c6063aa
Component serialization updates
EmosewaMC 7c12659
move ctor to header for collectible
EmosewaMC 478b6ff
Move empty definitions to header
EmosewaMC f55bec0
Donation Component serialization
EmosewaMC c2fe7f6
HavokVehicleComponent improvements
EmosewaMC 0544eeb
Add default constructor for EquipmentItem
EmosewaMC 81404d9
InventoryComponent pass
EmosewaMC 6fb1786
Add component order array
aronwk-aaron c22040c
ItemComponent Pass
EmosewaMC 8ede5b8
Fix compilation error; add final specifiers
EmosewaMC cfec980
LevelProgressionComponent cleanup
EmosewaMC 68a2a04
LUPExhibitComponent cleanup
EmosewaMC 197d1bc
Merge branch 'main' into components-wheeeee
aronwk-aaron 950a1fe
MissionComponent pass
EmosewaMC 001f6a7
MissionOfferComponent pass
EmosewaMC 5301346
ModelBehaviorComponent pass
EmosewaMC cf53e35
SwitchComponent pass
EmosewaMC 28fbe20
ModuleAssemblyComponent pass
EmosewaMC 790bd6c
Merge branch 'components-wheeeee' of https://github.com/DarkflameUniv…
EmosewaMC 1b7be5d
Merge branch 'components-wheeeee' of https://github.com/DarkflameUniv…
EmosewaMC 2528e02
add final
EmosewaMC 8a512e5
MovementAiComponent pass
EmosewaMC d2a7e14
I am throwing this one out later.
EmosewaMC 7ca9e59
MultiZoneEntranceComponent pass
EmosewaMC 83780af
MutableModelBehaviorComponent pass
EmosewaMC 87675aa
PetComponent pass
EmosewaMC 28637a2
PhantomPhysicsComponent pass
EmosewaMC 598d88b
PlayerForcedMovementComponent pass
EmosewaMC fe6b279
PossessableComponent pass
EmosewaMC 59831fc
PhantomPhysicsComponent pass
EmosewaMC 4d88f63
PossessionComponent pass
EmosewaMC 37bcc81
PropertyComponent pass
EmosewaMC 8678ed0
push no pass
EmosewaMC a37ec32
idek if ill keep this but yeah
EmosewaMC c204ea4
PropertyVendorComponent pass
EmosewaMC 49f3d75
ProximityMonitorComponent re-pass
EmosewaMC 949a6db
RailActivatorComponent pass
EmosewaMC 6240eef
local work
EmosewaMC File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've wondered, does this need to talk to the Player Forced movement component. that has two bools that are serialized ("is on rail" and "show billboard"), which this has vars for