Found a bug? Report it here.
Moderator: PPS-Leaders
-
Nowic
- Thanathon, God of the lower Planes
- Posts: 186
- Joined: Tue Oct 03, 2006 7:53 pm
- Location: Zürich
-
Contact:
Post
by Nowic » Sat Feb 03, 2007 6:51 pm
If you don't specify a loadbar in the level xml file, the default bar gets loaded, but without loadbar image.
Patch suggestion:
Code: Select all
Index: src/story_entities/game_world_data.cc
===================================================================
--- src/story_entities/game_world_data.cc (Revision 10565)
+++ src/story_entities/game_world_data.cc (Arbeitskopie)
@@ -204,6 +204,10 @@
PRINTF(2)("no LoadScreen specified, loading default\n");
glmis->setBackgroundImage("textures/load_screens/default.jpg");
+ glmis->setPosScale(0.0,0.0,1.0,1.0);
+ glmis->setBarImage("textures/load_screens/default_bar.png");
+ glmis->setBarPosScale(0.65,0.87,0.3,0.05);
+
this->glmis->setMaximum(8);
// this->glmis->draw();
}
Last edited by
Nowic on Tue Feb 20, 2007 8:54 pm, edited 1 time in total.
"I've always lived cheaply. I live like a student, basically. And I like that because it means that money is not telling me what to do. I can do what I think is important for me to do. It freed me to do what seemed worth doing." -- Richard Stallman
-
beni
- Baron Vladimir Harkonnen
- Posts: 949
- Joined: Tue Oct 03, 2006 9:15 am
- Location: Zurich
-
Contact:
Post
by beni » Sat Feb 03, 2007 6:54 pm
I like it. Good idea.
"I'm Commander Shepard and this is my favorite forum on the internet."
-
Nowic
- Thanathon, God of the lower Planes
- Posts: 186
- Joined: Tue Oct 03, 2006 7:53 pm
- Location: Zürich
-
Contact:
Post
by Nowic » Tue Feb 20, 2007 5:45 pm
Commited to the cleanup branch...
"I've always lived cheaply. I live like a student, basically. And I like that because it means that money is not telling me what to do. I can do what I think is important for me to do. It freed me to do what seemed worth doing." -- Richard Stallman
-
beni
- Baron Vladimir Harkonnen
- Posts: 949
- Joined: Tue Oct 03, 2006 9:15 am
- Location: Zurich
-
Contact:
Post
by beni » Tue Feb 20, 2007 8:19 pm
...and therefore closed, thanks!
"I'm Commander Shepard and this is my favorite forum on the internet."
Who is online
Users browsing this forum: No registered users and 2 guests