Commit Graph

33643 Commits

Author SHA1 Message Date
Mark de Wever
0633b7a5d3 Removed the option to disable the tips of the day.
The option was hidden and not even sure anybody is/was aware of the
feature.
2009-06-13 17:04:04 +00:00
Mark de Wever
f39da12fd5 Expose a bit of the tips of day implementation.
This is needed to share the code between to old an new titlescreen code.
2009-06-13 17:03:56 +00:00
Mark de Wever
1e2c094f11 Some minor code polishing. 2009-06-13 17:03:52 +00:00
Mark de Wever
0daca9f4ba Properly prefix the titlescreen macros with _GUI. 2009-06-13 17:03:47 +00:00
Mark de Wever
753962e091 Properly align the menu in the new titlescreen. 2009-06-13 17:03:41 +00:00
Mark de Wever
fb7280aa1c Remove the last part of the old campaign dialog. 2009-06-13 14:50:27 +00:00
Mark de Wever
47142ec674 Made the gui2 campaign dialog the default.
Fixes Debian bug #497655.
2009-06-13 14:50:21 +00:00
Mark de Wever
2396c8a1fb Implement find_widget(coord,...) for tindependant.
This fixes the scrollbar problem mentioned in the last commit.
2009-06-13 14:50:12 +00:00
Mark de Wever
d7db1f3a44 Polish the definition of the campaign dialog.
The dialog now looks fine, only the scrollbars don't work yet.
2009-06-13 14:50:07 +00:00
Mark de Wever
3eddba5ad5 Fix the initialization of the generator grids.
The initialization depends much on the selection_action so moved the
function there and separated it for the select and visible version.
2009-06-13 14:50:02 +00:00
Mark de Wever
96ae41f6d1 Forward tcontainer_::find_widget(id, ...). 2009-06-13 14:49:51 +00:00
Guillaume Melquiond
50ca004918 Simplified [unit_worth] code. 2009-06-13 12:34:06 +00:00
Guillaume Melquiond
aae5533518 Fixed incorrectly overridden menu item. 2009-06-13 12:33:59 +00:00
Mark de Wever
e111adb9b8 Add po update targets per language.
This is needed for maintenance and thus are the targets only available
if the maintenance target is enabled.
2009-06-12 17:45:04 +00:00
Mark de Wever
c3cf4d1dc7 Add mo update targets per language.
This is needed for maintenance and thus are the targets only available
if the maintenance target is enabled.
2009-06-12 17:44:58 +00:00
Eric S. Raymond
a797f34029 Prevent Pango markup from confusing the spellchecker. 2009-06-11 19:55:49 +00:00
Tomasz Śniatowski
d39b3ff94f disable one more instance of the msvc warning 4250 in new ai code 2009-06-11 20:55:23 +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
Tomasz Śniatowski
bddcd60d77 fix an error in a msvc-only workaround 2009-06-11 20:54:26 +01:00
Tomasz Śniatowski
1d991f7637 disable msvc warning 4250 in new ai code 2009-06-11 20:54:00 +01:00
Eric S. Raymond
e4776e7077 Fix a minor Python error. 2009-06-11 19:01:36 +00:00
Iurii Chernyi
b192e801c8 fixed MSVC compilation error 2009-06-11 18:45:09 +00:00
Eric S. Raymond
a6818271ab Sagus has a portait (draft). 2009-06-11 18:25:48 +00:00
McShark
a707843a19 Fix compiler warning about "no newline at end of file" 2009-06-11 17:34:17 +00:00
Eugen Jiresch
bd0d689cfb added a turn_manager_ member to class ai_default 2009-06-11 15:43:37 +00:00
Eugen Jiresch
110de07518 added a reference to the teams vector to class unit...
...(in preparation of gamestatus removal)
2009-06-11 14:47:52 +00:00
Eugen Jiresch
78462e95df added static modifier to dummy_tod in game_display.cpp 2009-06-11 14:26:25 +00:00
Eugen Jiresch
5e331e8542 removed gamestatus member from game_display 2009-06-11 13:53:07 +00:00
Eugen Jiresch
4e3d1f840c added time_of_day_at() to tod_manager (copied from actions.cpp) 2009-06-11 12:48:50 +00:00
Nils Kneuper
dab0d7906e apply patch by stikonas to add pluralization support...
...for the "Gold" string in the mp connect wait dialog for non-host
players (this adds a new string)
2009-06-11 12:48:16 +00:00
Eugen Jiresch
eb792b62ec added tod_manager member to game_display...
...and removed most references to gamestatus in game_display
2009-06-11 11:27:51 +00:00
Nils Kneuper
ad1d68a1a7 convert some about strings (removing the colon at the end) 2009-06-11 10:58:54 +00:00
Eugen Jiresch
69cb3db1d3 fixed reference to tod_manager in ai::game_info 2009-06-11 10:13:39 +00:00
Eugen Jiresch
3934a3a087 added vector<team> member to terrain_filter...
...(in preparation of gamestatus removal)
2009-06-11 09:31:34 +00:00
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