Commit Graph

79 Commits

Author SHA1 Message Date
Iurii Chernyi
1462573062 refactoring of ai component model to a more object-oriented approach.
[modify_ai] now works fully and uniformly, with less code
duplication. added the ability to see all ai components from
gamestate_inspector.
2009-12-24 22:38:59 +00:00
Tomasz Śniatowski
ee01a65424 VC9 projectfile update 2009-12-12 17:52:45 +01:00
Alexander van Gessel
08d132dded Remove jwsmtp from projectfiles 2009-11-24 20:12:13 +01:00
Iurii Chernyi
71a84f6823 forked candidate action:
...testing_ai_default::default_move_to_targets_phase into
testing_ai_default::testing_move_to_targets_phase - set up everything
for experiments on ai movement and targeting phase
2009-10-09 00:53:04 +00:00
Iurii Chernyi
afb3c3ce78 new candidate action:
...testing_ai_default::default_move_to_targets_phase - copy of default
ai movements and targeting phase, as a candidate action
2009-10-09 00:11:27 +00:00
Iurii Chernyi
6c306a1830 patch #1319 by mordocai: EasyCoding task fixed - some AI code cleanup 2009-09-29 19:27:02 +00:00
Iurii Chernyi
fc0b7fa9d1 Fix MSVC project file to account for latest file changes...
...by mordante, euschn, silene. Patch by ugasoft.
2009-09-12 23:11:10 +00:00
Iurii Chernyi
2bac79fad0 new 'inspect' debug command, new [inspect] debug tag,
...new gamestate inspector dialog (prototype)
2009-09-05 11:02:23 +00:00
Iurii Chernyi
d2ef421454 Added component class interface, which is needed to support [modify_ai] 2009-08-23 19:30:38 +00:00
Tomasz Śniatowski
439618fe56 move editor preferences to a separate file 2009-08-22 11:57:40 +01:00
Iurii Chernyi
498c4f8977 Formula AI Debugger (uses --new-widgets ) 2009-08-17 15:06:13 +00:00
Tomasz Śniatowski
ac1b674eef vcproj update 2009-08-15 23:34:17 +01:00
Iurii Chernyi
cf0c168e1c new source file for formula debugger 2009-08-08 22:27:50 +00:00
Iurii Chernyi
2ce5d43784 new formula_ai-related stages 2009-08-08 12:03:40 +00:00
Tomasz Śniatowski
1a934ac94b rename editor2 -> editor. Old editor is long dead, long live the new editor! 2009-08-08 12:14:58 +01:00
Iurii Chernyi
ba6a7aa2c4 used 'attacks' aspect to keep a cache of attacks...
...shared between ai_default/formula_ai/composite_ai code
2009-08-03 22:03:13 +00:00
Tomasz Śniatowski
b46169639a moved lobby-specific preferences...
...to a new lobby_preferences.hpp/cpp pair toreduce rebuild burden
when adding new preferences

renamed admin_authentication to parse_admin_athentication

