Gamestudio Links
Zorro Links
Newest Posts
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
TMFs on options in live trading
by Spirit. 03/26/26 19:52
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,151 guests, and 39 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Geir, ondrej, mredit, vestriaa, Lukudo
19206 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to put my panel bitmaps in a separate directory #410405
11/02/12 16:07
11/02/12 16:07
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
I'm facing a very simple problem, as when I move my bitmap files in a separate directory inside my project directory, it gives me a syntax error "Bitmap unknown images"

//the below code give a syntax error
PANEL* Background =
{
bmap = "images\bg.png";
}


When I move my bitmap files back to my original directory it works fine
PANEL* Background =
{
bmap = "bg.png";
}

Thanks in advance guys

Re: How to put my panel bitmaps in a separate directory [Re: Badrizmo] #410406
11/02/12 16:59
11/02/12 16:59
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
keep bmap = "bg.png"; and use #define PRAGMA_PATH "images" at the beginning of your code-file (where the #includes are located, too)


POTATO-MAN saves the day! - Random
Re: How to put my panel bitmaps in a separate directory [Re: Kartoffel] #410407
11/02/12 17:06
11/02/12 17:06
Joined: Apr 2010
Posts: 56
Badrizmo Offline OP
Junior Member
Badrizmo  Offline OP
Junior Member

Joined: Apr 2010
Posts: 56
Thanks a lot for your feedback, I will try that and I will let you know the result.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1