--- a/RandomNotes.wiki Thu Sep 10 04:23:06 2015 +0000
+++ b/RandomNotes.wiki Thu Sep 10 04:38:13 2015 +0000
@@ -13,17 +13,11 @@
* CampaignUnlock
* Marked as “TODO” in source code
* SetGearCollisionMask(gearUid, mask)
+ * `mask` can be between `0x0000` and `0xFFFF`. `0xFFFF` collides with everything, `0xFF00` collides with land only, `0x00FF` collides with other gears only. The meaning of other values is unclear and should be discovered.
* GetGearCollisionMask(gearUid)
* DeclareAchievement(achievementId, teamname, location, value)
* EndLuaTest(state)
- * state is `TEST_SUCCESSFUL` or `TEST_FAILED`
- * GetCampaignVar(varname)
- * SaveCampaignVar(varname, value)
- * GetFlightTime(gearUid)
- * SetFlightTime(gearUid, flighttime)
- * PlaceSprite(x, y, sprite, frameIdx, ...)
- * SetAmmoDelay(ammoType, delay)
- * Changes delay of ammoType to delay, the question remains where it is safe to be called.
+ * state is `TEST_SUCCESSFUL` or `TEST_FAILED)
* SetAmmoStore(loadouts, probabilities, delays, reinforcements)
* SetGearAIHints(gearUid, aiHints)
* onAchievementsDeclaration()
@@ -32,7 +26,4 @@
= How to add a settings option =
* `QStringList HWGame::setArguments()` in `game.cpp` is the function that prepares the argument list
* `void GameUIConfig::SaveOptions()` in `gameuiconfig.cpp` loads (or initializes) values and set the widgets to those values
- * `PageOptions::PageOptions(QWidget* parent) : AbstractPage(parent)` is where you would add your widget
-
-= Test Test 123 =
-Just to test the web interface.
\ No newline at end of file
+ * `PageOptions::PageOptions(QWidget* parent) : AbstractPage(parent)` is where you would add your widget
\ No newline at end of file