renamed show_lobby_join to parse_should_show_lobby_join
2009-08-03 22:48:48 +01:00
Iurii Chernyi
09223f03cc new AI configuration syntax. Note: boost 1.35 required for compilation 2009-08-01 14:17:15 +00:00
Tomasz Śniatowski
0d8e99d925 add a player info dialog that pops up on doubleclick...
...on newlobby's player list. Similar to the old lobby dialog.
2009-07-23 19:38:25 +01:00
Tomasz Śniatowski
78ab6eebac vcproj update 2009-07-21 12:45:32 +01:00
Tomasz Śniatowski
cd0b7b5787 vcproj update 2009-07-18 16:48:31 +01:00
Tomasz Śniatowski
5ae38e8898 split random.hpp into creating separate headers...
...for the rng and simple_rng class
2009-07-18 16:48:14 +01:00
Tomasz Śniatowski
a546d6473d vcproj update 2009-07-18 16:47:26 +01:00
Tomasz Śniatowski
0a7307b1b7 VC9: remove accidentally added NDEBUG define from debug...
...mode wesnothlib build options
2009-07-12 18:11:12 +01:00
Tomasz Śniatowski
93046fcb84 VC9 projectfile update: add NOMINMAX define,
...add defines to wesnothlib which it lacked
2009-07-11 23:21:47 +01:00
Tomasz Śniatowski
79c55de70f VC9 projectfile update 2009-07-10 00:12:20 +01:00
Tomasz Śniatowski
1b07c2c3b3 Major VC9 projectfile update:
...add a wesnothlib project with common stuff from wesnoth and
wesnothd. Improves build times when building both and prevents
spurious errors from happening.
2009-07-08 20:37:17 +01:00
Tomasz Śniatowski
bea2bf4e8d VC9 projectfile update 2009-07-06 09:03:22 +01:00
Tomasz Śniatowski
bec74097c4 vc9 project up 2009-07-04 18:06:46 +01:00
Tomasz Śniatowski
889c53d0a5 VC9 projectfile update 2009-07-04 17:24:15 +01:00
Iurii Chernyi
b1db99c180 AI Composite: new engine: formula ai engine (added a stub file) 2009-07-01 20:22:44 +00:00
Tomasz Śniatowski
0045363070 VC9 projectfile update 2009-06-28 01:09:57 +01:00
Tomasz Śniatowski
c234d8acf0 VC9 projectfile update 2009-06-23 19:41:24 +01:00
Tomasz Śniatowski
86c0400467 add room manager files to vcproj 2009-06-23 19:40:45 +01:00
Tomasz Śniatowski
eb0997d1a9 add new files to msvc project and fix issues with same filenames 2009-06-11 20:55:03 +01:00
Tomasz Śniatowski
ef5a2202dc rm deleted files from the msvc project 2009-06-11 20:54:45 +01:00
Iurii Chernyi
fff0d9b9f9 file renames in src/ai 2009-06-09 13:00:46 +00:00
Iurii Chernyi
59f781e290 new AI: ai_composite 2009-06-04 17:48:27 +00:00
Chris Hopman
61eaf0a32f add shared_string.hpp 2009-06-02 01:02:20 +00:00
Chris Hopman
6457ce1b90 add shared_object.hpp, the base for shared string and tstring 2009-05-29 17:12:21 +00:00
Jan Herzog
9f9a8f4c1d Updated VC9's wesnoth.vcproj to add missing files. 2009-05-24 18:45:39 +00:00
Tomasz Śniatowski
613189f9f0 Create a room class separate from the game class, and use it for the lobby.
There remains some unfortunate duplicate code that will be removed in
the future, not all "lobby-hacks" have yet been removed from the game
class either.
2009-05-19 10:01:28 +01:00
Tomasz Śniatowski
688468ac47 VC9 wesnothd solution settongs update 2009-05-18 16:39:53 +01:00
Tomasz Śniatowski
1fdb4c2df8 add new file to build systems 2009-05-18 09:45:07 +01:00
Tomasz Śniatowski
824247392e split server class definition to a header file 2009-05-15 08:49:48 +01:00
Tomasz Śniatowski
e9ef486b9c set svn eol style on vc9 project files...
...to hopefully make git behave nicer with them
2009-05-15 08:37:03 +01:00
Jan Herzog
445d1a33a4 Removed unneeded 'Additional Dependencies'...
- which got added in trunk 2009-05-01T18:40:09Z!kailoran@gmail.com - to prevent MSVC from
  throwing linking errors.
2009-05-03 12:53:32 +00:00
Tomasz Śniatowski
e97b8d3876 vc9 project file update from Reisiger 2009-05-01 19:40:09 +01:00
Iurii Chernyi
75f6779ee8 AI refactoring: split ai_interface into three parts:
1) ai_interface - interface between the ai and the game

2) ai_game_info - information about the game for the AI (former
ai_interface::info)

3) ai_readwrite_context - interface between the ai
and ai components. 

Removed ai_interface code from ai/ai.cpp (this removed ~20% from
ai/ai.cpp, and, accidentally, left ai/ai.cpp exactly 2000 lines long)
2009-04-30 23:33:56 +00:00
Iurii Chernyi
ab540dca15 New source file pair: ai/testing.[ch]pp...
Modified automake/cmake/scons/MSVC9 build configs.
2009-04-29 01:28:05 +00:00