Commit Graph
31059 Commits
Author SHA1 Message Date
Glenn Maynard 35bdbc619a dehack old hack 2007-08-13 19:28:41 +00:00
Glenn Maynard 4f256b12b1 store as a reference 2007-08-13 19:24:54 +00:00
Glenn Maynard 9284021d2a style 2007-08-13 19:21:21 +00:00
Glenn Maynard 6653a64354 style 2007-08-13 19:20:40 +00:00
Glenn Maynard 94781be4a5 disable old hack 2007-08-13 19:19:39 +00:00
Glenn Maynard a1d33f8588 use Song::GetDisplayed 2007-08-13 19:18:55 +00:00
Glenn Maynard 8fb359e053 cleanup 2007-08-13 19:13:22 +00:00
Glenn Maynard 332ea68aef simplify 2007-08-13 19:13:04 +00:00
Steve Checkoway 66c08321e0 Document some of the global singleton classes. 2007-08-13 09:14:05 +00:00
AJ Kelly 5a2badff0a add IsEventMode, SecondsToMSSMsMs; format IsLong and IsMarathon descriptions 2007-08-13 07:19:59 +00:00
AJ Kelly fdab7dba2e add some of the DateTime functions 2007-08-13 06:36:25 +00:00
Steve Checkoway cacbd442a0 Document a few more functions, testing out FunctionIdentifier. 2007-08-13 02:31:34 +00:00
Steve Checkoway 329817e88b Use FunctionIdentifier for Link. 2007-08-13 02:25:47 +00:00
Steve Checkoway fa17009297 Include functions in namespaces like lua. 2007-08-13 02:17:46 +00:00
Steve Checkoway 7bce84be06 Allow package names for function identifiers. E.g., "Foo.Bar". 2007-08-13 02:16:23 +00:00
Glenn Maynard 73cc4c0793 skip SONGMAN->GetSongFromDir if sDir2.empty() 2007-08-12 22:44:22 +00:00
Glenn Maynard 8022c3ba04 Course::pSong to SongID 2007-08-12 22:43:45 +00:00
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