Mercurial > public > hwos_code
diff src/text_multilang.inc @ 623:c40025d8e750
3.03 beta released
author | heinrichsweikamp |
---|---|
date | Mon, 03 Jun 2019 14:01:48 +0200 |
parents | ca4556fb60b9 |
children | 4050675965ea |
line wrap: on
line diff
--- a/src/text_multilang.inc Wed Apr 10 10:51:07 2019 +0200 +++ b/src/text_multilang.inc Mon Jun 03 14:01:48 2019 +0200 @@ -1,6 +1,6 @@ ;============================================================================= ; -; File text_multilang.inc +; File text_multilang.inc combined next generation V3.0.1 ; ; Implementation of texts in various selectable languages ; @@ -33,6 +33,7 @@ ;============================================================================= ; Pass 1: generate a jump table and define labels +; TCODE_1 macro label, text tcode_idx set tcode_idx+1 If LANG == 0 @@ -41,14 +42,17 @@ Endif dw t#v(LANG)_#v(tcode_idx) endm + + +; Pass 2: generates string table ; -; Pass 2: generates string table TCODE_2 macro label, text tcode_idx set tcode_idx+1 t#v(LANG)_#v(tcode_idx): db text, 0 endm -; + + ;============================================================================= ; strcpy_text : copy a multiling text into string buffer ; @@ -56,8 +60,10 @@ ; Output : Buffer filled with the text ; FSR2 pointer to end of copied text (the null char) ; Trashed: WREG + extern strcpy_text + ;============================================================================= ; strcpy_text_print : same as above, but calls word processor afterward ; @@ -65,8 +71,10 @@ ; Output : Buffer filled with the text. ; FSR2 pointer to end of copied text (the null char) ; Trashed: WREG + extern strcpy_text_print + ;============================================================================= ; strcat_text : append a multiling text to FSR2 pointer ; @@ -74,8 +82,10 @@ ; FSR2 current position (in buffer) ; Output : FSR2 pointer to end of copied text (the null char) ; Trashed: WREG + extern strcat_text + ;============================================================================= ; strcat_text_print : aame as above, but calls word processor afterward ; @@ -83,5 +93,6 @@ ; FSR2 current position (in buffer) ; Output : FSR2 pointer to end of copied text (the null char) ; Trashed: WREG + extern strcat_text_print