Commit graph

31 commits

Author SHA1 Message Date
gmriggs
9bf313773c Fixing gfxobj placement, Resolves #1125 (#1141)
* Fixing gfxobj placement

* Fixing Holtburg casino door
2018-12-15 14:18:25 -05:00
gmriggs
811956ef55
Updating particle system (#1089)
* Updating particle system

* Updating GetRandomStartTrans

* Updating IsParentLocal

* Reset lifetime
2018-11-08 14:43:38 -05:00
gmriggs
1e6af06ef6 Adding particle emitters (#1082) 2018-11-01 02:55:11 -04:00
gmriggs
4619970f80
Refactoring LandblockManager, improving VitalTick performance (#1079)
* Physics Cache cleanup (Mostly cosmetic)

* Vertex/Polygon/BSP CacneEnabled flags added, default to false

Testing results:

Debug mode, loading 31,329 landblocks (x = 0x20-0xD0, y = 0x20-0xD0)

With Vertex, Polygon & BSP Cache:
2018-10-25 10:05:12,121 DEBUG: Loaded Landblocks in 120.39 seconds
2018-10-25 10:05:12,218 DEBUG: 13759 MB used

2018-10-25 10:08:00,330 DEBUG: Loaded Landblocks in 101.11 seconds
2018-10-25 10:08:00,427 DEBUG: 13667 MB used

2018-10-25 10:13:08,448 DEBUG: Loaded Landblocks in 104.36 seconds
2018-10-25 10:13:08,507 DEBUG: 13666 MB used

With Vertex, Polygon & BSP Cache Disabled:
2018-10-25 10:17:55,339 DEBUG: Loaded Landblocks in 100.63 seconds
2018-10-25 10:17:55,404 DEBUG: 14175 MB used

2018-10-25 10:21:11,596 DEBUG: Loaded Landblocks in 89.23 seconds
2018-10-25 10:21:11,666 DEBUG: 14220 MB used

2018-10-25 10:27:22,145 DEBUG: Loaded Landblocks in 93.74 seconds
2018-10-25 10:27:22,200 DEBUG: 14206 MB used

* PhysicsCaches, remove redundant null check

* Improved GfxObjCache model

* DBObj Boxing/Unboxing improvements

* Add thread safety to GfxObjCache

* Landblock phsyics loading async

* Adding setup "caching"

* Redirecting properties to DatLoader

* Refactoring LandblockManager, resolving Physics Landblock loading bug

* Tabs vs. spaces

* Improving VitalTick performance

* Adding refactored AttributeFormula to CreatureSkill

* Disabling BSP cache
2018-10-28 09:56:48 -04:00
gmriggs
1db49dbd09
Refactor generators a bit, fixing some bugs with spawning/respawning items (#951) 2018-08-13 18:07:21 -04:00
gmriggs
772344276d
Adding physics entity cache system (#936)
* Adding physics entity cache system

* Fixing CullMode

* Cleanup

* Removing unused fields in PhysicsPart for server
2018-08-10 19:56:25 -04:00
gmriggs
31c84f4c9a
Adding physics enums (#891) 2018-07-24 04:23:14 -04:00
gmriggs
94687c951c Transitions, collision detection, and sliding with building exteriors / interiors (#721) 2018-04-04 19:03:36 -05:00
gmriggs
c61c5c2497 CylSphere testing, scenery collisions/sliding (#720) 2018-04-03 19:42:50 -05:00
gmriggs
62333cc6e5 Environment collision detection with PhysicsBSP (#705)
* Environment collision detection with PhysicsBSP

* Re-enabling tracking code

* Fixing LandOnSphere test
2018-03-27 13:54:23 -04:00
gmriggs
63ff51eca8 Basic collisions detected and exported (#693)
* Basic collisions detected and exported

* Updating Sphere tests
2018-03-20 02:45:41 -04:00
gmriggs
14ea83014f collision detection prereqs (#690) 2018-03-18 04:11:12 -04:00
gmriggs
3a6982c560 Physics testing, player moving across landscape at correct speeds (#687) 2018-03-15 03:34:01 -04:00
gmriggs
b781632800 Physics testing adjustments (#680) 2018-03-11 07:36:42 -05:00
gmriggs
14f698b09f Preparing initial physics system for testing environment (#678) 2018-03-07 06:02:38 -06:00
gmriggs
a5bb9f2e96 Adding Sequence methods (#673) 2018-03-05 20:52:41 -05:00
gmriggs
41c04c3bf9 Adding Frame, RawMotionState, ObjectInfo, MovementSystem, MovementParameters, InterpretedMotionState, AnimationSequenceNode, EncumbranceSystem (#672) 2018-03-05 07:04:53 -06:00
gmriggs
1f2f16da3b Adding MotionTable, MotionTableManager (#671) 2018-03-04 23:50:42 -05:00
gmriggs
672791e3e6 Adding PartArray methods (#659) 2018-02-28 12:53:10 -06:00
gmriggs
1da3e0dec0 initial PhysicsObj implementation completed (#658) 2018-02-27 20:45:38 -06:00
gmriggs
2fc18c0571 Adding more PhysicsObj methods (again) (#657) 2018-02-27 14:12:49 -06:00
gmriggs
af2a8a396a Adding methods to PhysicsObj (#656) 2018-02-27 01:23:53 -05:00
gmriggs
36d4d077c6 Adding methods to PhysicsObj (#655) 2018-02-26 18:09:12 -05:00
gmriggs
35bd1c0263 Adding PhysicsObj update methods (#654) 2018-02-26 06:22:37 -06:00
gmriggs
64068de591 Adding PhysicsObj add, get, and calc methods (#653)
* Adding PhysicsObj Get* methods

* Adding PhysicsObj add* methods

* Adding PhysicsObj calc_* methods
2018-02-26 01:24:10 -05:00
gmriggs
bab32fb112 Adding PhysicsObj Set* methods (#652)
* Adding PhysicsObj Set* methods

* Renaming moved file

* Adding get_* methods to PhysicsObj
2018-02-25 18:17:21 -05:00
gmriggs
bc5b499ed5 Adding PhysicsObj set_* methods (#651) 2018-02-25 00:55:14 -05:00
gmriggs
97c91f5b85 Adding initializers to PhysicsObj (#650) 2018-02-24 14:52:44 -06:00
gmriggs
4226bf5fb9 Adding PhysicsObj stubs (#649) 2018-02-24 06:10:34 -06:00
gmriggs
6311882f18 Adding PartArray, PhysicsPart, Sphere, SphereTests (#644)
* Adding PartArray, PhysicsPart, Sphere, SphereTests

* Adding missing files
2018-02-22 01:57:02 -05:00
gmriggs
4f4201fb8e Initial data structures for physics and animation system (#643)
* Initial data structures for physics and animation system

* Mapping physics engine up to ACE classes

* Adjusting enums

* More enum adjustments, fixing a typo

* Updating physics engine to use ACE.Entity instead of ACE.DatLoader.Entity
2018-02-20 07:38:34 -06:00