Commit Graph

1141 Commits

Author SHA1 Message Date
54021458bd Change build command in build script (#729)
The script now uses the cmake build as to be compatible with all platforms as opposed to just platforms that supported gnu make.
2022-08-16 01:49:44 -07:00
1e1b6aaa0b Update Docker.md submodule note (#730)
* Update Docker.md 

Changed note to recursively update git submodules, otherwise would lead users into #728
2022-08-14 11:05:07 -07:00
008f953003 Add physics volume for property orb (#718) 2022-08-08 09:34:56 -05:00
dc960cb99c Fix landing animation (#720) 2022-08-08 09:34:33 -05:00
2d0faae759 Merge pull request #719 from DarkflameUniverse/unix-line-endings
Unix line endings
2022-08-08 09:33:43 -05:00
932d8030f0 update git blame ignore 2022-08-08 08:31:44 -05:00
7f5ab8b9fa Dockerfile: Copy dNavigation to build dir (#722)
Fixes an issue where new directory was not copied over to the correct folder for Docker
2022-08-06 22:59:27 -07:00
6c97ea8208 Implement flying command (#713)
* Implement flying command

* Add documentation.
2022-08-06 01:19:34 -07:00
72477e01e2 convert to unix line endings 2022-08-05 22:01:59 -05:00
ea86988521 Revert dZoneManager Initialization order (#717) 2022-08-05 19:20:11 -07:00
d626ac1ed4 Merge pull request #714 from DarkflameUniverse/macro-formatting
Macro formatting consistency
2022-08-05 12:37:29 -05:00
168f837b94 add blame ignore 2022-08-05 08:40:59 -05:00
9e4ce24fd2 add semi-colons to macros consistently 2022-08-05 08:40:12 -05:00
4112a85906 Fix checks for if the physics world is loaded (#711) 2022-08-05 07:41:07 -05:00
408163ed35 Add windows docker setup guide to README (#712)
* Add docker windows

* Update README.md
2022-08-05 07:40:27 -05:00
4556f13474 Mention option to use Docker in README.md (#702) 2022-08-05 01:04:45 -07:00
88f316bf93 Add null checks to all free calls to prevent crash on server close. (#709) 2022-08-04 08:54:14 -05:00
e6c7f744b5 Implement terrain file reading to generate navmeshes in the future (#703)
* Implement terrain file reading to generate navmeshes in the future

* Make Emo's suggested changes.
2022-08-04 01:59:47 +01:00
d2b05a1ac5 Update Diagnostics.cpp (#697) 2022-08-02 08:56:50 -05:00
a429489846 use UTF8ToUTF16 more (#695) 2022-08-02 08:56:20 -05:00
9ee219ea42 Move Navmesh code away from dPhysics (#701) 2022-08-02 06:30:19 +01:00
a0aa8b2854 standardize line endings (#700) 2022-08-01 22:37:28 -05:00
c11a4a67d1 Replace the vsprintf used in the logger with vsnprintf. (#694) 2022-08-01 15:23:01 -05:00
c69d01d77b Merge pull request #688 from DarkflameUniverse/reporter_id_fix
Remove parentheses from ADD reporter_id
2022-07-31 21:06:01 +01:00
50cb9346b8 Merge pull request #689 from DarkflameUniverse/security-policy
Add Security Policy
2022-07-31 20:03:30 +02:00
17d77db1c6 Update SECURITY.md 2022-07-31 15:14:16 +02:00
e97dc6fbff [no ci] update link to darkflame-security-announce 2022-07-31 14:06:05 +02:00
7ec458421f Create SECURITY.md 2022-07-31 13:58:50 +02:00
0b9e97625e Remove parentheses from ADD reporter_id 2022-07-30 22:09:45 -07:00
d64fa1680d Fix missions re-ordering on reload (#686)
* Fix missions re-ordering on reload

Check for success rather than failure

* Add a comment

* Get base value from database

* Update Mission.h
2022-07-30 20:56:21 -07:00
f80a26a944 Fix integer issue with BricksCollected (#679)
This fixes an issue where BricksCollected goes to an insane number after selling more bricks than you collected in the area
2022-07-29 20:41:14 -07:00
26ddeaa429 Fix NPC Proxy items (#684)
* Fix racing lap times

* Address NPC proxies

NPCs are supposed to equip the sub items of items they equip and were not doing so.  This PR adds this functionality and fixes and issue where Neido on Crux Prime was not wearing their sword.

Tested that Neido has their sword and that other NPCs that wear proxies also get their proxies equipped.  Had no issues with any other world crashing.
2022-07-29 19:00:36 -05:00
8b386ae6c5 Merge pull request #685 from DarkflameUniverse/editorconfig
Editorconfig and codebase format
2022-07-29 12:23:27 -05:00
f284e5a6e1 fix filename 2022-07-28 11:35:57 -05:00
1b01abd7d9 Merge branch 'main' into editorconfig 2022-07-28 09:27:06 -05:00
0e46b875a5 blame ignore and contributing update 2022-07-28 08:47:28 -05:00
19e77a38d8 format codebase 2022-07-28 08:39:57 -05:00
adb6a2c609 Fix racing lap times (#683) 2022-07-27 20:54:42 -07:00
4f7aa11067 add editorconfig 2022-07-27 22:33:36 -05:00
ffd4477081 Increment DLU patch version 2022-07-27 10:08:04 +01:00
a632ef8ccd Clean up format logs (#682) 2022-07-26 23:52:53 -07:00
9e08bb20d2 Implement proper bounds checks across the codebase (#681)
* Implement proper bounds checks across the codebase

* Implement strnlen_s for cross platform
2022-07-26 20:52:04 -05:00
9813c3ed2c Better Unicode support in GeneralUtils (#658)
* ASCIIToUTF16: output replacement character instead of failing assert

* Add GeneralUtils::_NextUTF8Char

* Implement GeneralUtils::UTF8ToUTF16

* use string_view everywhere

* use string_view::front instead of begin

* Add PushUTF16CodePoint
2022-07-25 21:11:30 -07:00
e97ae92624 Make logger automatically put a newline (#675)
at the end of the line
remove all the newlines in log calls
2022-07-24 21:26:51 -05:00
a7fb6eb3f3 make LoadFromXml usage consistent across comps (#673) 2022-07-24 21:03:22 -05:00
9ed4a4f47f Remove uneeded include (#674) 2022-07-24 16:17:01 -05:00
b57cacc676 Player forced movement component (#672)
* Split out Level progression component
from Character Component
This is to get to the Player forced movement Comp in a sane way

* move XML to component insted of abusing charComp

* use overrides
should probably make everything that calls that call it correctly

* fix linking issue

* Add proper Player Force movement component
Not used, yet
2022-07-24 13:25:10 -05:00
f2d1c5d26d Split out Level progression component (#671)
* Split out Level progression component
from Character Component
This is to get to the Player forced movement Comp in a sane way

* move XML to component insted of abusing charComp

* use overrides
should probably make everything that calls that call it correctly

* fix linking issue
2022-07-24 13:04:02 -05:00
ef0a3c6d0b Add Hot Properties struct and address some whitespace (no functionality change) (#667)
* Add GameMessages

* General AMF cleanup

Proper memory management as well as style cleanup

* General AMF cleanup

Proper memory management as well as style cleanup

* General optimizations

Fix AMFArray so values are properly deleted when you leave the scope it was created in.
Add bounds check for deletion so you don't double delete.
Remove all AMFdeletions that are contained in an array since the array now manages its own memory and deletes it when it is no longer needed.

* Better tests and fix de-serialize

Fix de-serialize to be correct and implement a test to check this

* Update AMFDeserializeTests.cpp

* Update GameMessages.h

* Add GM

* Comment out function

* Spacing

* eof
2022-07-22 19:58:20 -07:00
6a38b67ed5 General AMF cleanup (#663)
* General AMF cleanup

Proper memory management as well as style cleanup

* General optimizations

Fix AMFArray so values are properly deleted when you leave the scope it was created in.
Add bounds check for deletion so you don't double delete.
Remove all AMFdeletions that are contained in an array since the array now manages its own memory and deletes it when it is no longer needed.

* Better tests and fix de-serialize

Fix de-serialize to be correct and implement a test to check this

* Update AMFDeserializeTests.cpp

* Update AMFFormat.cpp
2022-07-21 22:26:09 -07:00