RandomNotes.wiki
author Wuzzy
Fri, 23 Feb 2018 19:03:39 +0000
changeset 1237 c4a843642c21
parent 845 3883f95063dc
child 1238 11ecdec25bf3
permissions -rw-r--r--
RandomNotes: undocumented functions are done
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     1
#summary little tidbits that await proper structuring
55340ce0339a Created wiki page through web user interface.
vittorio.giovara@gmail.com
parents:
diff changeset
     2
504
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     3
= Introduction =
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     4
This page is a collection of random unsorted or unfinished stuff which is not good or structured enough to be put into one of the “real” wiki pages. Wiki editors: If something becomes actually useable, please move it to the appropriate wiki page and remove it from this page.
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     5
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     6
This page is intentionally chaotic and may change rapidliy at any time.
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     7
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     8
= How to add a settings option =
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
     9
 * `QStringList HWGame::setArguments()` in `game.cpp` is the function that prepares the argument list
fbc43fa808ff Explain purpose of page, add undocumented Lua functions with parameters and guesses what they might do.
almikes@aol.com
parents: 8
diff changeset
    10
 * `void GameUIConfig::SaveOptions()` in `gameuiconfig.cpp` loads (or initializes) values and set the widgets to those values
634
174622a27c8f web-edit: test
sheepluva
parents: 633
diff changeset
    11
 * `PageOptions::PageOptions(QWidget* parent) :  AbstractPage(parent)` is where you would add your widget
174622a27c8f web-edit: test
sheepluva
parents: 633
diff changeset
    12
174622a27c8f web-edit: test
sheepluva
parents: 633
diff changeset
    13
680
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    14
= Syntax test =
634
174622a27c8f web-edit: test
sheepluva
parents: 633
diff changeset
    15
680
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    16
== Bullet points ==
634
174622a27c8f web-edit: test
sheepluva
parents: 633
diff changeset
    17
680
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    18
 * Single lonely bullet point
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    19
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    20
 * Two bullet points
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    21
 * Two bullet points
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    22
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    23
 * Three bullets!
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    24
 * Three bullets!
e0a3df1ac413 test bullet points
Wuzzy
parents: 634
diff changeset
    25
 * Three bullets!
704
fa97a33b0375 Test some links
Wuzzy
parents: 680
diff changeset
    26
fa97a33b0375 Test some links
Wuzzy
parents: 680
diff changeset
    27
== Linktest ==
fa97a33b0375 Test some links
Wuzzy
parents: 680
diff changeset
    28
845
3883f95063dc RandomNotes: test link
Wuzzy
parents: 844
diff changeset
    29
[RandomNotes#Undocumented_LuaAP_functions TESTLINK1]
3883f95063dc RandomNotes: test link
Wuzzy
parents: 844
diff changeset
    30
[RandomNotes#Bullet_points TESTLINK2]