Here's the quick hack... Mark will probably want to implement it properly. (Mark, can't we just have a normal background thread running, rather than spewing out 1000 SIGALRMs every second, please? Both my VMs barf on it).
Anyhoo :-)
In BRL.mod/blitz.mod/blitz_app.h, add this line after the bbStartup(...
In BRL.mod/blitz.mod/blitz.app.c, look for the function "static void set_time_interval..."
After it, add this little function :
In BRL.mod/system.mod/system.linux.bmx, at the bottom is the OpenURL method.
Before the If statement, add :
and, after the EndIf statement, add :
One last thing...
At the bottom of that file, you need to add an extern :
Remember, this is a Linux-only fix. If you add the code as described and then try to build this on anything other than Linux, it probably won't compile (you have been warned ;-)
If in doubt, back up first... or better yet, don't start hacking at the modules!!
:o)
Enjoy
Anyhoo :-)
In BRL.mod/blitz.mod/blitz_app.h, add this line after the bbStartup(...
void bbset_time_interval(int ms);
In BRL.mod/blitz.mod/blitz.app.c, look for the function "static void set_time_interval..."
After it, add this little function :
void bbset_time_interval(int ms) { set_time_interval(ms); }
In BRL.mod/system.mod/system.linux.bmx, at the bottom is the OpenURL method.
Before the If statement, add :
bbset_time_interval(0)
and, after the EndIf statement, add :
bbset_time_interval(1)
One last thing...
At the bottom of that file, you need to add an extern :
Extern Function bbset_time_interval(n:int) End Extern
Remember, this is a Linux-only fix. If you add the code as described and then try to build this on anything other than Linux, it probably won't compile (you have been warned ;-)
If in doubt, back up first... or better yet, don't start hacking at the modules!!
:o)
Enjoy