-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix joaat mixup for AddCurrentRise (#733)
* Fix joaat mixup for AddCurrentRise * Update and rename AddCurrentRise.md to AddExtraCalmingQuad.md
- Loading branch information
Showing
2 changed files
with
24 additions
and
23 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |