what if when i have a load_game_button how do i can code that through the use of lite C?? i have thi code in my game..
#include<acknex.h>
#include<default.c>
function save_game()
{
result = game_save("game",7,SV_ALL-SV_INFO);
if(result <= 0)
{
error("save error!");
game_save("info",0,SV_INFO+SV_STRINGS+SV_BMAPS);
}
printf("game save");
on_f1 = save_game;
}
void main()
{
on_f1 = save_game;
}
it works but how do i can load it by the using the button load_game??