RandomNotes.wiki
changeset 506 c619a5931ee5
parent 504 fbc43fa808ff
child 598 c6bbd2eab199
equal deleted inserted replaced
505:a79631e03c84 506:c619a5931ee5
    25  * SetAmmoDelay(ammoType, delay)
    25  * SetAmmoDelay(ammoType, delay)
    26   * Changes delay of ammoType to delay, the question remains where it is safe to be called.
    26   * Changes delay of ammoType to delay, the question remains where it is safe to be called.
    27  * SetAmmoStore(loadouts, probabilities, delays, reinforcements)
    27  * SetAmmoStore(loadouts, probabilities, delays, reinforcements)
    28  * SetGearAIHints(gearUid, aiHints)
    28  * SetGearAIHints(gearUid, aiHints)
    29  * onAchievementsDeclaration()
    29  * onAchievementsDeclaration()
    30  * onParameters()
       
    31  * onSpecialPoint(x, y, flags)
    30  * onSpecialPoint(x, y, flags)
    32 
    31 
    33 = How to add a settings option =
    32 = How to add a settings option =
    34  * `QStringList HWGame::setArguments()` in `game.cpp` is the function that prepares the argument list
    33  * `QStringList HWGame::setArguments()` in `game.cpp` is the function that prepares the argument list
    35  * `void GameUIConfig::SaveOptions()` in `gameuiconfig.cpp` loads (or initializes) values and set the widgets to those values
    34  * `void GameUIConfig::SaveOptions()` in `gameuiconfig.cpp` loads (or initializes) values and set the widgets to those values