mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-17 03:13:55 +00:00
ba7f80e361
This reverts commit ad0e5e4ef3
.
239 lines
9.9 KiB
Text
239 lines
9.9 KiB
Text
int32 *_FUNC_IDEMESSAGEBOX_LONG_IDEMESSAGEBOX=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_IDEMESSAGEBOX==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_IDEMESSAGEBOX=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_IDEMESSAGEBOX=0;
|
|
}
|
|
qbs*oldstr6008=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_STRING_TITLESTR->tmp||_FUNC_IDEMESSAGEBOX_STRING_TITLESTR->fixed||_FUNC_IDEMESSAGEBOX_STRING_TITLESTR->readonly){
|
|
oldstr6008=_FUNC_IDEMESSAGEBOX_STRING_TITLESTR;
|
|
if (oldstr6008->cmem_descriptor){
|
|
_FUNC_IDEMESSAGEBOX_STRING_TITLESTR=qbs_new_cmem(oldstr6008->len,0);
|
|
}else{
|
|
_FUNC_IDEMESSAGEBOX_STRING_TITLESTR=qbs_new(oldstr6008->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEMESSAGEBOX_STRING_TITLESTR->chr,oldstr6008->chr,oldstr6008->len);
|
|
}
|
|
qbs*oldstr6009=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR->tmp||_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR->fixed||_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR->readonly){
|
|
oldstr6009=_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR;
|
|
if (oldstr6009->cmem_descriptor){
|
|
_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR=qbs_new_cmem(oldstr6009->len,0);
|
|
}else{
|
|
_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR=qbs_new(oldstr6009->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEMESSAGEBOX_STRING_MESSAGESTR->chr,oldstr6009->chr,oldstr6009->len);
|
|
}
|
|
qbs*oldstr6010=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_STRING_BUTTONS->tmp||_FUNC_IDEMESSAGEBOX_STRING_BUTTONS->fixed||_FUNC_IDEMESSAGEBOX_STRING_BUTTONS->readonly){
|
|
oldstr6010=_FUNC_IDEMESSAGEBOX_STRING_BUTTONS;
|
|
if (oldstr6010->cmem_descriptor){
|
|
_FUNC_IDEMESSAGEBOX_STRING_BUTTONS=qbs_new_cmem(oldstr6010->len,0);
|
|
}else{
|
|
_FUNC_IDEMESSAGEBOX_STRING_BUTTONS=qbs_new(oldstr6010->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEMESSAGEBOX_STRING_BUTTONS->chr,oldstr6010->chr,oldstr6010->len);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_FOCUS=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_FOCUS==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_FOCUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_FOCUS=0;
|
|
}
|
|
void *_FUNC_IDEMESSAGEBOX_UDT_P=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_UDT_P==NULL){
|
|
_FUNC_IDEMESSAGEBOX_UDT_P=(void*)mem_static_malloc(20);
|
|
memset(_FUNC_IDEMESSAGEBOX_UDT_P,0,20);
|
|
}
|
|
ptrszint *_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O=NULL;
|
|
if (!_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O){
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O=(ptrszint*)mem_static_malloc(9*ptrsz);
|
|
new_mem_lock();
|
|
mem_lock_tmp->type=4;
|
|
((ptrszint*)_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O)[8]=(ptrszint)mem_lock_tmp;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O[2]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O[4]=2147483647;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O[5]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O[6]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_UDT_O[0]=(ptrszint)nothingvalue;
|
|
}
|
|
qbs *_FUNC_IDEMESSAGEBOX_STRING1_SEP=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_STRING1_SEP==NULL){
|
|
_FUNC_IDEMESSAGEBOX_STRING1_SEP=qbs_new_fixed((uint8*)mem_static_malloc(1),1,0);
|
|
memset(_FUNC_IDEMESSAGEBOX_STRING1_SEP->chr,0,1);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_MESSAGELINES=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_MESSAGELINES==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_MESSAGELINES=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_MESSAGELINES=0;
|
|
}
|
|
ptrszint *_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE=NULL;
|
|
if (!_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE){
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE=(ptrszint*)mem_static_malloc(9*ptrsz);
|
|
new_mem_lock();
|
|
mem_lock_tmp->type=4;
|
|
((ptrszint*)_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE)[8]=(ptrszint)mem_lock_tmp;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE[2]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE[4]=2147483647;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE[5]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE[6]=0;
|
|
_FUNC_IDEMESSAGEBOX_ARRAY_STRING_FULLMESSAGE[0]=(ptrszint)¬hingstring;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_PREVSCAN=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_PREVSCAN==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_PREVSCAN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_PREVSCAN=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_NEXTSCAN=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_NEXTSCAN==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_NEXTSCAN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_NEXTSCAN=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_TW=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_TW==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_TW=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_TW=0;
|
|
}
|
|
byte_element_struct *byte_element_6012=NULL;
|
|
if (!byte_element_6012){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6012=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6012=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_W=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_W==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_W=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_W=0;
|
|
}
|
|
byte_element_struct *byte_element_6013=NULL;
|
|
if (!byte_element_6013){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6013=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6013=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_TOTALBUTTONS=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_TOTALBUTTONS==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_TOTALBUTTONS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_TOTALBUTTONS=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_I=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_I==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_I=0;
|
|
}
|
|
int64 fornext_value6015;
|
|
int64 fornext_finalvalue6015;
|
|
int64 fornext_step6015;
|
|
uint8 fornext_step_negative6015;
|
|
byte_element_struct *byte_element_6016=NULL;
|
|
if (!byte_element_6016){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6016=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6016=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_BUTTONSLEN=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_BUTTONSLEN==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_BUTTONSLEN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_BUTTONSLEN=0;
|
|
}
|
|
byte_element_struct *byte_element_6017=NULL;
|
|
if (!byte_element_6017){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6017=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6017=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_W2=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_W2==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_W2=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_W2=0;
|
|
}
|
|
byte_element_struct *byte_element_6018=NULL;
|
|
if (!byte_element_6018){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6018=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6018=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 pass6019;
|
|
int64 fornext_value6021;
|
|
int64 fornext_finalvalue6021;
|
|
int64 fornext_step6021;
|
|
uint8 fornext_step_negative6021;
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_F=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_F==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_F=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_F=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_CX=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_CX==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_CX=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_CX=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_CY=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_CY==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_CY=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_CY=0;
|
|
}
|
|
int64 fornext_value6024;
|
|
int64 fornext_finalvalue6024;
|
|
int64 fornext_step6024;
|
|
uint8 fornext_step_negative6024;
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_LASTFOCUS=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_LASTFOCUS==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_LASTFOCUS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_LASTFOCUS=0;
|
|
}
|
|
int64 fornext_value6026;
|
|
int64 fornext_finalvalue6026;
|
|
int64 fornext_step6026;
|
|
uint8 fornext_step_negative6026;
|
|
byte_element_struct *byte_element_6027=NULL;
|
|
if (!byte_element_6027){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6027=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6027=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_6028=NULL;
|
|
if (!byte_element_6028){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6028=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6028=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_CHANGE=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_CHANGE==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_CHANGE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_CHANGE=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_MOUSEDOWN=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_MOUSEDOWN==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_MOUSEDOWN=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_MOUSEDOWN=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_MOUSEUP=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_MOUSEUP==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_MOUSEUP=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_MOUSEUP=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_ALT=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_ALT==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_ALT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_ALT=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_OLDALT=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_OLDALT==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_OLDALT=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_OLDALT=0;
|
|
}
|
|
qbs *_FUNC_IDEMESSAGEBOX_STRING_ALTLETTER=NULL;
|
|
if (!_FUNC_IDEMESSAGEBOX_STRING_ALTLETTER)_FUNC_IDEMESSAGEBOX_STRING_ALTLETTER=qbs_new(0,0);
|
|
byte_element_struct *byte_element_6030=NULL;
|
|
if (!byte_element_6030){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6030=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6030=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_K=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_K==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_K=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_K=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_INFO=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_INFO==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_INFO=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_INFO=0;
|
|
}
|
|
int64 fornext_value6032;
|
|
int64 fornext_finalvalue6032;
|
|
int64 fornext_step6032;
|
|
uint8 fornext_step_negative6032;
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_T=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_T==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_T=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_T=0;
|
|
}
|
|
int32 *_FUNC_IDEMESSAGEBOX_LONG_FOCUSOFFSET=NULL;
|
|
if(_FUNC_IDEMESSAGEBOX_LONG_FOCUSOFFSET==NULL){
|
|
_FUNC_IDEMESSAGEBOX_LONG_FOCUSOFFSET=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEMESSAGEBOX_LONG_FOCUSOFFSET=0;
|
|
}
|