diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2007-06-02 18:12:48 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2007-06-02 18:12:48 +0000 |
| commit | c9afda3ab74614fb36986f96b7972c082f275eca (patch) | |
| tree | 1b7c0b31950597d6ed562d94158dd3f8701496da /pokemod/String.cpp | |
| parent | f71140fae5218ee9839ffcd4ec83abfded5124f4 (diff) | |
| download | sigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.gz sigen-c9afda3ab74614fb36986f96b7972c082f275eca.tar.xz sigen-c9afda3ab74614fb36986f96b7972c082f275eca.zip | |
Finished off all PokeMod classes, added move validations, fixed up some GUI, various other fixes
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@18 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemod/String.cpp')
| -rw-r--r-- | pokemod/String.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pokemod/String.cpp b/pokemod/String.cpp index 5d3761e7..846c0667 100644 --- a/pokemod/String.cpp +++ b/pokemod/String.cpp @@ -98,6 +98,11 @@ void PokeGen::PokeMod::String::printf(const char *fmt, va_list &args) unit.c = (char)va_arg(args, int);
append(1, unit.c);
break;
+ // Characters
+ case 'x':
+ unit.uc = (unsigned char)va_arg(args, int);
+ append(1, unit.uc);
+ break;
// Floats
case 'f':
unit.f = va_arg(args, double);
|
