Subversion Repositories Kolibri OS

Rev

Rev 5409 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5409 Rev 5421
Line 4... Line 4...
4
 
4
 
5
:void Libimg_LoadImage(dword struct_pointer, file_path)
5
:void Libimg_LoadImage(dword struct_pointer, file_path)
6
{
6
{
7
	dword image_pointer;
7
	dword image_pointer;
8
	image_pointer = load_image(file_path);
8
	image_pointer = load_image(file_path);
9
	if (!image_pointer) notify("Error: Image not loaded");
9
	if (!image_pointer) notify("'Error: Image not loaded' -E");
10
	ESDWORD[struct_pointer] = image_pointer;
10
	ESDWORD[struct_pointer] = image_pointer;
11
	ESDWORD[struct_pointer+4] = DSWORD[image_pointer+4];
11
	ESDWORD[struct_pointer+4] = DSWORD[image_pointer+4];
12
	ESDWORD[struct_pointer+8] = DSWORD[image_pointer+8];
12
	ESDWORD[struct_pointer+8] = DSWORD[image_pointer+8];