Commit Graph

35 Commits

Author SHA1 Message Date
dimok321
88969ffb9f *Theme Class made and removed all the crap from cfg.c
*Lots of changes due to that regarding themes (The very old theme format was completely dropped)
2010-09-24 17:58:56 +00:00
eraserxl
772859ecbc * Unified formating of source files. 2010-09-24 00:48:03 +00:00
dimok321
f3ef9104b1 *Whole lot of cleanup in the cfg.c
*Moved all related global settings to a settings class. one for themes and individual games will follow. Probably broke some settings or theme loading, we can deal with that later and fix when someone discovers bugs.
2010-09-19 20:25:12 +00:00
giantpune
9e79c9d99b * remove little unused code
* code cleanup
2010-09-18 23:16:05 +00:00
dimok321
1902318e4e *Cleaned up the game list get and filter process for all filter modes and made a class out of that. Noticable speed up in all loading gamelist processes with that. Bye bye shitty getentries.cpp. 2010-09-18 11:46:25 +00:00
dimok321
044c48a1bc *Added loop for WBFS init back in
*Replaced all text related stuff with the ones from WiiXplorer (FreeTypeGX/GuiText/...). Some alignments might need be adjusted or maxWidth in pixel of some text parts. Also the text scrolling needs to be adjusted.
2010-09-17 15:15:21 +00:00
giantpune
bf03e49dc6 undo the code formatting. somehow it got screwed up 2010-02-09 10:59:55 +00:00
giantpune
f988afc60d code formatting. absolutely no functional changes. there is no point to update to this. just making the code easier to read. 2010-02-09 06:33:18 +00:00
e.bovendeur
a09abe355f * Added FAT support (Issue 1054)
* Fixed issue 1058
* Menus splitted to several smaller files, to reduce compile time

