|
0 registered members (),
2,164
guests, and 5
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314841
03/11/10 14:31
03/11/10 14:31
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
the work is the ???-folder Good, that was the important question. Its easy to get confused there, when you have projects hanging off the GStudio7\work folder. ??? is a secret, odd but understandable. I think it containing a space may be causing the E2000 problem, it may even be an engine bug then. I dont think the bmap is changing scale when you use ,0 but the panel may be re-scaling it if it is a different size to the panel. Thats the best I can guess without a working example or at least screen-shots.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314864
03/11/10 17:39
03/11/10 17:39
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
try this then...
color_pan.bmap = bmap_createblack(175,175,24);
BMAP* temp_bmap = bmap_createblack(32,32,24);
bmap_load(temp_bmap, open_bmap_str, 1);
bmap_blit(color_pan.bmap, temp_bmap, nullvector, vector(175,175,0));
bmap_remove(temp_bmap);
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: bmap_load problem
[Re: EvilSOB]
#314866
03/11/10 17:46
03/11/10 17:46
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
OP
Expert
|
OP
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
GREAT!  Sorry that i am an idiot ... one last question: CopyFile(dir_1,dir_2,TRUE); Should override if the file already exists? But it doesn't overide the old file...
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314869
03/11/10 18:01
03/11/10 18:01
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
If its the API function CopyFile then NO. True means DONT overwrite. Set it to FALSE to save the file "always". In the CopyFile API, that is a "Fail if already exists" flag.
If its a new function in the latest A7, Im not up-to-date here yet. Im still at 7.80
Last edited by EvilSOB; 03/11/10 18:02.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|