Eugen Jiresch
3842034843
added assignment operator to tod_manager
2009-06-11 08:36:08 +00:00
Eugen Jiresch
dabe62d766
savegame reorganization:
...
...added tod_manager member to ai::game_info, soon to replace gamestatus
2009-06-11 08:24:52 +00:00
Gunter Labes
393de7e9f1
fixed terrain parsing
2009-06-11 06:46:15 +00:00
Gunter Labes
4a429a5530
made defense and resistance values default to 0%
2009-06-11 06:46:08 +00:00
Eugen Jiresch
8223da600a
replaced turn related functions in play_controller...
...
...by the respective functions of tod_manager
2009-06-10 21:50:23 +00:00
Eugen Jiresch
ad65cf8d44
added turn members to tod_manager
2009-06-10 20:50:42 +00:00
Eugen Jiresch
063df523d5
removed gamestatus.number_of_turns()...
...
...references from game_events.cpp and play_controller classes
2009-06-10 16:35:50 +00:00
Gunter Labes
2b64624a21
fixed bug #13664 : Minor typo in Tale of Two Brothers #3
2009-06-10 15:54:52 +00:00
Eugen Jiresch
0c4d9a98b6
removed a gamestatus.turn() reference from game_events.cpp
2009-06-10 14:44:23 +00:00
Eugen Jiresch
9686608b66
removed the remaining references to gamestatus::turn()...
...
...from play_controller classes (except assertions)
2009-06-10 14:26:28 +00:00
Iurii Chernyi
acb6f7b734
removed gamestatus usage, where it is not needed
2009-06-10 14:22:40 +00:00
Gunter Labes
55659c7577
simplified steadfast a bit
2009-06-10 11:41:49 +00:00
Gunter Labes
bc66d8b60b
combine filter_base_value conditions...
...
...with "and" instead of "or" and made resistance_filter_matches()
also check the filter_base_value (fixes steadfast)
2009-06-10 11:41:45 +00:00
Gunter Labes
a7a8b08f76
fixed bug #13659 : The South Guard - too many scenarios promised
2009-06-10 11:41:07 +00:00
Eric S. Raymond
ebedc05802
Minor punctuation and translation-key fixes.
2009-06-10 10:27:18 +00:00
Eric S. Raymond
f4d19a719e
Eliminate spurious pofix error messages by hand-fixing some translation keys.
2009-06-10 10:03:10 +00:00
Eugen Jiresch
0bb8487da3
removed most references of gamestatus::turn()...
...
...in play_controller and subclasses
2009-06-10 09:32:58 +00:00
Eugen Jiresch
96bae44ec1
removed unnecessary argument from tod_manager::get_previous_time_of_day()
2009-06-10 08:37:46 +00:00
Ignacio R. Morelle
1c34496075
An unwanted adjust_surface_alpha() call slipped...
...
...in the Pango-based render code commit.
2009-06-09 14:55:44 +00:00
Iurii Chernyi
98927c3a19
POTFILES.in changes after renames in src/ai
2009-06-09 14:32:23 +00:00
Ignacio R. Morelle
1c251f7d3b
Rename the --shadowm-storyscreens switch to --new-storyscreens.
2009-06-09 14:05:37 +00:00
Ignacio R. Morelle
4bf50066ff
Add code that uses Pango for rendering storyscreen text...
...
...instead of SDL_ttf. It is enabled at run-time only if the
--shadowm-storyscreens switch is passed in the command line.
At the moment, this code is pretty much untested and messy, and doesn't
implement any visual effects.
2009-06-09 14:05:09 +00:00
Sergey Popov
640e5aff7c
Fixed a mistake in autodetection of versioned installation boost.
2009-06-09 13:25:40 +00:00
Iurii Chernyi
fff0d9b9f9
file renames in src/ai
2009-06-09 13:00:46 +00:00
Eric S. Raymond
5354149d67
Yanqui -> Zhangor
...
Changing this proper name because "Yanqui" is a common ethic slur in
Spanish. Unlike most of the other name changes, this one has to be
done in translations too.
2009-06-09 11:12:34 +00:00
Eugen Jiresch
bf9d99427f
started implementation of savegame_config...
...
...in play_controller (turn and time_of_day members)
2009-06-09 09:42:07 +00:00
Gregory Shikhman
264ecb97a3
confused bar and pie graph types, now fixed
2009-06-09 09:09:14 +00:00
Gregory Shikhman
c73b2ad5c7
more work on database-driven views
2009-06-09 08:41:48 +00:00
Eugen Jiresch
9924e619ce
savegame reorganization:
...
...synchronized area time of day members of play_controller and gamestatus
2009-06-09 07:36:28 +00:00
Alexander van Gessel
ee53d4b1c7
Throw errors when the queried unit does not exist.
2009-06-08 23:47:30 +01:00
Alexander van Gessel
a2afdb8e8a
Make sure the game ends when turns run out. Euschn, please review.
2009-06-08 23:47:26 +01:00
Gunter Labes
d8f56708b9
check for running jobs only
2009-06-08 20:03:30 +00:00
Gunter Labes
b7a3d324a3
allowed lua access to the team config
...
formatted the turn-over evaluation a bit nicer
excluded leader cost from the unit score
2009-06-08 20:03:17 +00:00
McShark
1edd0db9a3
Update according to recent file changes
2009-06-08 18:14:49 +00:00
Eugen Jiresch
12939fc0ca
savegame reorganization:
...
...synchronized turn_ and numTurns_ members of play_controller and gamestatus
2009-06-08 13:36:07 +00:00
Phil Barber
61e8163c7a
Update portraits for tHoT's Ratheln & Angarthing. Update changelogs.
2009-06-08 12:19:56 +00:00
Eugen Jiresch
f989b38bea
implemented turn function stubs in play_controller...
...
...and added variable/formula substitution to tod_manager constructor
2009-06-08 11:22:11 +00:00
Eugen Jiresch
861f3b06d2
added tod_manager member to play_controller
2009-06-08 10:20:36 +00:00
Eugen Jiresch
b2112435a1
savegame reorganization: added turn members and (stub) functions to play_controller
2009-06-08 08:17:14 +00:00
Gregory Shikhman
f8b2a8233e
more work on database-driven views
2009-06-08 06:49:42 +00:00
Alexander van Gessel
49bf054713
Add lua-evaluation code to test scenario.
2009-06-08 03:47:19 +01:00
Alexander van Gessel
b5844760ce
Move [unit_worth] tag to data/lua/wml-tags.lua,
...
...make its formula more configurable, store the calculated values.
2009-06-08 03:47:11 +01:00
Lari Nieminen
a4b70bf63e
Fixed a translation bug with the philter descriptions...
...
...and made a small tweak to the drinking cutscene.
2009-06-07 10:11:22 +00:00
Iurii Chernyi
2fc7380aa3
AI: stub code for default_ai_testing
2009-06-07 07:46:36 +00:00
Iurii Chernyi
3d25902cc5
fixed a typo, which prevented linking
2009-06-06 20:47:21 +00:00
Alexander van Gessel
6e362bc3c9
Add "unit worth" calculator to test scenario,
...
...to find reasonable values for the "advantage calculator".
2009-06-06 01:25:19 +01:00
Benoît Timbert
0bb90baaed
French translation update
2009-06-05 21:42:16 +00:00
Mark de Wever
21fa074fc4
Remove a useless declaration.
2009-06-05 17:44:51 +00:00
Mark de Wever
5f4351a1dc
Turn a class all public.
...
Gcc complained about the class being al private without friends, Crab_
please review.
2009-06-05 17:44:47 +00:00
Mark de Wever
0c4d8330d3
Add virtual destructors.
2009-06-05 17:44:42 +00:00