This version has FAT support. You can change the used partition in the game load options. Default WBFS will be used, if found. Otherwise the first FAT partition with games will be used. FAT will only work when using Hermes cios (222/223)!!!
2009-11-15 19:52:58 +00:00
ardi@ist-einmalig.de
a0182d0c4c * GuiSound stuff rewritten it makes modular
* ogg decoder added (old oggplayer removed)
  * mp3 decoder added (mp3's cane use as backgroundsounds)
  * WAVE decoder added (but only uncompressed WAVE's)
  * AIFF decoder added (only uncrompressed)
  * BNS decoder added
    all soundformats can use as backgroundsounds
    dimoks GameSound class removed it is replaced with the new GuiSound stuff

* Many small fixes and other changes
2009-11-09 23:03:13 +00:00
ardi@ist-einmalig.de
31cd4d03e2 revert dimok's stuff, because it makes too many trubble 2009-10-19 20:34:54 +00:00
dimok321
3c6bf6523b Optimization Changes Part 1:
*Lots of changes in the TextDrawing stuff and FreeTypeGX to speed up the drawing
*Mostly optimization work which is not completely done yet, but mainly it is.
*You might not want to update to this revision right away there still might be bugs which are needed to be fixed. This is a version for everyone to test and report bugs caused by the changes.
*Vanishing WiiMotePointer should be fixed for the Settings/GameSettings probably (though it might still occur i am not sure if i didn't forget anything, there is just too much to change :P.
2009-10-17 20:48:52 +00:00
ardi@ist-einmalig.de
f270f828da fix tooltips in GameCarousel (Issue 988) 2009-10-08 16:29:58 +00:00
ardi@ist-einmalig.de
505e4cd09c - fix tooltips in GameCarousel
- change gui_keyboard stuff
- change filebrowser stuff
2009-10-05 10:53:19 +00:00
ardi@ist-einmalig.de
16b4e62c51 2009-09-27 18:19:53 +00:00
dimok321
d5fb3ff33f Some changes to the Carousel:
*Added a ToolTip
*Added GameName under the covers
*Fixed Crash with no Favorites in list.

NOTE: I'll add a better coming out effect for the covers, for now there is only a slow big ZoomOut which isnt too bad either.
2009-08-01 14:42:12 +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
dimok321
8620ab0702 *Forgot about FlipX control when added the Carousel stuff. This should fix the wrong navigation. 2009-07-12 15:17:23 +00:00
dimok321
50231648ca *Made a Buffer Thread for the Carousell to load covers. Now there is no GameLimit anymore, no long loading time and no such memory usuage by it.
*Removed the temporary AltDol Fix
2009-07-12 14:02:48 +00:00
giantpune
9b46eb613a apply flipX settings to gamewall and carousel, fix screensaver bug to keep it from coming on when it is turned off. added support for updating full channel. in order to make the full channel updatable, comment/remove "#define NOTFULLCHANNEL" from promptwindow.h. also there must be a wad to update to (saved as a txt file) on the update server. for some reason the ticket was corrupted when it was stored as a wad.
also there are 6 compile warnings from the conversion of wad.c to .cpp but everything still works and installs fine.
2009-07-11 05:55:29 +00:00
dimok321
8601abdf29 *Sorting files a bit 2009-06-13 00:24:36 +00:00
DRayX7
c257e1d378 *Fixed some bugs in the game browser and game carousel
*Added a few new files for later use
2009-06-08 16:26:04 +00:00
giantpune
4ea4576e02 fix bug in game carousel. 2009-06-06 18:10:20 +00:00
dimok321
32144f46f9 *Whole new GlobalSettingsMenu arrangement (thx to dj_skull for his idea and plan (issue 433))
*Lots of small fixes
*Added Error002fix selection in GameSettings

**NOTE 1: You might want to delete your Configfiles before using this new Rev.

**NOTE 2: Known issue with Settings is that WiiMotePointer is sometimes being displaced. I am searching for the reason right now.
2009-06-06 17:26:52 +00:00
hungyip
3887824fde Optimized and Refactored some codes. Did not do any test on it so it might break the settings feature. Please report on issues if any settings feature is broken 2009-06-04 01:04:23 +00:00
dimok321
976ea2041c *Changed the code for CreditsWindow
*Added ButtonsHold and ButtonsPressed functions
*Some cleanups
2009-06-01 13:35:43 +00:00
mauricewoelk
24d98683b3 just some small fixes
*added RemoveSoundClick to guibutton prototype
*removed the click sound from Wii/Home button
*applied widescreen fix to arrow buttons in caroselle and grid
2009-06-01 12:15:27 +00:00
dimok321
f2822719b1 *Fixed settings codedumps and other codedumps with carousel and grid (oh boy we had so many memory mess up stuff) 2009-06-01 08:45:51 +00:00
dimok321
550b792db9 *Some more memory clear before gamestart 2009-05-31 22:44:40 +00:00
dimok321
1ffee5a484 *Found and fixed bug with Memory for Carousel (also was one in Grid)
*Added Carousel back in
*Changed UMS Heapsize which increases compatibility for some HDD Devices with cIOS38 Rev12

**NOTE: If anyone encounters any HDD detection problems which start from this rev on, make an issue and we can revert that thing.
2009-05-31 21:40:22 +00:00
DRayX7
95c7c51355 *Forgot to uncomment a few lines I commented out for testing 2009-05-30 03:07:34 +00:00
DRayX7
52a1eed0b0 *Added the carousel to the GUI.
*Fixed a bunch of bugs in the carousel.
*Changed the filenames for the carousel images to the spelling used everywhere else.
2009-05-30 03:02:41 +00:00
DRayX7
cf1a8fb5a0 **Changes
*Fixed effect GOROUND so that it doesn't cause alignment issues anymore (the format for this effect is very different than it originally was, if you plan on using it for something, look at the documentation in gui.h.
*Major revamp of gui_gamecarousel (everything is awesome and perfect, except it still can't launch games, and thus it is still not in the gui).

**gui_gamecarousel Notes:
*You can use the same technique as last time to test the carousel (except I recommend adding startat and offset to the line since I added support for it).
*I realized not everyone will agree for my choice of curvature and spacing for the games on the carousel, so I made them variable.  At the top of gui_gamecarousel.cpp are a bunch of definitions that set up these values.
*SCALE determines the size of the game boxes.
*DEG_OFFSET is the number of degrees between the boxes (remember, changing the RADIUS will affect the linear distance each degree represents).
*RADIUS determines the curvature of the arc (higher radius makes it less curved).
*IN_SPEED determines the speed at which the boxes come in (higher number makes it faster).
*SHFIT_SPEED determines the speed at which the boxes move when you turn the carousel.
*PAGESIZE determines how many boxes are drawn (remember, the number of visible boxes is determined by DEG_OFFSET and RADIUS, with the default values you can see 7).
*Everything eles (the animations, position of the movement buttons, etc.) is automatically determined from these values (my 8th grade math teacher was right, trig isn't totally worthless), so you shouldn't need to change anything at all, except the aforementioned values (or the b0rken game launching code).
*If you find a set of values you think looks better than mine, post a picture and the list of values in an issue or on IRC.
*These will probably become theamable at some point, but I figure we should get this added to the gui first (I was hoping to do it tonight, but some stuff came up, and I need to go to bed).

Wow I write really long commit notes.
2009-05-29 05:27:29 +00:00
DRayX7
aaa2a3f25f **Changes
*Modified EFFECT_GOROUND so that it takes a center of rotation, angles work properly, and things don't move back.
*Updated the gui_gamecarousel files so that they are functional, shouldn't have any more code dumps, and use the EFFECT_GOROUND.
*The carousel button doesn't do anything anymore (since GOROUND was changed so much)

**Notes
*The easiest way test the carousel is to change guiGameGrid to guiGameCarousel in source/menu.cpp.
*If you compile with no modifications, the only noticeable difference is that the carousel button does nothing.

**Known Bugs in gui_gamecarousel
*The images dont line up horizontally (when shifting left they go too far left, and the same for shifting right). I think there is a rounding bug somewhere in GOROUND (I already fixed several).
*Cant hold down left and right to scroll yet
*Launching a game only works if the pointer is over two boxes
*If an image is growing when the carousel is turned, that button disapears
*If an image is grown when the carousel is turned, it wont shrink back
2009-05-28 01:46:05 +00:00
DRayX7
78a9822e1a *Added very basic gui_gamecarousel files based on punes code. This esentially dosen't work at all yet, but I thought I would put them up since I'm going to bed soon. 2009-05-27 08:51:39 +00:00