mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 19:50:22 +00:00
Patch to adjust paths so the work for Linux as well as Windows. Minor change to libqb.cpp so _PRINTSTRING can print to SCREEN 0 without errors.
This commit is contained in:
parent
539303a833
commit
d3d32505dd
|
@ -20098,7 +20098,15 @@ void sub_mkdir(qbs *str){
|
|||
}
|
||||
static img_struct *im;
|
||||
im=&img[i];
|
||||
if (im->text){error(5); return;}//graphics modes only
|
||||
if (!text->len) return;
|
||||
if (im->text){
|
||||
int oldx = func_pos(0), oldy = func_csrlin();
|
||||
qbg_sub_locate(y, x, 0, 0, 0, 3);
|
||||
qbs_print(text, 0);
|
||||
qbg_sub_locate(oldy, oldx, 0, 0, 0, 3);
|
||||
return;
|
||||
}
|
||||
//graphics modes only
|
||||
if (!text->len) return;
|
||||
//Step?
|
||||
if (passed&1){im->x+=x; im->y+=y;}else{im->x=x; im->y=y;}
|
||||
|
|
|
@ -1 +1 @@
|
|||
'$INCLUDE:'Steve Stuff-ID_Includes.bi'
|
||||
'$INCLUDE:'internal/source/User Mods/Steve Stuff-ID_Includes.bi'
|
||||
|
|
5
qb64.bas
5
qb64.bas
|
@ -23619,11 +23619,12 @@ id.ret = LONGTYPE - ISPOINTER
|
|||
id.NoCloud = 1
|
||||
regid
|
||||
|
||||
reginternalsubfunc = 0
|
||||
|
||||
'Change on 06/19/2014 by Steve to allow for easier additions to the Code Id without
|
||||
'people having to come into the QB64.bas source directly and make changes.
|
||||
'$INCLUDE:'internal\source\User Mods\User Mod List.bi'
|
||||
'$INCLUDE:'internal/source/User Mods/User Mod List.bi'
|
||||
reginternalsubfunc = 0
|
||||
|
||||
|
||||
END SUB
|
||||
|
||||
|
|
Loading…
Reference in a new issue