Complete.Org: Mailing Lists: Archives: freeciv-ai: March 2003:
[freeciv-ai] (PR#3584) Renaming vulnerability/belligerence

[freeciv-ai] (PR#3584) Renaming vulnerability/belligerence

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [freeciv-ai] (PR#3584) Renaming vulnerability/belligerence
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Sun, 2 Mar 2003 05:57:52 -0800
Reply-to: rt@xxxxxxxxxxxxxx

I am planning to rename the travesty that is unit_vulnerability and
unit_belligerence functions.  The present naming is a disgrace.  There
is also a bug of missed firepower.  My proposition for the new names is

Please voice your objections now.


1. base_unit_belligerence_primitive
  -> unittype_att_rating
2. unit_belligerence_basic
  -> unit_att_rating
3. unit_belligerence_primitive
  -> unit_att_rating_now
4. unit_belligerence
  -> unit_att_rating_sq

1. unit_vulnerability_virtual must be multiplied by firepower!
2. Remove alternativ_hp from unit_vulnerability_virtual2
  (not used).

More renaming:
1. unit_vulnerability_virtual2
  -> unittype_def_rating_sq
2. unit_vulnerability_virtual
  -> unit_def_rating_basic_sq
3. unit_vulnerability_basic
  -> unit_def_rating
4. unit_vulnerability
  -> unit_def_rating_sq

1. unit_def_rating_basic  and make 
unit_def_rating_basic_sq it's square.

[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] (PR#3584) Renaming vulnerability/belligerence, Gregory Berkolaiko <=