diff --git a/WATER/AddCurrentRise.md b/WATER/AddCurrentRise.md deleted file mode 100644 index 870ae5cc6..000000000 --- a/WATER/AddCurrentRise.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -ns: WATER -aliases: ["0xFDBF4CDBC07E1706"] ---- -## _ADD_CURRENT_RISE - -```c -// 0xFDBF4CDBC07E1706 0x45268B6F -int _ADD_CURRENT_RISE(float xLow, float yLow, float xHigh, float yHigh, float height); -``` - -``` -Most likely ADD_CURRENT_* -``` - -## Parameters -* **xLow**: -* **yLow**: -* **xHigh**: -* **yHigh**: -* **height**: - -## Return value diff --git a/WATER/AddExtraCalmingQuad.md b/WATER/AddExtraCalmingQuad.md new file mode 100644 index 000000000..f06bb00f5 --- /dev/null +++ b/WATER/AddExtraCalmingQuad.md @@ -0,0 +1,24 @@ +--- +ns: WATER +aliases: ["0xFDBF4CDBC07E1706", "_ADD_CURRENT_RISE"] +--- +## ADD_EXTRA_CALMING_QUAD + +```c +// 0xFDBF4CDBC07E1706 0xA9419B6D +int ADD_EXTRA_CALMING_QUAD(float xLow, float yLow, float xHigh, float yHigh, float height); +``` + +Only 8 current rises can exist. If rises need to be changed, use REMOVE_EXTRA_CALMING_QUAD and then ADD_EXTRA_CALMING_QUAD again. +After removing a rise, you will be able to add a rise again. + +## Parameters +* **xLow**: +* **yLow**: +* **xHigh**: +* **yHigh**: +* **height**: + +## Return value +If succeeded to add, returns a rise index that can be used on REMOVE_EXTRA_CALMING_QUAD. +If failed to add, returns -1 (make sure you don't pass -1 to REMOVE_EXTRA_CALMING_QUAD).