1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
;==========================================================================================================================================================================================================
; HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER
;==========================================================================================================================================================================================================
;{
%include "1.ASM\HackEngine\Headers\source\source_def.h"
%include "1.ASM\HackEngine\Headers\source\source_macro.h"
%include "1.ASM\HackEngine\Headers\WinAPI\WinAPI_def.h"
%include "1.ASM\HackEngine\Headers\WinAPI\WinAPI_macro.h"
%include "1.ASM\HackEngine\Headers\library\ASM_library.h"
%include "1.ASM\HackEngine\Headers\function_ext.h"
;}
;==========================================================================================================================================================================================================
; END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER END_HEADER
;==========================================================================================================================================================================================================
;==========================================================================================================================================================================================================
; CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE CODE
;==========================================================================================================================================================================================================
[section .code]
;{
start:
;{
mov [instance] , rcx
mov [previous_instance], rdx
mov [cmd_line] , r8
mov [cmd_show] , r9d
LoadImageA_ 0, "data\Hackengine_logo.ico", IMAGE_ICON, 0, 0, LR_LOADFROMFILE
mov [init_windows.icon_program], rax
system_ "color 0A"
system_ "title HackEngine"
; Set personalize resolution
mov [float_length], f32(1203.0)
mov [float_width ], f32(899.0)
mov [int_length ], i32(1203)
mov [int_width ], i32(899)
call_ set_info_screen, init_windows
.l1:
;{
call_ windows_event, show_fps
;}
jif [quit] ,=, i32 false, .l1
system_ "echo DONE"
ret
;}
;}
;==========================================================================================================================================================================================================
; END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE END_CODE
;==========================================================================================================================================================================================================
;==========================================================================================================================================================================================================
; FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION FUNCTION
;==========================================================================================================================================================================================================
[section .code]
;{ |
Partager