Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,466 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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