diff --git a/projects/mtg/bin/Res/graphics/backdrop.jpg b/projects/mtg/bin/Res/graphics/backdrop.jpg index c33f365b0..2ae787c39 100644 Binary files a/projects/mtg/bin/Res/graphics/backdrop.jpg and b/projects/mtg/bin/Res/graphics/backdrop.jpg differ diff --git a/projects/mtg/bin/Res/graphics/themeinfo.txt b/projects/mtg/bin/Res/graphics/themeinfo.txt new file mode 100644 index 000000000..056fccb2f --- /dev/null +++ b/projects/mtg/bin/Res/graphics/themeinfo.txt @@ -0,0 +1,16 @@ +Wagic Team + +Default Theme Credits: + * Our awesome phase bar and shop background are courtesy of Jhotun! Check out his work at www.jhotun.com! + * The eboot background, card back, logo, large card templates, and manual were contributed by Jeck. + * The default player's avatar is courtesy of http://mathieuchoinet.blogspot.com, under CC License. + * Other images are courtesy of J, who also does most of our gui coding. Thanks, J! + * The duel backdrop is from the KDE project, www.kde.org + + +Notes on themes: +This is themeinfo.txt. The first line should contain theme authorship information, but the rest is free to use any way you'd like. + +To build a theme, copy any file from the res/graphics/ directory to a directory just like this one. Then comes the fun part... edit it, save it, and load it up in Wagic. Be sure to include a 227*128 pixel "preview.png" to show off your new theme in options menu! + +You can also replace card images! Just place your new card picture in the same place it would be under the sets directory. Be careful, though, as you can't use zipped card images in themes. For example, to replace 10th Edition's Demystify in "My Theme", use a file like this: "themes/my theme/sets/10E/129524.jpg" \ No newline at end of file diff --git a/projects/mtg/bin/Res/graphics/wood.png b/projects/mtg/bin/Res/graphics/wood.png index c5811a1f9..b54fc54d6 100644 Binary files a/projects/mtg/bin/Res/graphics/wood.png and b/projects/mtg/bin/Res/graphics/wood.png differ diff --git a/projects/mtg/bin/Res/themes/Inverted/themeinfo.txt b/projects/mtg/bin/Res/themes/Inverted/themeinfo.txt new file mode 100644 index 000000000..07726d3c4 --- /dev/null +++ b/projects/mtg/bin/Res/themes/Inverted/themeinfo.txt @@ -0,0 +1,3 @@ +Wagic Team + +Check out themeinfo.txt in the graphics directory for more information on making themes! \ No newline at end of file diff --git a/projects/mtg/bin/Res/themes/Jade/backdrop.jpg b/projects/mtg/bin/Res/themes/Jade/backdrop.jpg index 6b93de491..568bceedf 100644 Binary files a/projects/mtg/bin/Res/themes/Jade/backdrop.jpg and b/projects/mtg/bin/Res/themes/Jade/backdrop.jpg differ diff --git a/projects/mtg/bin/Res/themes/Jade/themeinfo.txt b/projects/mtg/bin/Res/themes/Jade/themeinfo.txt new file mode 100644 index 000000000..15ac7a8f6 --- /dev/null +++ b/projects/mtg/bin/Res/themes/Jade/themeinfo.txt @@ -0,0 +1,5 @@ +Wagic Team + +Credit goes to Jeck for the Jade backdrop. Pretty nifty, huh? + +Check out themeinfo.txt in the graphics directory for more information on making themes! \ No newline at end of file diff --git a/projects/mtg/bin/Res/themes/Jade/wood.png b/projects/mtg/bin/Res/themes/Jade/wood.png index 657c075ad..be15c2fd4 100644 Binary files a/projects/mtg/bin/Res/themes/Jade/wood.png and b/projects/mtg/bin/Res/themes/Jade/wood.png differ diff --git a/projects/mtg/src/GuiBackground.cpp b/projects/mtg/src/GuiBackground.cpp index ccfab3b0b..1eedb9561 100644 --- a/projects/mtg/src/GuiBackground.cpp +++ b/projects/mtg/src/GuiBackground.cpp @@ -6,7 +6,7 @@ GuiBackground::GuiBackground() { JTexture* texture = resources.GetTexture("backdrop.jpg"); if (texture) - quad = NEW JQuad(texture, 0, 0, 480, 272); + quad = NEW JQuad(texture, 0, 0, 480, 255); else { quad = NULL; @@ -22,5 +22,5 @@ GuiBackground::~GuiBackground() void GuiBackground::Render() { JRenderer* renderer = JRenderer::GetInstance(); - renderer->RenderQuad(quad, 0, 0); + renderer->RenderQuad(quad, 0, 18); } diff --git a/projects/mtg/src/GuiFrame.cpp b/projects/mtg/src/GuiFrame.cpp index cbd10d450..30578ef74 100644 --- a/projects/mtg/src/GuiFrame.cpp +++ b/projects/mtg/src/GuiFrame.cpp @@ -5,7 +5,7 @@ GuiFrame::GuiFrame() { if (resources.GetTexture("wood.png")) - wood = resources.RetrieveQuad("wood.png", 0, 0, SCREEN_WIDTH, 16); + wood = resources.RetrieveQuad("wood.png", 0, 0, SCREEN_WIDTH, 28); else { wood = NULL; diff --git a/projects/mtg/src/OptionItem.cpp b/projects/mtg/src/OptionItem.cpp index 20b2ee05a..becc9970f 100644 --- a/projects/mtg/src/OptionItem.cpp +++ b/projects/mtg/src/OptionItem.cpp @@ -677,7 +677,10 @@ void OptionTheme::Render(){ if(!bChecked){ author = ""; bChecked = true; - sprintf(buf,RESPATH"/themes/%s/themeinfo.txt",selections[value].c_str()); + if(selections[value] == "Default") + sprintf(buf,RESPATH"/graphics/themeinfo.txt"); + else + sprintf(buf,RESPATH"/themes/%s/themeinfo.txt",selections[value].c_str()); std::ifstream file(buf); if(file){ string temp;