EmosewaMC
4d57eff946
Update includes
2023-06-15 02:28:27 -07:00
EmosewaMC
2a8f40f8e8
Finish file
2023-06-15 02:13:25 -07:00
EmosewaMC
355f4f4df8
Update Entity.cpp
2023-06-14 23:17:30 -07:00
EmosewaMC
451f7e76d7
switch to unique_ptrs for callback timers
2023-06-14 23:16:31 -07:00
EmosewaMC
83065dfb6f
I havent checked if this compiled
2023-06-14 19:01:31 -07:00
Aaron Kimbre
fdd98ab825
fix other script calls
2023-06-13 22:01:51 -05:00
David Markowitz
31be1fbe4c
remove script stuff
2023-06-13 19:55:27 -07:00
David Markowitz
d8e2e92428
use get
2023-06-13 19:47:14 -07:00
Aaron Kimbre
e389a619ad
update heirarchy
2023-06-13 10:31:39 -05:00
David Markowitz
45bcc80a1b
doesnt compile
2023-06-12 15:32:46 -07:00
David Markowitz
b2fee29ee0
Better log and comment
2023-06-12 04:37:38 -07:00
David Markowitz
326c495776
Use more clear control paths
2023-06-12 04:27:14 -07:00
David Markowitz
d224a86e93
Use only 1 script component per Entity
...
Serialization won't make sense if we allow two of the same component like that
2023-06-12 04:13:06 -07:00
David Markowitz
f9ac0a9dec
few more pointer specifiers
2023-06-12 04:04:45 -07:00
David Markowitz
3f3810519d
Extra * on one auto
2023-06-12 04:01:45 -07:00
David Markowitz
5be9146662
Specify auto ptr
2023-06-12 04:00:44 -07:00
David Markowitz
262b6ebb58
Remove old Entity Initialize
2023-06-12 03:55:07 -07:00
David Markowitz
6f38a150d3
Minor formatting change
2023-06-12 03:47:57 -07:00
David Markowitz
36c44ecc83
Fully re-implemented initialize
2023-06-12 01:29:43 -07:00
David Markowitz
fc719cbb0a
Comment out done code
2023-06-11 04:46:22 -07:00
David Markowitz
f78ea1bbc9
whitespace and comments in quickbuild
2023-06-11 04:40:19 -07:00
David Markowitz
b43e5c2165
doesnt have a component
2023-06-11 04:39:28 -07:00
David Markowitz
5f139c75e0
Quickbuild and Destroyable reintegration
2023-06-11 04:37:53 -07:00
David Markowitz
77dc6ff312
Continued re-integration of Entity::Initialize
2023-06-11 03:06:18 -07:00
David Markowitz
0b5df9f0b1
Destroyable
2023-06-10 05:10:00 -07:00
David Markowitz
b91f84d884
Collectible, Item, further re-implement initialize
2023-06-10 04:46:48 -07:00
David Markowitz
cebe3c732a
Update to actually work with component list
2023-06-10 00:14:20 -07:00
David Markowitz
5714ac558e
Use std algorithms
2023-06-10 00:03:07 -07:00
David Markowitz
2a2799793d
More robust tests
2023-06-09 23:05:44 -07:00
David Markowitz
1c23f3c030
Add test for component Whitelists
2023-06-09 23:02:28 -07:00
Aaron Kimbre
a68fa69e7a
Rename RebuildComponent to QuickbuildComponent
2023-06-09 17:12:57 -05:00
David Markowitz
ddc5f0e117
Merge branch 'main' into components-wheeeee
2023-06-09 04:05:55 -07:00
David Markowitz
e3a716a9cf
Further re-implement Entity::Initialize
...
wheee
2023-06-09 04:05:04 -07:00
David Markowitz
0b37dc1e4d
Update includes for propertyEnteranceComponent
...
Class must be complete to be used in a MoveAssignment
2023-06-09 04:03:58 -07:00
David Markowitz
f2d28cc0bd
Update CMakeLists.txt
2023-06-09 04:02:45 -07:00
David Markowitz
5da776a084
Add blank classes for some Components
...
Racing Stats
Minigame Control
2023-06-09 04:02:40 -07:00
David Markowitz
6f057204be
Rename some variables
...
- Add order for loading Components
- Enforce all components have Entity* in the first argument
2023-06-09 02:46:01 -07:00
David Markowitz
f555ba8c25
Rename from GetOwningEntity to GetParentEntity
2023-06-09 01:28:01 -07:00
David Markowitz
e2dfa1809d
Replace all auto with auto*
...
For components
2023-06-09 01:27:05 -07:00
David Markowitz
62aa863997
Remove shared pointer, ODR of componentType variable
2023-06-09 01:22:45 -07:00
EmosewaMC
ec00f5fd9d
holy mother of const
...
Use const everywhere that makes sense
return const variables when it makes sense
const functions and variables again, where it makes sense
No raw access and modifications to protected members
Move template definitions to tcc file
idk how I feel about this one
2023-06-09 01:04:42 -07:00
Aaron Kimbre
d11e2db887
update component names, document heirarchy
2023-06-08 10:29:17 -05:00
David Markowitz
9e9e4dc087
Move to shared pointer
2023-06-07 00:23:50 -07:00
David Markowitz
12d7ab9034
Remove null check in GetPosition ( #1109 )
...
Get ready for null pointer errors
2023-06-06 22:48:41 -07:00
David Markowitz
ea9d0d8592
I hope this works
2023-06-06 20:48:30 -07:00
David Markowitz
716a5fcf37
Rename some variables in Component
...
And add more virtuals
2023-06-06 18:59:53 -07:00
David Markowitz
b589755655
Fix out of bounds access in dpGrid ( #1106 )
...
Fixes an issue where we would try to access an array out of the physics bounds
2023-06-03 16:28:27 -07:00
David Markowitz
8ae1e1bc6b
Fix: remove ability to buy items from a vendor if they don't sell said item ( #1105 )
2023-06-03 00:40:46 -07:00
David Markowitz
9fabff16e4
Update AMFDeserialize ( #1096 )
...
Per ISO C++ standard 9.7.1 5.3,
"Otherwise the type of the enumerator is the same as that of the preceding enumerator unless the
incremented value is not representable in that type, in which case the type is an unspecified integral
type sufficient to contain the incremented value. If no such type exists, the program is ill-formed."
it is not undefined behavior to set a scoped enum to a value outside of its constant range because all values of the underlying type can represent the scoped enum
2023-06-02 06:44:49 -05:00
David Markowitz
e47169fec5
Fix: Some platforms not using the same RNG for every roll ( #1103 )
...
* Test changes
* Update ObjectIDManager.h
* Revert "Update ObjectIDManager.h"
This reverts commit 3e4d169718
.
* Revert "Test changes"
This reverts commit 8e16573f93
.
* Use random engine
2023-05-26 23:22:31 -05:00