Vecais Dumais Laacis
38f93f78cf
allows to choose which profile to use (should be used before style selection like ScreenProfileLoad)
...
lua functions:
bool SetProfileIndex(PlayerNumber, profileindex)
if profileindex == -2 - unloads specified player
if profileindex == -1 - sets choosed profile to none (if any human player profileindex is set to -1 then screen cannot finish)
also joins player if player was not joined before
if profileindex == 0 - sets choosed profile to use memory card (memory card should be mounted at this point)
if profileindex >0 and profilexindex <numlocalprofiles - sets choosed profile to one of local profiles
other values returns false
true is returned on successful operation
int GetProfileIndex(PlayerNumber)
returns selected profileindex for player
bool Finish
tries to load selected profiles and proceed to next screen
returns false if not all players are finished choosing or players have selected the same local profiles
Cancel - returns to previous screen
2007-08-08 09:57:53 +00:00
Vecais Dumais Laacis
9497d928d8
reverting unneeded changes
2007-08-08 09:49:30 +00:00
Vecais Dumais Laacis
ffa132693c
* MemoryCardState type for lua
...
* MEMCARDMAN:GetCardState for lua
2007-08-08 09:29:44 +00:00
Vecais Dumais Laacis
1876f49ce4
reverting changes as input can be catched by Code messages
2007-08-08 09:13:19 +00:00
Vecais Dumais Laacis
f69381d388
* style fix
...
* difference can be calculated in SendLifeChangedMessage
2007-08-08 08:44:42 +00:00
Vecais Dumais Laacis
76b22d11ac
reverting unneeded changes
2007-08-08 08:42:45 +00:00
Vecais Dumais Laacis
7b4117b94a
revert changes as course contents list should be updated only when trail changes not course changes
2007-08-08 08:38:18 +00:00
Steve Checkoway
60e94b15fb
Style.
2007-08-07 22:14:51 +00:00
Steve Checkoway
7a8be07a88
Add class name to table header.
2007-08-07 12:26:57 +00:00
Steve Checkoway
5db5486041
Parse function arguments and add links to types we know about. Color void, int, float, and string. I have not yet decided how to handle returned tables or arrays (which are just tables with keys 0..n).
2007-08-07 12:23:55 +00:00
Steve Checkoway
101abde1d4
Specify exactly what is allowed in the strings according to what is valid lua. Double quoted strings are not supported. Require that function parameters have types. Remember to validate LuaDocumentation.xml with the scheme before committing changes. I use http://tools.decisionsoft.com/schemaValidate/
2007-08-07 12:20:24 +00:00
Steve Checkoway
959765a881
Add the parameter type to the arguments.
2007-08-07 12:18:19 +00:00
Vecais Dumais Laacis
84e4ada688
check also course entries size
2007-08-07 11:42:12 +00:00
Vecais Dumais Laacis
8809d2009e
clear cached trails on init
2007-08-07 11:38:17 +00:00
Vecais Dumais Laacis
a19dd14707
pass InputMessage down to lua so lua can be used to enter name
2007-08-07 11:27:40 +00:00
Vecais Dumais Laacis
c33fc5e62f
no double LoadAllCommands
2007-08-07 11:24:27 +00:00
Vecais Dumais Laacis
247cddd607
little hack to force update m_bRadarValuesCached - someone needs to find out why m_bRadarValuesCached is set to true but in fact m_bRadarValuesCached values are invalid
...
this doesnt occur on all courses
2007-08-07 11:18:51 +00:00
Vecais Dumais Laacis
670e134dad
* added param Difference in LifeChanged message
...
* dont die on 1st song because initial life is not set
2007-08-07 11:15:18 +00:00
Vecais Dumais Laacis
1aad3ba5a5
added GetSurvivalSeconds for HighScore
2007-08-07 11:10:48 +00:00
Steve Checkoway
6e1cd05800
Done playing with xsl for a while. It just does not work as I want with respect to xhtml.
2007-08-06 10:10:18 +00:00
Steve Checkoway
a56b120755
This is now xhtml 1.0 strict. Also changed the layout. I think it looks much better now. Firefox still cannot handle the xsl -> xhtml transition so I will probably change this back to html if I cannot figure it out.
2007-08-06 05:12:50 +00:00
Steve Checkoway
8c1baf71ee
Add code css class, use it. I still do not like the way this looks. I might change these tables to be more like javadocs which are pretty readable.
2007-08-06 02:53:29 +00:00
Steve Checkoway
0142b6c5ef
Change the schema to allow code. Also have to implement it as copying the node to the output document. There might be a better way but I do not know of it.
2007-08-06 02:31:35 +00:00
Steve Checkoway
adaeaa1e21
Do not toggle when clicking on the global singletons, just open it. Also, add hyperlinks to classes if they are return values automatically. I might try to do something similar for function arguments but doing any sort of string processing in XSL is a pain.
2007-08-06 01:40:34 +00:00
Steve Checkoway
941a2e5190
Typo.
2007-08-06 00:45:23 +00:00
Steve Checkoway
cf28f8d5aa
Document SGameplay. If a function has no arguments, use arguments=''. Add <code>sections</code> for easy changing via css in Lua.xsl.
2007-08-06 00:43:07 +00:00
Steve Checkoway
a6b69f91dd
Add documentation for a few random Actor functions for examples of using Link.
2007-08-06 00:06:35 +00:00
Steve Checkoway
33634ffcae
Add sm:Link to the schema. It allows adding links to functions, classes, and enums.
2007-08-06 00:03:35 +00:00
Steve Checkoway
b5e276e2f3
Out of date. We do not use Installer packages any more. mkrelease.pl makes a disk image with the application which can be installed simply be dragging it into the StepMania folder. The theme and noteskin data are packaged inside.
2007-08-05 02:11:37 +00:00
Steve Checkoway
e2a601b1bd
Update these instructions while I am at it.
2007-08-05 01:51:06 +00:00
Steve Checkoway
a2f4612f29
Update README.
2007-08-05 01:46:40 +00:00
Steve Checkoway
0d363714f1
Remove unused packaging script.
2007-08-05 01:02:06 +00:00
Steve Checkoway
5658807a38
Use Glenn's superior packaging script. It is quite a bit faster.
2007-08-05 01:01:14 +00:00
Steve Checkoway
f5b8ba460a
StepMania.smzip.
2007-08-05 01:00:27 +00:00
Steve Checkoway
6b92b8bf91
Let Lua load a NoteSkin actor for a particular noteskin, useful for when one isn't set yet.
2007-08-05 00:40:12 +00:00
AJ Kelly
9fe3104d50
add FormatNumberAndSuffix
2007-08-05 00:39:23 +00:00
AJ Kelly
1563180638
do this in a text actor
2007-08-04 23:19:36 +00:00
AJ Kelly
1c9ebd8dfe
hidden -> visible
2007-08-03 03:47:33 +00:00
Glenn Maynard
1277284d19
hidden -> visible
2007-08-02 23:44:53 +00:00
Glenn Maynard
58e523f1e3
unused
2007-08-02 23:39:21 +00:00
Glenn Maynard
5bf6f17712
no longer used
2007-08-02 22:49:02 +00:00
Glenn Maynard
dd2b5a5976
default to DirectSound-sw for now. I don't have access to enough
...
hardware to fix up the quirks in WDMKS.
2007-08-01 00:50:19 +00:00
Glenn Maynard
0377885edc
no Cache
2007-07-31 03:58:58 +00:00
Glenn Maynard
c4ad688191
use CreatePackage.pl; also renames base package to StepMania.smzip
2007-07-31 03:48:03 +00:00
Glenn Maynard
916ffe69ad
mksmdata.pl, but without making an extra copy
2007-07-31 03:46:07 +00:00
Steve Checkoway
ad2af19c8a
Update docs.
2007-07-31 03:41:55 +00:00
Glenn Maynard
59002ada00
This stuff is out of date. Let's not include development docs in the regular distribution.
2007-07-31 03:36:48 +00:00
Glenn Maynard
5fc99228b7
This is obsolete.
2007-07-31 03:35:58 +00:00
Glenn Maynard
0c4ad0477d
We link to MAD; we don't include the library itself in our distribution, so we don't need to include the license.
2007-07-31 03:35:40 +00:00
Glenn Maynard
050079a80e
I thought the mine graphic was created by Chris, but I guess we're not
...
sure. Replace it with a hideous placeholder until someone makes
a new one.
2007-07-31 01:32:14 +00:00