Age | Commit message (Collapse) | Author |
|
This gives _much_ more useful readline behavior,
since (ice-9 readline) actually knows how to autocomplete
based on the scheme environment, handle multi-line input, etc.;
and properly displays return values and error-messages,
and supports switching to different front-end programming languages
like ecmascript.
Note that we're keeping catch_handler so that we have a chance
of diagnosing problems that could _conceivably_ occur
when interacting with guile during bootstrap
(e.g.: missing readline support, changed REPL API...).
|
|
|
|
This avoids weird off-by-1 errors in the GUI counters at game end.
|
|
Users should no longer need to run from an xterm to see
to see things like final energy/score/odometry stats,
map-file path, copyright, load-messages, etc.
Note that this also means we no longer need to redirect readline,
since we're just redirecting *everything*.
|
|
After some of the restructuring that was involved
in the inversion of the GTK+/guile threads,
these variables are no longer needed.
Though note that we do actually still busywait
specifically on creation of the map.
|
|
Making the GTK+ thread the main thread, and subordinating the guile thread,
lets the GUI continue to live after the robot has died--
which means that we'll be able to switch to just doing
everything in the GUI without requiring a separate xterm
to see the final stats after the robot dies.
|
|
This seems a lot more natural for scheme code.
|
|
Even if there's no movement to animate per se, we still want
to be able to see the energy/shields stats decrementing
as we bump into things--otherwise we might be surprised
when our robots suddenly dies with our counters all still
_apparently_ well above zero!
Note that we're still charging only 1 hit against energy and shields
per failed move *command* regardless of how many spaces
the robot was attempting to go....
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746000>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Add initial ui update to avoid corruption.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|
|
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
|