2000-05-28 13:40:48 +00:00
|
|
|
;
|
2002-06-04 22:49:09 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
|
|
|
; 25.12.99
|
|
|
|
|
|
|
|
; char DlgBoxYesNo (char *line1,char *line2);
|
|
|
|
|
|
|
|
.export _DlgBoxYesNo
|
2001-07-04 22:08:13 +00:00
|
|
|
.import DB_get2lines, _DoDlgBox
|
2000-05-28 13:40:48 +00:00
|
|
|
.importzp ptr3, ptr4
|
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "geossym.inc"
|
|
|
|
.include "const.inc"
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
_DlgBoxYesNo:
|
2012-02-08 15:54:44 +00:00
|
|
|
jsr DB_get2lines
|
|
|
|
lda #<paramStrYesNo
|
|
|
|
ldx #>paramStrYesNo
|
|
|
|
jmp _DoDlgBox
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2002-06-04 22:49:09 +00:00
|
|
|
.rodata
|
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
paramStrYesNo:
|
2012-02-08 15:54:44 +00:00
|
|
|
.byte DEF_DB_POS | 1
|
|
|
|
.byte DBVARSTR, TXT_LN_X, TXT_LN_2_Y, ptr3
|
|
|
|
.byte DBVARSTR, TXT_LN_X, TXT_LN_3_Y, ptr4
|
|
|
|
.byte YES, DBI_X_0, DBI_Y_2
|
|
|
|
.byte NO, DBI_X_2, DBI_Y_2
|
|
|
|
.byte NULL
|