RandomNotes.wiki
author RedGrinner
Mon, 06 Dec 2010 22:22:52 +0000
changeset 61 99fa236c7eb9
parent 8 55340ce0339a
child 504 fbc43fa808ff
permissions -rw-r--r--
change-log(06/12/10) Added a few entries. global vars - CurrentHedgehog event handlers - onGearResurrect - OnGearDamage functions - HogTurnLeft - HogSay small fixes - corrected a mistake in the example code in SetEffect, and added a note about integer/boolean distinction between 0.9.14 and dev. - moved the comments for AddVisualGear and SetVisualGearValues one line higher so that the width doesn't carry off the page

#summary little tidbits that await proper structuring

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