Rev 1518 | Rev 1522 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1518 | Rev 1520 | ||
---|---|---|---|
Line 10... | Line 10... | ||
10 | include '../../../proc32.inc' |
10 | include '../../../proc32.inc' |
11 | include '../../../macros.inc' |
11 | include '../../../macros.inc' |
12 | include '../../../system/launch/trunk/mem.inc' |
12 | include '../../../system/launch/trunk/mem.inc' |
13 | include '../../../develop/libraries/libs-dev/.test/dll.inc' |
13 | include '../../../develop/libraries/libs-dev/.test/dll.inc' |
14 | include '../../../develop/libraries/box_lib/trunk/box_lib.mac' |
14 | include '../../../develop/libraries/box_lib/trunk/box_lib.mac' |
- | 15 | ;include '../../../system/board/trunk/debug.inc' |
|
Line 15... | Line 16... | ||
15 | 16 | ||
Line 16... | Line 17... | ||
16 | ;;===Define_chapter============================================================================================================ |
17 | ;;===Define_chapter============================================================================================================ |
17 | 18 | ||
Line 53... | Line 54... | ||
53 | inc eax |
54 | inc eax |
54 | jmp @b |
55 | jmp @b |
55 | @@: |
56 | @@: |
56 | mov dword[eax], '.ini' |
57 | mov dword[eax], '.ini' |
Line 57... | Line 58... | ||
57 | 58 | ||
58 | invoke ini.get_int, cur_dir_path, aPreferences, aSpeed, 70 |
59 | invoke ini.get_int, cur_dir_path, aPreferences, aSpeed, 80 |
59 | neg eax |
60 | neg eax |
60 | add [time_wait_limit], eax |
61 | add [time_wait_limit], eax |
61 | invoke ini.get_int, cur_dir_path, aPreferences, aDecorations, 1 |
62 | invoke ini.get_int, cur_dir_path, aPreferences, aDecorations, 2 |
Line 62... | Line 63... | ||
62 | mov [decorations], al |
63 | mov [decorations], al |
63 | 64 | ||
64 | invoke ini.get_color, cur_dir_path, aColors, aBackground_color, 0x000000 |
65 | invoke ini.get_color, cur_dir_path, aColors, aBackground_color, 0x000000 |
Line 96... | Line 97... | ||
96 | or [score_number_color], eax |
97 | or [score_number_color], eax |
97 | invoke ini.get_color, cur_dir_path, aColors, aHiscore_number_color, 0x00ffffff |
98 | invoke ini.get_color, cur_dir_path, aColors, aHiscore_number_color, 0x00ffffff |
98 | or [hiscore_number_color], eax |
99 | or [hiscore_number_color], eax |
99 | invoke ini.get_color, cur_dir_path, aColors, aChampion_name_color, 0x80ffffff |
100 | invoke ini.get_color, cur_dir_path, aColors, aChampion_name_color, 0x80ffffff |
100 | or [champion_name_color], eax |
101 | or [champion_name_color], eax |
- | 102 | invoke ini.get_color, cur_dir_path, aColors, aEdit_box_selection_color, 0x00aa00 |
|
- | 103 | or [edit1+0x10], eax |
|
- | 104 | ||
- | 105 | mov eax, [background_color] |
|
- | 106 | mov [edit1+0x0C], eax |
|
- | 107 | mov [edit1+0x14], eax |
|
- | 108 | mov [edit1+0x18], eax |
|
- | 109 | mov eax, [game_over_hiscore_color] |
|
- | 110 | mov [edit1+0x1C], eax |
|
Line 101... | Line 111... | ||
101 | 111 | ||
102 | include 'first_menu.asm' ; First menu body and functions |
112 | include 'first_menu.asm' ; First menu body and functions |
103 | include 'level.asm' ; Level body and functions (game process) |
113 | include 'level.asm' ; Level body and functions (game process) |
104 | include 'pause.asm' ; Pause body and functions |
114 | include 'pause.asm' ; Pause body and functions |
Line 682... | Line 692... | ||
682 | aChampion_string_color db 'Champion_string_color',0 |
692 | aChampion_string_color db 'Champion_string_color',0 |
683 | aGame_over_hiscore_color db 'Game_over_hiscore_color',0 |
693 | aGame_over_hiscore_color db 'Game_over_hiscore_color',0 |
684 | aScore_number_color db 'Score_number_color',0 |
694 | aScore_number_color db 'Score_number_color',0 |
685 | aHiscore_number_color db 'Hiscore_number_color',0 |
695 | aHiscore_number_color db 'Hiscore_number_color',0 |
686 | aChampion_name_color db 'Champion_name_color',0 |
696 | aChampion_name_color db 'Champion_name_color',0 |
- | 697 | aEdit_box_selection_color db 'Edit_box_selection_color',0 |
|
Line 687... | Line 698... | ||
687 | 698 | ||
Line 688... | Line 699... | ||
688 | edit1 edit_box 100,397,278,0x000000,0x00aa00,0x000000,0x000000,0x80ffdd44,15,hed,mouse_dd,ed_focus,hed_end-hed-1,hed_end-hed-1 |
699 | edit1 edit_box 100,397,278,0x000000,0x000000,0x000000,0x000000,0x80000000,15,hed,mouse_dd,ed_focus,hed_end-hed-1,hed_end-hed-1 |
689 | 700 | ||
690 | hed db '',0 |
701 | hed db '',0 |
691 | hed_end: |
- | |
Line 692... | Line 702... | ||
692 | rb 256 |
702 | hed_end: |
Line 693... | Line 703... | ||
693 | ed_buffer rb 100 |
703 | rb 256 |
694 | 704 |