Commit Graph

31 Commits

Author SHA1 Message Date
Aaron Kimbre
5168404567 fix path starting waypoint 2023-08-15 09:47:45 -05:00
David Markowitz
92e2ab55d9 Update MovementAIComponent.cpp 2023-08-14 20:42:07 -07:00
David Markowitz
959d19c8eb remove hard coded start 2023-08-14 20:28:45 -07:00
David Markowitz
b659edd980 Yes 2023-08-14 20:28:27 -07:00
David Markowitz
abce40f17f format 2023-08-14 20:15:25 -07:00
Aaron Kimbre
a63d7df0d2 Add waypoint command handling 2023-08-14 09:31:10 -05:00
David Markowitz
56ab6bd4c3 updates 2023-08-12 00:40:18 -07:00
David Markowitz
40c59c7f51 Ensure physics are predicted correctly
Update the PhysicsEntity position so it always matched the physics position.
2023-08-10 02:47:27 -07:00
David Markowitz
fba8fc9c45 Move blocks around 2023-08-10 02:09:58 -07:00
David Markowitz
a3b62d60f0 fixes and testing
Bounce works
add null check and default
2023-08-10 01:55:35 -07:00
David Markowitz
5f7a108154 woirking 2023-08-09 00:34:39 -07:00
David Markowitz
ed0c979544 Add file for u aronwk 2023-08-07 18:40:06 -07:00
David Markowitz
d372278b25 add arrived handler 2023-08-07 02:03:09 -07:00
David Markowitz
b546c96193 Add reversing 2023-08-07 01:46:03 -07:00
David Markowitz
aa734ef7ae Working Pausing and Resuming 2023-08-07 00:44:57 -07:00
David Markowitz
6a5ff30a32 Working built in reverse for movementAI 2023-08-06 23:40:30 -07:00
David Markowitz
3e12dd782b working forward 2023-08-06 21:15:06 -07:00
David Markowitz
bce87aaa06 use indexes for pathing 2023-08-06 20:25:22 -07:00
David Markowitz
a50e56e8ff replace with operator+= 2023-08-06 15:53:37 -07:00
David Markowitz
d8a5fd49a4
chore: Small movementAiComponent cleanup (#1145)
* rename and cleanup file

* more

* fix broken function

* Further naming fixes

t

Revert "Further naming fixes"

This reverts commit 057189982ba56788d48f9265d815e6c562ba6328.

* next step

* undo all testing changes

* minor tweaks
2023-08-03 21:38:04 -05:00
David Markowitz
455f9470a5
Move EntityManager to Game namespace (#1140)
* Move EntityManager to Game namespace

* move initialization to later

Need to wait for dZoneManager to be initialized.

* Fix bugs

- Cannot delete from a RandomAccessIterator while in a range based for loop.

Touchup zone manager initialize

replace magic numbers with better named constants
replace magic zonecontrol id with a more readable hex alternative
condense stack variables
move initializers closer to their use
initialize entity manager with zone control

change initialize timings

If zone is not zero we expect to initialize the entity manager during zone manager initialization

Add constexpr for zone control LOT

* Add proper error handling

* revert vanity changes

* Update WorldServer.cpp

* Update dZoneManager.cpp
2023-07-15 13:56:33 -07:00
David Markowitz
308d56968a Use epsilon comparison 2023-04-11 22:25:02 -07:00
David Markowitz
47445ada54 Fix Wingreaper birds not moving
Fix an issue where the Wingreaper birds no longer moved.  The client seems to do the following:
Default speed set to 10.0f
Check the PhysicsComponent table for the column speed and if it exists set speed to that value and if the value was null set it to the default again.
2023-03-27 01:13:34 -07:00
David Markowitz
7671cc6865
CDClient cleanup and optimization (#1023)
* CDClient cleanup and optimization

- Use static function to get table name
- Remove unused GetName function
- Replace above function with a static GetTableName function
- Remove verbose comments
- Remove verbose initializers
- Remove need to specify table name when getting a table by name
- Remove unused typedef for mac and linux

* Re-add unused table

Convert tables to singletons

- Convert all CDClient tables to singletons
- Move Singleton.h to dCommon
- Reduce header clutter in CDClientManager
2023-03-17 07:36:21 -07:00
David Markowitz
c3723371cf
Patch divide by zero when advancing waypoints (#1020) 2023-03-14 04:12:26 -07:00
Aaron Kimbrell
e524b86e12
breakout the component types into a scoped enum (#1002)
* breakout the component types into a scoped enum

tested that things are the same as they were before

* fix missed rename

* fix brick-by-brick name to be crafting
because that's what it is
2023-03-04 01:16:37 -06:00
David Markowitz
84c5d74450
Add Delete Inventory Slash Command (#865)
* moving branch

* Add deleteinven slash command

* Change name of BRICKS_IN_BBB

* Use string_view instead of strcmp

* Remove GameConfig

* Revert "Remove GameConfig"

This reverts commit cef5cdeea2.
2022-12-18 09:46:04 -06:00
Aaron Kimbre
72477e01e2 convert to unix line endings 2022-08-05 22:01:59 -05:00
Jett
9ee219ea42
Move Navmesh code away from dPhysics (#701) 2022-08-02 06:30:19 +01:00
aronwk-aaron
19e77a38d8 format codebase 2022-07-28 08:39:57 -05:00
Unknown
0545adfac3 Public release of the DLU server code!
Have fun!
2021-12-05 18:54:36 +01:00