[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]
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
[Freeciv-Dev] Re: Isometric view as a run-time option, Erik Sigra, 2001/02/04
[Freeciv-Dev] Re: Isometric view as a run-time option, Raimar Falke, 2001/02/04
- [Freeciv-Dev] Re: Isometric view as a run-time option,
Thue <=
|
|