Euphoria Ticket #185: Linux langwar crash

demo/langwar/Linux$ eui lw.exu  
lw.exu:7 
<0074>:: Errors resolving the following references: 
    ./weapons.e (224): sound 
    ./weapons.e (210): sound 
    ./weapons.e (155): sound 
    ./weapons.e (141): sound 
    ./weapons.e (139): sound 
    ./weapons.e (123): sound 
    ./weapons.e (99): sound 
    ./soundeff.e (69): sound 
    ./soundeff.e (66): sound 
    ./soundeff.e (64): sound 
    ./soundeff.e (58): sound 
    ./soundeff.e (55): sound 
    ./soundeff.e (53): sound 
    ./soundeff.e (47): sound 
    ./soundeff.e (45): sound 
    ./soundeff.e (40): sound 
    ./soundeff.e (38): sound 
    ./soundeff.e (33): sound 
    ./soundeff.e (30): sound 
    ./soundeff.e (28): sound 
    ./soundeff.e (22): sound 
    ./soundeff.e (19): sound 
    ./soundeff.e (15): sound 
    ./soundeff.e (9): sound 
    ./soundeff.e (7): sound 
 
    sound(1000) 
         ^ 
Press Enter 

Details

Type: Bug Report Severity: Normal Category: Demo Program
Assigned To: mattlewis Status: Fixed Reported Release: 3344
Fixed in SVN #: 3542 View VCS: 3542 Milestone:

1. Comment by SPringle Aug 11, 2010

There should be only one set of sources for langwar. That's why there is ifdef or platform().

2. Comment by jimcbrown Aug 11, 2010

I think the difference is that the older version of langwar for DOS used text character based "graphics", and this was kept for the Linux version. Whereas the newer version of langwar was DOS specific (to the point where it had issues running on Vista because of DOS graphics support there), but took advantage of more powerful DOS graphics library.

Bernie Ryan's SVGAlib for Linux (or EU_ENGIN) could be used to port the DOS-graphics version of langwar to any Unix system that supported SVGAlib, and dos_rescue could be used to bring it back for WIndows.

I also believe I'd documented elsewhere a generic cross-unix method to implement sound().

3. Comment by SPringle Aug 16, 2010

This now works on Windows. The problem is C still rules the galaxy.

4. Comment by mattlewis Oct 22, 2010

Fixed the signature for sound() empty routine for non-Windows.

Search



Quick Links

User menu

Not signed in.

Misc Menu