DELTA
SVN   /***********************************************************************
 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
***********************************************************************/

#ifdef HAVE_CONFIG_H
#include <fc_config.h>
#endif

/* common */
#include "map.h"
#include "world_object.h"

#include "texaiworld.h"

static struct world texai_world;

/**************************************************************************
  Initialize world object for texai
**************************************************************************/
void texai_world_init(void)
{
  map_init(&(texai_world.map), TRUE);
  map_allocate(&(texai_world.map));
}

/**************************************************************************
  Free resources allocated for texai world object
**************************************************************************/
void texai_world_close(void)
{
  map_free(&(texai_world.map));
}
ENDREP
DELTA 33592 0 81
SVN  Ό{Γ6B | Ύ 5YΌ <Y (H _¨game_start(void)
{
  TEXAI_AIT;
  TEXAI_TFUNC(texai_game_startgame_free(void)
{
  TEXAI_AIT;
  TEXAI_TFUNC(texai_game_freegame_start = texwai_game_start;
  ai->funcs.game_free = texwai_game_freeENDREP
DELTA 33471 11172 7007
SVN  Κ~ΟU0N X  J &\² Q~» H  @@R H  @@L ·lmap#include "texaiworldif (!map_is_empty()) {
    texai_world_init();
  }texai_world_close();

  log_debug("AI thread exiting");
}

***
  Game has started
**********/
void texai_game_start(struct ai_type *ait)
{
  texai_world_init();
}

***
  Game has ended
**********/
void texai_game_free(struct ai_type *ait)
{
  texai_world_close(ENDREP
DELTA
SVN   EEE/***********************************************************************
 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
***********************************************************************/
#ifndef FC__TEXAIWORLD_H
#define FC__TEXAIWORLD_H

void texai_world_init(void);
void texai_world_close(void);

#endif /* FC__TEXAIWORLD_H */
ENDREP
DELTA 33173 17645 344
SVN  Vx
 2  ,*exaiworld.c		\
	texaiworldENDREP
DELTA 33020 14436 40
SVN  z
  %   Y! common */
#include "fc_types.h"ENDREP
DELTA 33173 19321 923
SVN   WK [ K 1Ogame_start(struct ai_type *ait);
void texai_game_free(struct ai_type *ait);ENDREP
id: 6pj.5wl.r34825/3287
type: file
pred: 6pj.5wl.r33173/21826
count: 11
text: 34825 3004 47 760 08e4a346fff060c0f9cb39c058d0d19e
cpath: /trunk/ai/threxpr/Makefile.am
copyroot: 33173 /trunk/ai/threxpr/Makefile.am

id: 6pm.5wq.r34825/3500
type: file
pred: 6pm.5wq.r33471/24183
count: 17
text: 34825 1716 394 10197 4a5b745b0c3462b192a11568c9e6a6c2
props: 26905 227871 34 0 25e6c2f7558b7484000d4d090dea5b92
cpath: /trunk/ai/threxpr/texaiplayer.c
copyroot: 33173 /trunk/ai/threxpr/texaiplayer.c

id: 6pn.5wr.r34825/3778
type: file
pred: 6pn.5wr.r33173/23401
count: 11
text: 34825 3161 97 2007 e532a2f00e57cfb1e765e31ccfb682ea
props: 26905 228759 34 0 25e6c2f7558b7484000d4d090dea5b92
cpath: /trunk/ai/threxpr/texaiplayer.h
copyroot: 33173 /trunk/ai/threxpr/texaiplayer.h

id: 2ws0.5ck.r34825/4054
type: file
count: 0
text: 34825 0 1441 1427 3ff7a8e17742a7280ae086c7fa1f50f3
cpath: /trunk/ai/threxpr/texaiworld.c
copyroot: 15280 /trunk

id: 2ws2.5ck.r34825/4218
type: file
count: 0
text: 34825 2140 851 837 9fb5e2d156b932ab4468894adbab6aa6
cpath: /trunk/ai/threxpr/texaiworld.h
copyroot: 15280 /trunk

id: 6pk.5ws.r34825/4383
type: file
pred: 6pk.5ws.r33592/106
count: 31
text: 34825 1454 238 25014 6551d8330f2abdef38eee39d2bfa75aa
props: 26905 228164 34 0 25e6c2f7558b7484000d4d090dea5b92
cpath: /trunk/ai/threxpr/threxprai.c
copyroot: 33173 /trunk/ai/threxpr/threxprai.c

PLAIN
K 11
Makefile.am
V 24
file 6pj.5wl.r34825/3287
K 11
texaicity.c
V 25
file mdh.5wm.r33471/23633
K 11
texaicity.h
V 25
file mdj.5wn.r33471/23909
K 10
texaimsg.c
V 25
file 7pd.5wo.r33173/22587
K 10
texaimsg.h
V 25
file 78q.5wp.r33173/22852
K 13
texaiplayer.c
V 24
file 6pm.5wq.r34825/3500
K 13
texaiplayer.h
V 24
file 6pn.5wr.r34825/3778
K 12
texaiworld.c
V 25
file 2ws0.5ck.r34825/4054
K 12
texaiworld.h
V 25
file 2ws2.5ck.r34825/4218
K 11
threxprai.c
V 24
file 6pk.5ws.r34825/4383
END
ENDREP
id: 2ldr.5ck.r34825/5152
type: dir
pred: 2ldr.5ck.r33592/774
count: 4
text: 34825 4655 484 0 d182424f97e273199f176c782623248e
cpath: /trunk/ai/threxpr
copyroot: 15280 /trunk

PLAIN
K 11
Makefile.am
V 23
file 5d.5ck.r33200/1224
K 10
aitraits.c
V 24
file 7k0.5ck.r30330/9613
K 10
aitraits.h
V 26
file 7k2.5ck.r26905/225228
K 7
classic
V 24
dir l53.5ck.r33471/19424
K 7
default
V 23
dir 6k3.5ck.r34582/5115
K 12
difficulty.c
V 26
file 1b4x.5ck.r33386/48712
K 12
difficulty.h
V 25
file 1b4z.5ck.r31580/4607
K 11
handicaps.c
V 25
file syo.5ck.r30328/52232
K 11
handicaps.h
V 24
file syq.5ck.r33127/3179
K 4
stub
V 23
dir 6k5.5ck.r33200/1753
K 8
threaded
V 24
dir 6pi.5ck.r34769/10235
K 7
threxpr
V 24
dir 2ldr.5ck.r34825/5152
END
ENDREP
id: 8.5ck.r34825/5884
type: dir
pred: 8.5ck.r34769/11025
count: 1973
text: 34825 5327 544 0 7dfa94d1edb36620f55cf6ababa0c208
props: 11108 11315 64 0 abac628483ea4fdfa3bea3a3a56e0532
cpath: /trunk/ai
copyroot: 15280 /trunk

id: 216z.5ck.r34825/6107
type: file
pred: 216z.5ck.r33020/14504
count: 8
text: 34825 3080 53 3742 250d968b8b379b29c4989adb0ed702b5
cpath: /trunk/common/map_types.h
copyroot: 15280 /trunk

PLAIN
K 11
Makefile.am
V 22
file 5h.5ck.r34768/702
K 14
achievements.c
V 24
file qhc.5ck.r34778/9044
K 14
achievements.h
V 24
file qhe.5ck.r33814/2681
K 9
actions.c
V 24
file r7a.5ck.r34743/1897
K 9
actions.h
V 25
file r7c.5ck.r34464/70871
K 4
ai.c
V 24
file 4go.5ck.r31726/5773
K 4
ai.h
V 24
file 4gp.5ck.r33881/4440
K 6
aicore
V 24
dir 18t.5ck.r33908/30627
K 6
base.c
V 25
file 3jw.5ck.r34581/27195
K 6
base.h
V 25
file 3jx.5ck.r34581/27435
K 9
borders.c
V 25
file 4f0.5ck.r31935/29464
K 9
borders.h
V 26
file 4f1.5ck.r26905/213493
K 10
calendar.c
V 26
file 147p.5ck.r33984/10730
K 10
calendar.h
V 26
file 147r.5ck.r33984/10975
K 8
capstr.c
V 24
file dv.5ck.r33689/98181
K 8
capstr.h
V 24
file dw.5ck.r18858/97074
K 6
chat.h
V 24
file dj.5wt.r33223/26762
K 10
citizens.c
V 26
file 6mx.5ck.r26905/203234
K 10
citizens.h
V 26
file 6my.5ck.r26905/204108
K 6
city.c
V 23
file q.5ck.r33994/17117
K 6
city.h
V 21
file 3q.5ck.r34002/86
K 13
clientutils.c
V 26
file zj9.5ck.r26905/212022
K 13
clientutils.h
V 26
file zjb.5ck.r26905/213199
K 8
combat.c
V 23
file wp.5ck.r34309/4397
K 8
combat.h
V 24
file wq.5ck.r24573/25814
K 9
culture.c
V 27
file 104t.5ck.r26905/202652
K 9
culture.h
V 27
file 104v.5ck.r26905/203523
K 11
diptreaty.c
V 24
file 3r.5ck.r30328/78509
K 11
diptreaty.h
V 24
file 3s.5ck.r27517/13575
K 10
disaster.c
V 24
file b2m.5ck.r32459/3378
K 10
disaster.h
V 25
file b2o.5ck.r28753/25083
K 9
effects.c
V 25
file 2eo.5ck.r34516/92408
K 9
effects.h
V 24
file 2ep.5ck.r34309/4639
K 8
events.c
V 25
file 33h.5ck.r33605/10831
K 8
events.h
V 24
file 3t.5ck.r33605/11074
K 8
extras.c
V 25
file o9u.5ck.r34494/16142
K 8
extras.h
V 25
file o9w.5ck.r34494/16386
K 12
fc_cmdhelp.c
V 26
file 76j.5ck.r26905/216438
K 12
fc_cmdhelp.h
V 26
file 76k.5ck.r26905/216731
K 14
fc_interface.c
V 25
file 4up.5ck.r30095/11458
K 14
fc_interface.h
V 24
file 4uq.5ck.r33040/6826
K 10
fc_types.h
V 25
file 2ll.5ck.r34765/23292
K 15
featured_text.c
V 24
file 4h3.5ck.r34764/6939
K 15
featured_text.h
V 24
file 4h4.5ck.r34764/7186
K 6
game.c
V 24
file 3u.5ck.r34793/27607
K 6
game.h
V 23
file 3v.5ck.r34287/3043
K 19
generate_packets.py
V 23
file 2f4.5ck.r32904/459
K 12
government.c
V 24
file he.5ck.r34368/19481
K 12
government.h
V 24
file hf.5ck.r34368/19725
K 6
idex.c
V 25
file qo.5ck.r32526/118033
K 6
idex.h
V 24
file qp.5ck.r18858/92434
K 13
improvement.c
V 22
file vb.5ck.r34525/169
K 13
improvement.h
V 23
file vc.5ck.r33074/3506
K 5
map.c
V 21
file r.5ck.r34821/349
K 5
map.h
V 24
file 41.5ck.r34793/28086
K 11
map_types.h
V 25
file 216z.5ck.r34825/6107
K 8
mapimg.c
V 24
file 6n9.5ck.r34778/9762
K 8
mapimg.h
V 26
file 6na.5ck.r26905/215559
K 15
metaknowledge.c
V 24
file siq.5ck.r32920/7211
K 15
metaknowledge.h
V 24
file sis.5ck.r32258/4135
K 10
movement.c
V 25
file 2xv.5ck.r34516/92653
K 10
movement.h
V 25
file 2xw.5ck.r33998/69669
K 13
multipliers.c
V 25
file 197b.5ck.r32459/4353
K 13
multipliers.h
V 26
file 197d.5ck.r29117/26290
K 18
name_translation.h
V 24
file 4k1.5ck.r32459/4601
K 8
nation.c
V 24
file il.5ck.r33386/79163
K 8
nation.h
V 24
file im.5ck.r32925/36846
K 10
networking
V 25
dir 2gws.5ck.r34516/94122
K 8
player.c
V 24
file 45.5ck.r34494/17993
K 8
player.h
V 23
file 46.5ck.r34779/6972
K 9
reqtext.c
V 26
file 2ob8.5ck.r33984/11469
K 9
reqtext.h
V 26
file 2oba.5ck.r33783/13455
K 14
requirements.c
V 24
file 2wq.5ck.r34463/2335
K 14
requirements.h
V 24
file 2wr.5ck.r34167/2584
K 10
research.c
V 24
file 4ro.5ck.r32922/7196
K 10
research.h
V 24
file 4rp.5ck.r27750/1056
K 10
rgbcolor.c
V 25
file 6i6.5ck.r31090/42043
K 10
rgbcolor.h
V 25
file 6i7.5ck.r31090/42290
K 6
road.c
V 25
file 6pq.5ck.r34601/19435
K 6
road.h
V 25
file 6pr.5ck.r34601/19675
K 10
scriptcore
V 23
dir 75a.5ck.r34764/9082
K 11
spaceship.c
V 24
file 98.5ck.r33765/44399
K 11
spaceship.h
V 22
file 99.5ck.r33680/332
K 12
specialist.c
V 24
file 33f.5ck.r33778/1445
K 12
specialist.h
V 24
file 33g.5ck.r33778/1688
K 9
srvdefs.h
V 25
file 2rgb.5ck.r34048/1358
K 7
style.c
V 24
file zzb.5ck.r33771/5613
K 7
style.h
V 24
file zzd.5ck.r33771/5853
K 6
team.c
V 24
file 33i.5ck.r33326/1430
K 6
team.h
V 23
file 33j.5ck.r26183/314
K 6
tech.c
V 22
file t.5ck.r33324/9294
K 6
tech.h
V 22
file u.5ck.r33324/9532
K 9
terrain.c
V 22
file 2fp.5ck.r34546/94
K 9
terrain.h
V 23
file qs.5ck.r33814/3169
K 6
tile.c
V 25
file 2ys.5ck.r33483/66733
K 6
tile.h
V 23
file 2yt.5ck.r33784/202
K 13
traderoutes.c
V 24
file bf8.5ck.r33963/9108
K 13
traderoutes.h
V 24
file bfa.5ck.r33963/9357
K 8
traits.h
V 25
file 7k3.5ck.r30330/11323
K 6
unit.c
V 22
file v.5ck.r33887/2070
K 6
unit.h
V 22
file 48.5ck.r34041/830
K 10
unitlist.c
V 25
file 39m.5ck.r31889/62464
K 10
unitlist.h
V 26
file 39n.5ck.r27611/110113
K 10
unittype.c
V 24
file v9.5ck.r34462/49946
K 10
unittype.h
V 25
file va.5ck.r34759/136286
K 9
version.c
V 21
file oe.5ck.r34317/49
K 9
version.h
V 24
file e7.5ck.r34516/94309
K 9
victory.c
V 26
file qex.5ck.r26905/217020
K 9
victory.h
V 26
file qez.5ck.r26905/217896
K 8
vision.c
V 23
file 4dm.5ck.r33561/483
K 8
vision.h
V 23
file 4dn.5ck.r33796/456
K 12
workertask.c
V 26
file llw.5ck.r26905/206753
K 12
workertask.h
V 25
file lly.5ck.r28926/17170
K 10
worklist.c
V 24
file o8.5ck.r32721/82052
K 10
worklist.h
V 24
file o9.5ck.r32721/82295
K 14
world_object.h
V 26
file 2ngs.5ck.r33483/66975
END
ENDREP
id: p.5ck.r34825/11572
type: dir
pred: p.5ck.r34821/5861
count: 4930
text: 34825 6295 5264 0 d2285f3143b67b22a26c40ef0744f1cd
props: 23743 0 112 0 b2bc91bf125d83375389d51f25ff2c2f
cpath: /trunk/common
copyroot: 15280 /trunk

PLAIN
K 9
ABOUT-NLS
V 24
file fu.5ck.r33136/31347
K 7
AUTHORS
V 24
file 5u.5ck.r22143/14016
K 7
COPYING
V 22
file 1h.5ck.r29454/952
K 9
ChangeLog
V 26
file 6l.5ck.r34755/9472461
K 7
INSTALL
V 21
file 6.5ck.r34770/417
K 11
Makefile.am
V 21
file 59.5ck.r34799/46
K 4
NEWS
V 24
file 6m.5ck.r25634/30702
K 6
README
V 20
file 7.0.r4421/96382
K 2
ai
V 21
dir 8.5ck.r34825/5884
K 10
autogen.sh
V 23
file 12o.5ck.r34768/471
K 9
bootstrap
V 24
dir 2p5.5ck.r34765/18337
K 6
client
V 21
dir d.5ck.r34824/8454
K 6
common
V 22
dir p.5ck.r34825/11572
K 12
configure.ac
V 22
file 149.5ck.r34817/52
K 4
data
V 22
dir w.5ck.r34824/14726
K 12
dependencies
V 23
dir 2yu.5ck.r34342/3546
K 3
doc
V 22
dir k7.5ck.r34770/2765
K 10
fc_version
V 25
file 2lo.5en.r34757/38445
K 11
gen_headers
V 23
dir 1hsw.5ck.r34605/792
K 3
lua
V 24
dir 2c5e.5ck.r31919/4841
K 2
m4
V 23
dir 12p.5ck.r34799/2353
K 7
scripts
V 24
dir 2yo.5ck.r34765/41493
K 6
server
V 21
dir z.5ck.r34801/4842
K 5
tests
V 22
dir 2g9.5ck.r32361/591
K 5
tools
V 24
dir 4pj.5js.r34765/42750
K 12
translations
V 23
dir t0a.5ck.r34792/7819
K 7
utility
V 23
dir 1c.5ck.r34765/49484
K 7
windows
V 23
dir 2eu.5x1.r34785/2802
END
ENDREP
id: 3.5ck.r34825/12965
type: dir
pred: 3.5ck.r34824/16123
count: 22440
text: 34825 11797 1155 0 eb1a59fa9bc52d8aeda467ee0ce21c15
props: 28036 14655 292 0 9e1d5de0253c723466868990c52c129f
cpath: /trunk
copyroot: 15280 /trunk

PLAIN
K 8
branches
V 20
dir 1.0.r34823/17116
K 4
tags
V 19
dir 2.0.r34572/6701
K 5
trunk
V 22
dir 3.5ck.r34825/12965
K 7
website
V 20
dir 3ge.0.r34597/802
END
ENDREP
id: 0.0.r34825/13356
type: dir
pred: 0.0.r34824/16513
count: 34825
text: 34825 13190 153 0 3b27ab4f15f90dd8cfb29a9550be8896
cpath: /
copyroot: 0 /

6pj.5wl.t34824-1 modify true false /trunk/ai/threxpr/Makefile.am

6pm.5wq.t34824-1 modify true false /trunk/ai/threxpr/texaiplayer.c

6pn.5wr.t34824-1 modify true false /trunk/ai/threxpr/texaiplayer.h

_3.5ck.t34824-1 add true false /trunk/ai/threxpr/texaiworld.c

_5.5ck.t34824-1 add true false /trunk/ai/threxpr/texaiworld.h

6pk.5ws.t34824-1 modify true false /trunk/ai/threxpr/threxprai.c

216z.5ck.t34824-1 modify true false /trunk/common/map_types.h


13356 13504
