--- a/RandomNotes.wiki Thu Sep 10 04:38:13 2015 +0000
+++ b/RandomNotes.wiki Thu Sep 10 04:39:28 2015 +0000
@@ -8,20 +8,20 @@
= Undocumented LuaAPI functions =
Full list (without parameters, but automatically generated) at http://hw.ercatec.net/docs/lua_wiki_check.php.
- * CampaignLock
+ * `CampaignLock`
* Marked as “TODO” in source code
- * CampaignUnlock
+ * `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)
- * SetAmmoStore(loadouts, probabilities, delays, reinforcements)
- * SetGearAIHints(gearUid, aiHints)
- * onAchievementsDeclaration()
- * onSpecialPoint(x, y, flags)
+ * `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, `0x0000` collides with nothing. 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)`
+ * `SetAmmoStore(loadouts, probabilities, delays, reinforcements)`
+ * `SetGearAIHints(gearUid, aiHints)`
+ * `onAchievementsDeclaration()`
+ * `onSpecialPoint(x, y, flags)`
= How to add a settings option =
* `QStringList HWGame::setArguments()` in `game.cpp` is the function that prepares the argument list