/programs/cmm/diff/diff.c |
---|
75,7 → 75,7 |
dstfilename = #param + strlen(#param) + 3; |
return true; |
} |
notify("'Wrong params specified. Use next format:\nAPPPATH \"PARAM1\" \"PARAM2\"' -E"); |
notify("'Wrong params! Use format:\nAPPPATH \"PARAM1\" \"PARAM2\"' -E"); |
return false; |
} |
/programs/cmm/the_bus/the_bus.c |
---|
130,12 → 130,8 |
road.load(abspath("road.png")); |
objects.load(abspath("objects.png")); |
loop() |
loop() switch(@WaitEventTimeout(frame_timeout)) |
{ |
WaitEventTimeout(frame_timeout); |
switch(EAX & 0xFF) |
{ |
case evKey: |
GetKeys(); |
if (key_scancode == SCAN_CODE_ESC) |
238,7 → 234,6 |
} |
} |
} |
} |
void NewLevel() |
{ |
/programs/cmm/tmpdisk/t_gui.c |
---|
55,13 → 55,14 |
word id; |
int x; |
#define NO_DLL_INIT |
load_dll(boxlib, #box_lib_init,0); |
GetNewSizeDisk(); |
edit_disk_size.left = strlen(SIZE_TEXT)*8 + 13; |
SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER); |
@SetEventMask(EVM_REDRAW + EVM_KEY + EVM_BUTTON + EVM_MOUSE + EVM_MOUSE_FILTER); |
loop() |
{ |
switch(WaitEvent()) |
switch(@WaitEvent()) |
{ |
case evMouse: |
edit_box_mouse stdcall (#edit_disk_size); |
68,7 → 69,7 |
break; |
case evButton: |
id=GetButtonID(); |
id = @GetButtonID(); |
if (id==1) return; |
if (id==10) AddDisk(); |
if (id==11) { |
/programs/cmm/tmpdisk/tmpdisk.c |
---|
52,8 → 52,7 |
void main() |
{ |
driver_handle = LoadDriver("tmpdisk"); |
if (driver_handle==0) |
if (! driver_handle = LoadDriver("tmpdisk")) |
{ |
notify("'TmpDisk\nError: /rd/1/drivers/tmpdisk.obj driver loading failed\nVirtual disk wouldn't be added' -tE"); |
ExitProcess(); |