Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] unit type iterate
Home

[Freeciv-Dev] unit type iterate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx, <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] unit type iterate
From: Gregory Berkolaiko <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Thu, 28 Feb 2002 17:09:23 +0000 (GMT)

Hey you iterate wizards.  How about making unit_type_iterate.
Here's grep to help you:

ai/advmilitary.c:  for (i = 0; i < game.num_unit_types; i++) {
ai/advmilitary.c:  for (i = 0; i < game.num_unit_types; i++) {
ai/advmilitary.c:  for (i = 0; i < game.num_unit_types; i++) {
ai/aicity.c:  for (i = 0; i < game.num_unit_types; i++) {
ai/aicity.c:  for (i = 0; i < game.num_unit_types; i++) {
ai/aicity.c:  for (i = 0; i < game.num_unit_types; i++) {
client/climisc.c:  for (id = 0; id < game.num_unit_types; id++) {
client/helpdata.c:        for(i=0; i<game.num_unit_types; i++) {
client/gui-gtk/helpdlg.c:    for(j=0; j<game.num_unit_types; ++j) {
client/gui-gtk/repodlgs.c:    for (i=0;i<game.num_unit_types;i++) {
client/gui-mui/citydlg.c:    for (i = 0; i < game.num_unit_types; i++)
client/gui-mui/cityrep.c:    for (i = 0; i < game.num_unit_types; i++)
client/gui-mui/helpdlg.c:       for (j = 0; j < game.num_unit_types; ++j)
client/gui-mui/repodlgs.c:  for (i = 0; i < game.num_unit_types; i++)
client/gui-mui/worklistclass.c:  for(i=0; i<game.num_unit_types; i++)
client/gui-win32/citydlg.c:      for(i=0; i<game.num_unit_types; i++)
client/gui-win32/helpdlg.c:    for(j=0; j<game.num_unit_types; ++j) {
client/gui-win32/repodlgs.c:    for (i=0;i<game.num_unit_types;i++) {
client/gui-xaw/citydlg.c:  for(i=0; i<game.num_unit_types; i++)
client/gui-xaw/cityrep.c:    for (i = 0; i < game.num_unit_types; i++) {
client/gui-xaw/helpdlg.c:    for(j=0; j<game.num_unit_types; ++j) {
client/gui-xaw/repodlgs.c:    for (i=0;i<game.num_unit_types;i++) {
client/gui-xaw/wldlg.c:  for(i=0; i<game.num_unit_types; i++) {
common/game.c:  for (i=0; i<game.num_unit_types; i++) {
common/unittype.c:  for( i=0; i<game.num_unit_types; i++ ) {
common/unittype.c:  for(u=0; u<game.num_unit_types; u++) {
common/unittype.c:    for(j=0, u=0; u<game.num_unit_types; u++) {
server/ruleset.c:  for (i = 0; i < game.num_unit_types; i++ ) {
server/ruleset.c:  for( i=0; i<game.num_unit_types; i++ ) {
server/ruleset.c:  for( i=0; i<game.num_unit_types; i++ ) {
server/ruleset.c:  for( i=0; i<game.num_unit_types; i++ ) {
server/ruleset.c:  for(i=0; i<game.num_unit_types; i++) {
server/ruleset.c:  for(i=0; i<game.num_unit_types; i++) {
server/ruleset.c:  for( i=0; i<game.num_unit_types; i++ ) {
server/ruleset.c:  for(u=unit_types; u<unit_types+game.num_unit_types; 
u++) {
server/rulesout.c:  for(j=0; j<game.num_unit_types; j++ ) {
server/rulesout.c:  for(j=0; j<game.num_unit_types; j++ ) {



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