/programs/cmm/Calypte/Calypte.c |
127,7 → 127,6 |
strcpy(#menu_text_area1.sub_menu4, MENU1_SUBMENU4); |
menu_text_area1.end = 0; |
|
mem_Init(); |
load_dll(boxlib, #box_lib_init,0); |
load_dll(libio, #libio_init,1); |
load_dll(Proc_lib, #OpenDialog_init,0); |
/programs/cmm/appearance/appearance.c |
164,7 → 164,6 |
{ |
int id, key, mouse_clicked; |
|
mem_Init(); |
SetEventMask(0x27); |
load_dll(boxlib, #box_lib_init,0); |
list[SKINS].current = list[WALLPAPERS].current = -1; |
/programs/cmm/browser/WebView.c |
122,7 → 122,6 |
int half_scroll_size; |
int scroll_used=0, show_menu; |
|
mem_Init(); |
CursorPointer.Load(#CursorFile); |
load_dll(boxlib, #box_lib_init,0); |
load_dll(libio, #libio_init,1); |
/programs/cmm/dicty/dicty.c |
34,7 → 34,7 |
void main() |
{ |
int id, key; |
mem_Init(); |
|
load_dll(boxlib, #box_lib_init,0); |
|
dict_folder = abspath(DICT_DIRECROTY); |
/programs/cmm/downloader/Downloader.c |
48,7 → 48,6 |
char filepath[4096]; |
char notify_message[4296]; |
|
mem_Init(); |
load_dll(boxlib, #box_lib_init,0); |
load_dll(libio, #libio_init,1); |
load_dll(libHTTP, #http_lib_init,1); |
/programs/cmm/end/end.c |
52,7 → 52,6 |
int key; |
dword s1,s2, s3, s4, sides_w,i; |
|
mem_Init(); |
WIN_SIZE_X=GetScreenWidth()+1; |
WIN_SIZE_Y=GetScreenHeight()+1; |
PANEL_X=WIN_SIZE_X-PANEL_SIZE_X/2; |
/programs/cmm/eolite/Eolite.c |
179,7 → 179,7 |
char IPC_BUF[10]; |
dword tmp; |
rand_n = random(40); |
mem_Init(); |
|
load_dll(boxlib, #box_lib_init,0); |
load_dll(libini, #lib_init,1); |
eolite_ini_path = abspath("Eolite.ini"); |
/programs/cmm/installer/installer.c |
14,7 → 14,7 |
|
void main() |
{ |
mem_Init(); |
|
SetAddApplDir("kolibrios", abspath("kolibrios")+1); |
RunProgram("/sys/media/kiv", "\\S__/kolibrios/res/Wallpapers/In the wind there is longing.png"); |
copyf(abspath("tmp"), "/tmp0/1"); |
/programs/cmm/lib/kolibri.h |
959,7 → 959,14 |
//program_path_length = strlen(I_Path); |
MOUSE_TIME = 50; //Default 500 ms. |
__generator = GetStartTime(); |
//mem_Init(); |
|
$push ebx |
$mov eax, 68 |
$mov ebx, 11 |
$int 0x40 |
|
$pop ebx |
|
main(); |
} |
______STOP______: |
/programs/cmm/liza/liza.c |
100,7 → 100,7 |
#include "parselist.c" |
|
void main() { |
mem_Init(); |
|
CursorPointer.Load(#CursorFile); |
load_dll(boxlib, #box_lib_init,0); |
load_dll(network_lib, #network_lib_init,0); |
/programs/cmm/notify/notify.c |
118,7 → 118,6 |
//emulate multithread :) |
while (GetPixelColor(SCREEN_SIZE_X-1, SCREEN_SIZE_X, WIN_Y)==0x333333) WIN_Y+=WIN_SIZE_Y+17; |
|
mem_Init(); |
shadow_buf_24 = malloc(WIN_SIZE_X*WIN_SIZE_Y*3); |
shadow_buf_32 = malloc(WIN_SIZE_X*WIN_SIZE_Y*4+8); |
lighter_pixel1 = malloc(3); |
/programs/cmm/ttf_viewer/ttf_viewer.c |
38,7 → 38,6 |
{ |
int id, key; |
|
mem_Init(); |
load_dll(libtruetype, #truetype, 1); |
load_dll(Proc_lib, #OpenDialog_init,0); |
OpenDialog_init stdcall (#o_dialog); |