Hey,
It works!
Only one problem: The 'ReadFile()' functions in the main file need a 'littleendian::' in front of them, eg:
But apart from that, sounds are OK, all looks honky dory.
This is another thing - like case sensitive file names under UNIX filesystems - I was unsure whether it was worth trying to automate. In the end, I couldn't really work out how - forcing a stream to be littleendian or bigendian by default seemed a bit heavy handed.
But these are the only 2 major cross platform issues that seem to arise. The solutions are pretty simple: Beware of cased file names (or even easier, stick to lowercase only!), and use "bigendian::" or "littleendian::" for all binary data streams - doesn't matter which, as long as its consistent.
A note about the debugger - it doesn't work (yet) in full screen. But you can use a graphics depth of '0' to force a debugger friendly windowed mode for development.
[edit]Killed your Loadmap report, dmaz - above should fix it[/edit]
It works!
Only one problem: The 'ReadFile()' functions in the main file need a 'littleendian::' in front of them, eg:
Local file = ReadFile("littleendian::lvldat") If file = Null file = ReadFile("littleendian::"+rootPath + "lvldat") EndIf Assert file, "Error opening lvl.dat file"
But apart from that, sounds are OK, all looks honky dory.
This is another thing - like case sensitive file names under UNIX filesystems - I was unsure whether it was worth trying to automate. In the end, I couldn't really work out how - forcing a stream to be littleendian or bigendian by default seemed a bit heavy handed.
But these are the only 2 major cross platform issues that seem to arise. The solutions are pretty simple: Beware of cased file names (or even easier, stick to lowercase only!), and use "bigendian::" or "littleendian::" for all binary data streams - doesn't matter which, as long as its consistent.
A note about the debugger - it doesn't work (yet) in full screen. But you can use a graphics depth of '0' to force a debugger friendly windowed mode for development.
[edit]Killed your Loadmap report, dmaz - above should fix it[/edit]