# HG changeset patch # User Wuzzy # Date 1441859893 0 # Node ID 097e645fe00b4b871867d4de6278f330620871d4 # Parent d235a7a45fbe88efae7ae6fa63499ff22e5d6dbc Clean-up diff -r d235a7a45fbe -r 097e645fe00b RandomNotes.wiki --- 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