Skip to content

Commit

Permalink
Fix joaat mixup for AddCurrentRise (#733)
Browse files Browse the repository at this point in the history
* Fix joaat mixup for AddCurrentRise

* Update and rename AddCurrentRise.md to AddExtraCalmingQuad.md
  • Loading branch information
chipjpg authored May 5, 2022
1 parent 6d86e3e commit d075447
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
23 changes: 0 additions & 23 deletions WATER/AddCurrentRise.md

This file was deleted.

24 changes: 24 additions & 0 deletions WATER/AddExtraCalmingQuad.md
Original file line number Diff line number Diff line change
@@ -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).

0 comments on commit d075447

Please sign in to comment.