
I spent some time developing this extension, it is a set of utility functions.
I used several dlls of the forum, and simplified the functions.
and also i have created several functions in gml.
this extension has some 200 functions.
people might think that an extension with so many functions can cause lag in the game...
and I can say that those people are wrong!
inspired by languages like C + + / c # / java I created a method of use of functions.
I put the functions in "headers"
so the program will load only the functions that the programmer chooses.
the programmer can choose the header using the function "using"
eg:
using("header.h");
all the functions of gmLIBRARY were divided into headers
eg
graphic functions were stored in the header gui.h
functions of the system were stored in the header system.h
functions of the windows were stored header windows.h
functions of pathfinder were stored in the header path.h
functions of connecção were stored in the header 39dll.h
functions of cryptografação/md5 were stored in the header crypt.h
the programmer can include these headers in the game in the following ways
using("windows.h");or
using("gui.h|system.h|path.h|and others...");
some features of gmLIBRARY
Internet Access / creating windows of navigation within the game maker / read characters from the internet
encryption is descriptografação/md5
string expansion as stplit() and split_ext() find_string() string_copy_at()
quick access to ds_list get_ds and sizeof()
support the chatbox widget and many other functions
system functions as
get_hd(), fopen(), fwrite(), fread(), fclose(), eof(); pause();
sys_computer_name();// get name of computer
sys_country();// get country
sys_language();// get language
sys_os();// get operational system
sys_username();// get username
sys_drive_size();// get driver size eg: "C: \";
sys_clear_memory();
and others ...
media functions to play video and music
media_load();
media_play();
and others ...
functions to download files from the Internet
web_create_download();
web_start_download();
web_get_complete();
and others ...
Compression functions
zip_create();
zip_add_file();
zip_close();
and others ...
drag support, allows the programmer to drag files into the window of the game maker
drag_enable();
drag_numb();
drag_get_file();
struct suport
struct();
dsctruc();
joystick suport
js_check();
js_pressed();
js_released();
and others...
pathfinder suport
path_init();
path_block();
path_find();
and others...
drawing functions
draw_star();
draw_poly();
tray icon suport
tray_init();
tray_text();
tray_icon();
and others...
and much more...
Download[.zip][731 kbts]
Download gmlibrary.zip from Host-A
Thanks to the developers of dlls used ^^
Edited by ChaosMaker, 29 April 2011 - 06:19 AM.













