View Single Post
Old 09-06-2007, 08:34 AM   #7 (permalink)
RavonTUS
Forum Novice
 
RavonTUS's Avatar
 
Join Date: Aug 2004
Location: in a house.
Age: 39
Posts: 588
Send a message via ICQ to RavonTUS Send a message via AIM to RavonTUS
Default

Greetings,

The IF MONO code is used to determine what OS you are using. It works like this...

Code:
#if MONO
    SAY ("This is a Linux PC with MONO");
#else
    SAY ("This is a Windows PC with .NET");
#endif
Or you can reverse it like this...

Code:
#if !MONO
    SAY ("This is a Windows PC with .NET");
#else
    SAY ("This is a Linux PC with MONO");
#endif
You use this because not all .NET code works with MONO, since MONO is still in development.

NOW, let us put it to good use and try these two files I updated. I still have not tested them (I have not had time still to setup my Linux PC). Replace your current TileMatrix.cs and TileMatrixPatch.cs and then recompile.

-Ravon
Attached Files
File Type: cs TileMatrix.cs (18.5 KB, 5 views)
File Type: cs TileMatrixPatch.cs (9.3 KB, 5 views)
__________________

Will RunUO work on Linux? Yes
RavonTUS is offline   Reply With Quote