Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: Isometric view as a run-time option
Home

[Freeciv-Dev] Re: Isometric view as a run-time option

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>, freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Isometric view as a run-time option
From: Thue <thue@xxxxxxx>
Date: Sun, 4 Feb 2001 14:51:29 +0100

On Sunday 04 February 2001 09:30, Raimar Falke wrote:
> On Sun, Feb 04, 2001 at 02:25:11AM +0100, Thue wrote:
> > Title says it all.
> > Just one thing - How do I figure out if the client I am in support
> > isometric view? A function call into the port-specific part?
>
> Thanks. This lowers acceptance threshold.
>
> A related question is: what is the preferred method to check if the
> code (mostly from common/) is currently running at the server or at
> the client?
>
>       Raimar

civclient and civserver defines an exported variable named "is_server".  That 
can then be declared as extern and used in common.
But mostly code that uses is_server maybe shouldn't be in common...

-Thue



[Prev in Thread] Current Thread [Next in Thread]