Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9710) no readline support for show command
Home

[Freeciv-Dev] Re: (PR#9710) no readline support for show command

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9710) no readline support for show command
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 21 Aug 2004 17:26:38 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9710 >

Gregor Richards wrote:


> -  /* 
> +  /*

Garbage.

> -          "the percent chance of \"occupying\" territory."), NULL, 
> +          "the percent chance of \"occupying\" territory."), NULL,

Garbage.

> - /* easy */  H_RATES | H_TARGETS | H_HUTS | H_NOPLANES 
> + /* easy */  H_RATES | H_TARGETS | H_HUTS | H_NOPLANES

Garbage.

> +static const char *olvlname_accessor(int i) {
> +  // for 0->4, uses option levels, otherwise returns a setting name

Don't use //.  Use /* */.

> +    return settings[i-OLEVELS_NUM].name;

"Bad" style.

> +/**************************************************************************
> +...
> +**************************************************************************/

Please write a reasonable comment for the function.

jason




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