Schik
Level: Legendary Smitemaster
Rank Points: 5381
Registered: 02-04-2003
IP: Logged
|
SGI/Unicode CFiles changes (0)
I finally got my SGI port/Unicode CFiles changes checked in. I did a new checkout, and DRODUtil and DROD are compiling clean. DRODUtil is broken, but Erik said he was redoing a lot of DRODUtil and not to worry.
There are a couple new things to keep in mind:
* When #include-ing files, use / instead of \\ - the SGI (and Linux) don\'t like \\, but the PC doesn\'t mind /.
* When adding anything new to the databases, be mindful of endianness. The SGI needs bytes swapped on shorts/ints/etc., and there are new functions to make it easy.
* If creating a WSTRING that will contain a pathname, use the constant SLASH which will be either \\ or / depending on the platform.
* For the databases to be loaded from WSTRING filenames, I had to make a new stream class that reads/writes the files. When the split databases code is uncommented, hopefully all will still work - I changed the commented code to work with my changes.
I\'m sure there\'s a million more things, but hey, you guys are smart and will figure it out. Or feel free ask me if there are problems or questions.
This coming week is looking busy, but as soon as I can I\'ll look into a couple of bugs I noticed while porting that I may or may not have caused.
Oh, I\'m also going to add some Visual Studio.NET project files soon - that\'s what I use at home and on my portable.
____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
|