AJ Kelly
b4e24a2039
add RageUtil_CachedObject
2007-08-12 22:28:34 +00:00
Glenn Maynard
3c20a64af8
CachedObjectPointer<Course>, CachedObjectPointer<Trail>
2007-08-12 22:26:42 +00:00
Glenn Maynard
bda199bd88
fix bAllowNull not honored if StepsType_Invalid/Difficulty_Invalid
2007-08-12 22:24:24 +00:00
Glenn Maynard
4a409d387a
style
2007-08-12 22:23:17 +00:00
Glenn Maynard
019ca31c0b
CachedObjectPointer<Song> for StepsID
2007-08-12 22:13:25 +00:00
Glenn Maynard
66b6b168bb
CachedObjectPointer<Song> for SongID
2007-08-12 22:03:59 +00:00
Glenn Maynard
17434831f9
add RageUtil_CachedObject
2007-08-12 22:01:51 +00:00
Glenn Maynard
40ad9a166c
A common problem we have is being able to manipulate major objects,
...
like songs and courses: it's difficult to guarantee that all references
to them are updated if they're deleted or reallocated, which is a brittleness
that leads to obscure bugs.
A general fix for this is to avoid storing pointers to objects, and
to use IDs instead; for example, SongID to reference a song (which
tags by directory). This leads to an efficiency problem: searching
a map<RString> is much more expensive. We need a robust way to
cache the results.
Implement CachedObject<T>, CachedObjectPointer<T>. This implements
caching pointers to objects, negative caching, clearing cache when objects
are deleted, and clearing negative cache when objects are created.
2007-08-12 21:59:10 +00:00
Glenn Maynard
2ca4a39a1e
style
2007-08-12 20:34:37 +00:00
Glenn Maynard
1b5c361da8
disable warning
2007-08-12 19:54:11 +00:00
Steve Checkoway
3eb131bc7f
Simplify Links to use the shorter form. Also more consistent this way.
2007-08-12 14:35:04 +00:00
Steve Checkoway
7489745d1d
Let <Link ... /> figure out what the appropriate text should be. It can be overridden by using <Link ...>...</Link>.
2007-08-12 14:34:28 +00:00
Steve Checkoway
6d28943e5d
Add example of using ... and a table.
2007-08-12 14:09:22 +00:00
Steve Checkoway
add9849290
Add tables to return and argument list, fix multiple argument parsing
2007-08-12 14:08:48 +00:00
Vecais Dumais Laacis
f341130012
moving XInitDevices to ArchHooks so devices are initialized before usb manager initializes
2007-08-12 08:14:39 +00:00
Steve Checkoway
5d166e83ec
Lists cannot be in paragraphs so disable that for now. Fake it for that list.
2007-08-12 06:51:15 +00:00
Steve Checkoway
05e8e124ac
Add Descriptions to ActorSound, RageSound, HorizAlign, and VertAlign to give examples of using Description.
2007-08-12 06:09:06 +00:00
Steve Checkoway
76bf64d47a
More HTML elements, use Description. Fix XXX: /Lua/Classes/sm:Class[@name=$type] does not work. It was just missing the namespace on Lua and Classes.
2007-08-12 06:08:15 +00:00
Steve Checkoway
25775c4ac0
Allow more HTML elements, add a Description element to both Class and Enum.
2007-08-12 06:06:47 +00:00
Steve Checkoway
9a405636c4
It is a float, not a string.
2007-08-12 04:53:11 +00:00
Steve Checkoway
cac996607f
Document ActorSound, Game, and RageSound.
2007-08-12 04:50:56 +00:00
Steve Checkoway
41988c9b61
Document BitmapText's bindings.
2007-08-12 04:17:30 +00:00
Steve Checkoway
486d9497ca
Color bool.
2007-08-12 04:17:03 +00:00
Steve Checkoway
7654b0e02d
Add Caution text.
2007-08-12 03:52:07 +00:00
Steve Checkoway
c9f2b2b418
Allow localization.
2007-08-12 03:51:54 +00:00
Steve Checkoway
71a04def18
Should be fixed.
2007-08-12 03:40:33 +00:00
Steve Checkoway
fa78cbeec4
Fixing -kb.
2007-08-12 03:38:56 +00:00
Steve Checkoway
a7475e04d2
Update SInstruction graphics, put them in one zip.
2007-08-12 03:34:05 +00:00
Steve Checkoway
f7263b1566
Add strings for SInsturction.
2007-08-12 03:34:03 +00:00
Steve Checkoway
a57c4b8880
Replace the baked in text in the instructions.
2007-08-12 03:27:46 +00:00
Steve Checkoway
9ddfcdd271
Add bindings.
2007-08-12 03:25:56 +00:00
AJ Kelly
3588ccd54b
change font and use some conditional magic to show the frames for players that are joined
2007-08-11 23:46:06 +00:00
Steve Checkoway
2d6dd27a4b
Update score frames psd.
2007-08-11 23:23:09 +00:00
Steve Checkoway
2956390080
Unbake text from graphic. Someone else might want to change the text a bit.
2007-08-11 23:17:38 +00:00
Steve Checkoway
092a348637
Add preference to disable writing the Catalog.xml.
2007-08-11 23:15:54 +00:00
Steve Checkoway
14dc770a74
Silence warning on debug builds. I failed to make a small test case where optimization makes a difference in gcc being able to tell that a function didn't return.
2007-08-11 23:10:48 +00:00
AJ Kelly
08fd66c576
more text-based graphics
2007-08-11 21:10:44 +00:00
Steve Checkoway
a5b9861532
Encapsulate extra stage logic. The condition of HasEarnedExtraStage() remains true (if it was earned) after the call to FinishStage() until the next BeginStage().
...
I still don't completely like this because after FinishStage(), if an extra stage has been earned, it is immediately in that stage which is sort of strange for SEval. Even worse, if an extra stage was earned in the past but not for the current stage, then the stage doesn't change. (E.g., earn extra stage but not second extra stage, or earn second extra stage.) So once an extra stage has been earned, SEval will be called twice for the same stage. A per-player m_iExtraStagesPlayed could be added to fix this, but it doesn't seem worth it.
2007-08-11 20:43:01 +00:00
Steve Checkoway
62ae7f5417
Add files.
2007-08-11 19:57:57 +00:00
Vecais Dumais Laacis
6fbf645b84
revert. my 'fix' was an error which made sm use software fallback. opengl still slow on ati cards
2007-08-11 17:48:56 +00:00
Vecais Dumais Laacis
dd544ce5e4
move writable folders to "title's persistent data region".
...
that allows to launch stepmania from dvd
2007-08-11 06:47:20 +00:00
Vecais Dumais Laacis
33bf9c3155
fixes opengl 3d slowdown (usually seen when noteskins are on screen)
2007-08-11 05:27:51 +00:00
Vecais Dumais Laacis
37f91c8b98
revert changes because Course's trail regeneration now doesnt invalidate m_pCurTrail pointer
2007-08-10 21:00:52 +00:00
Glenn Maynard
3cf62ae333
Course::RegenerateNonFixedTrails in place
2007-08-10 20:30:54 +00:00
Glenn Maynard
875835765a
style
2007-08-10 20:16:00 +00:00
Vecais Dumais Laacis
ebcc944076
fixed freed pointer use if returning to ScreenSelectMusic with course of random songs selected
2007-08-10 11:13:07 +00:00
Vecais Dumais Laacis
c7ccecfae1
stack size increased also for debug build
2007-08-10 11:11:37 +00:00
Vecais Dumais Laacis
9421835499
additional building notes
2007-08-09 19:37:59 +00:00
Steve Checkoway
029d2df822
OCD requires me to fix spacing.
2007-08-09 19:37:36 +00:00
Vecais Dumais Laacis
14ab97b2f7
now MovieTexture_FFMpeg can be used in xbox build
2007-08-09 19:18:25 +00:00