Commit Graph

14 Commits

Author SHA1 Message Date
giantpune
83f5dc29de add filesize function to get size of dols.
change homebrew icon image and move it a bit.

hide the homebrew button if godmode!=1

maybe fix issue 722.  i don't have a spare drive to test it.

fix grammatical error in the settings.

fix long game name overflow on the gameinfo screen

switch the homebrew buttons to use the new HBCwindowprompt().  none of the meta.xml data is passed yet so the prompt looks pretty naked.
2009-07-20 07:23:30 +00:00
giantpune
73d8ded0e5 fixed a bug or 2 in the synopsis being displayed incompletely.
added a few more game IDs & alt dols to the list of knowns
2009-07-19 06:09:34 +00:00
giantpune
18489a8858 load xml at startup and keep it in memory instead of each time the game info is called. it adds 1 second to my startup time with 100+ games. just testing to see if breaks anything doing it like this now that the xml is much smaller. 2009-07-18 11:04:13 +00:00
giantpune
4886c5cc11 change the dol list to use all 6 chars of the ID because some regions are different 2009-07-18 10:12:34 +00:00
giantpune
d202fc34a6 Probably fixed the code dump from pressing down during the synopsis and it doesn't fill the page. 2009-07-17 06:42:01 +00:00
giantpune
57f0ce0ed4 Added functions/vars to GuiText to allow showing & hiding rows when it is wrapped.
new vars are
firstLine = 1;
numLines = -1;
totalLines = 1;
totalLines is not changed until the text is set to wrap and Draw() is called 1 time.
The other 2 are set with functions.
new functions are
void GuiText::SetNumLines(int n)
void GuiText::SetFirstLine(int n)
int GuiText::GetNumLines()
int GuiText::GetFirstLine()
int GuiText::GetTotalLines()
int GuiText::GetLineHeight(int n) 
These should be self explanatory. GetLineHeight relies on total lines so it needs to be called after the first Draw();
Raised the chars[] to 3000 for the synopsis because people are writing books in there.
Used those new fancy functions make the synopsis fit in the info window.  Press up/down to scroll the text.  Arrows may come later for the buttons.  Also put a home buttononlytrigger on the game prompt.  moved disable mainWindow to the beginning of the infoprompt to keep from loading images and stuff from the sd at the same time we are reading the xml file.
2009-07-13 11:19:31 +00:00
ardi@ist-einmalig.de
d73fac1add change the handling of language-files. now use GNU gettext.(i hope, i have no file forgotten) 2009-06-23 18:59:28 +00:00
lustar.mii
92441e56b2 2009-06-20 00:32:10 +00:00
lustar.mii
51afe469cc Because Action needs a big A, added Capitalization to the Genre on Game Info Page. Title language should refresh properly when the config for a game was deleted using the Settings menu (to delete the config, use the "default" option, without saving) 2009-06-14 11:47:21 +00:00
lustar.mii
9a4fd8e680 split Genre display on several lines on the Game Info page. 2009-06-14 09:33:55 +00:00
lustar.mii
6396c7099f Fixed the reason for the fix I broke in my last batch of fixes. 2009-06-14 04:59:32 +00:00
lustar.mii
1efc9d1f89 Several small fixes + enabled displaying titles from database in main list and game info screen. The titles now change to the language that is set in the Game Info settings and individual game settings will override it. All titles default to English if the preferred language is not available for a game. 2009-06-14 03:42:46 +00:00
giantpune
2874d9672c Took out debug TXT that I left in the coverwall. fixed some stuff in the gameinfo window. 2009-06-13 06:32:02 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00