Re: To Insolor and those interested in dos rescue programme
- Posted by Insolor Nov 27, 2012
- 3076 views
Selgor, I see there are two polygons in your program. It is possible to make nearly unlimited number of polys using a sequence of them.
Another thing is that there should be `include mouse_rescue.ew` instead of `include mouse.e` to use a mouse. mouse_rescue.ew contains routines equivalent to the ones from the mouse.e, except they are working in the windows environment. And even more, get_mouse() form the mouse_rescue.ew catches mouse wheel events.
I plan to make documentation for dos rescue, but unlikely I'll do this soon.
Btw, lately I've uploaded dos_rescue for Euphoria 4.* Win32 platform to bitbucket.org: https://bitbucket.org/insolor/dos_rescue
The package can be downloaded from the following link: https://bitbucket.org/insolor/dos_rescue/get/tip.zip
The main changes are:
- dropped Eu3 support (allows to use `override` in order use overrided builtins without explicit namespace qualifier i.e. without `dos_rescue:`)
- added full screen simulation mode (toggle with alt+enter)
- proportional zoom when the window is maximized and in the full screen mode (when possible)
- some minor improvements
Possible further improvements:
- True color (24bpp) support
- Multithreading to avoid explicit task_yield() calls. Although as I recall currently Euphoria interpreter isn't thread safe, so this is not easy to do.