i saw S.W.A.T. yesterday. i liked it. good action. :p
i’ll give it a 7/10.
while i was looking for some other answers, i found another interesting post on the comp.lang.ruby newsgroup.
how to capture the close-event from the main window assuming your using FXRuby :p (snippet from post):
theMainWindow.connect(SEL_CLOSE) do
Do fun things
verify_things
clean_up_things
if ok_to_quit?
All is well to shut down, so go ahead
and send the ID_QUIT message to the
application.
theMainWindow.app.handle(theMainWindow,
MKUINT (FXApp::ID_QUIT, SEL_COMMAND), nil)
else
#We’ve decided not to shut down after all
end
end
i never played this game, don’t know what it’s about but i definitely gonna try it out tonight :p
sweet! via zoran’s project i found out how to start an external process from ruby in a Win32 environment. it’s very straigth forward actually (as is everything in ruby) , here’s zoran’s code snippet:
# Need double quotes around filename if the path contains spaces
WMP9_EXE = ““C:\Program Files\Windows Media Player\wmplayer.exe”“
…# Type HELP START at the DOS/W prompt
# START “Window Name…” “EXE file” args
system “start” ““Window Name”“” ” + WMP9_EXE + ” ” + args
another java executable wrapper : JSmooth :)
one big difference though : this one is open source :p