diff --git a/actions.cpp b/actions.cpp index 6715712f4da..17ab28bdf2e 100644 --- a/actions.cpp +++ b/actions.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/actions.hpp b/actions.hpp index 8c87a96cfc1..b470261a36c 100644 --- a/actions.hpp +++ b/actions.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai.cpp b/ai.cpp index 2030c0a7673..9f8ef113c52 100644 --- a/ai.cpp +++ b/ai.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai.hpp b/ai.hpp index 09befa528e4..918b1a10992 100644 --- a/ai.hpp +++ b/ai.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai_attack.cpp b/ai_attack.cpp index bf265c93f85..f9a6f0c4509 100644 --- a/ai_attack.cpp +++ b/ai_attack.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai_attack.hpp b/ai_attack.hpp index 1d5cc3c2c5b..54b46e441d1 100644 --- a/ai_attack.hpp +++ b/ai_attack.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai_move.cpp b/ai_move.cpp index e51e716dde7..e04ced9b186 100644 --- a/ai_move.cpp +++ b/ai_move.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/ai_move.hpp b/ai_move.hpp index ed427d3d4cb..123604df835 100644 --- a/ai_move.hpp +++ b/ai_move.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/config.cpp b/config.cpp index a39d6bb5548..211884f9898 100644 --- a/config.cpp +++ b/config.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/config.hpp b/config.hpp index cad03db3cb9..608c71828a7 100644 --- a/config.hpp +++ b/config.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/dialogs.cpp b/dialogs.cpp index bc3c85df33a..e99a2ab0785 100644 --- a/dialogs.cpp +++ b/dialogs.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/dialogs.hpp b/dialogs.hpp index 0581f4a25f4..71f26c1123e 100644 --- a/dialogs.hpp +++ b/dialogs.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/display.cpp b/display.cpp index 420dd22b643..a7abefb5e24 100644 --- a/display.cpp +++ b/display.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/display.hpp b/display.hpp index 169fc5b9506..851cc5bc26e 100644 --- a/display.hpp +++ b/display.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/filesystem.cpp b/filesystem.cpp index 459135a9517..6a4bd7d3c9a 100644 --- a/filesystem.cpp +++ b/filesystem.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/filesystem.hpp b/filesystem.hpp index dd070200843..15710d5ee0e 100644 --- a/filesystem.hpp +++ b/filesystem.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/font.cpp b/font.cpp index 8d65410c28c..76f257f840e 100644 --- a/font.cpp +++ b/font.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/font.hpp b/font.hpp index 9b877327459..caaeaf6bcae 100644 --- a/font.hpp +++ b/font.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/game.cpp b/game.cpp index 21bffef300a..62664c4d7d9 100644 --- a/game.cpp +++ b/game.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net @@ -173,11 +174,15 @@ int play_game(int argc, char** argv) game_config::debug = true; } } + + const std::pair& resolution = preferences::resolution(); - const int bpp = video.modePossible(1152,864,16,video_flags); + const int bpp = video.modePossible(resolution.first,resolution.second, + 16,video_flags); if(bpp == 0) { - std::cerr << "The required video mode, 1024x768x16 " + std::cerr << "The required video mode, " << resolution.first + << "x" << resolution.second << "x16 " << "is not supported\n"; if(video_flags == FULL_SCREEN && argc == 0) @@ -195,9 +200,12 @@ int play_game(int argc, char** argv) << "For best results, run the program on a 16 bpp display\n"; } - const int res = video.setMode(1152,864,16,video_flags); + std::cerr << "setting mode to " << resolution.first << "x" << resolution.second << "\n"; + const int res = video.setMode(resolution.first,resolution.second, + 16,video_flags); if(res != 16) { - std::cerr << "required video mode, 1024x768x16 is not supported\n"; + std::cerr << "required video mode, " << resolution.first << "x" + << resolution.second << "x16 is not supported\n"; return 0; } diff --git a/game_config.cpp b/game_config.cpp index 0b3f9496b51..34a6c693dc3 100644 --- a/game_config.cpp +++ b/game_config.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/game_config.hpp b/game_config.hpp index 41cbb9118a3..5cc101dbb19 100644 --- a/game_config.hpp +++ b/game_config.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/game_events.cpp b/game_events.cpp index 1d28e074e8e..a3e6508d1e7 100644 --- a/game_events.cpp +++ b/game_events.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/game_events.hpp b/game_events.hpp index 22ec1c4c2ca..2100d0f0d5d 100644 --- a/game_events.hpp +++ b/game_events.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/gamestatus.cpp b/gamestatus.cpp index 234fffe9114..bcaa6e5e1bf 100644 --- a/gamestatus.cpp +++ b/gamestatus.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/gamestatus.hpp b/gamestatus.hpp index 0b8691fd6c3..145d8e68b53 100644 --- a/gamestatus.hpp +++ b/gamestatus.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/hotkeys.cpp b/hotkeys.cpp index 0214e1a8ba5..31d0e430829 100644 --- a/hotkeys.cpp +++ b/hotkeys.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/hotkeys.hpp b/hotkeys.hpp index fee203ebb0b..aa2adcf4d47 100644 --- a/hotkeys.hpp +++ b/hotkeys.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/intro.cpp b/intro.cpp index 9166fe2d4f7..595efb7e975 100644 --- a/intro.cpp +++ b/intro.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/intro.hpp b/intro.hpp index e129a35a519..975f9d91814 100644 --- a/intro.hpp +++ b/intro.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/key.cpp b/key.cpp index 25299a32d7e..d2c08bc4776 100644 --- a/key.cpp +++ b/key.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/key.hpp b/key.hpp index 74a9f0fbd88..1beddf09f19 100644 --- a/key.hpp +++ b/key.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/language.cpp b/language.cpp index e702c830fa7..24b3db875f6 100644 --- a/language.cpp +++ b/language.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/language.hpp b/language.hpp index 1f54be22878..596760e59b6 100644 --- a/language.hpp +++ b/language.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/log.cpp b/log.cpp index d19e8d2877e..bac11b1afa5 100644 --- a/log.cpp +++ b/log.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/log.hpp b/log.hpp index 3967ad45be2..9113a00fa69 100644 --- a/log.hpp +++ b/log.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/make_translation.cpp b/make_translation.cpp index ea0b72de663..276e8cbd3a6 100644 --- a/make_translation.cpp +++ b/make_translation.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/map.cpp b/map.cpp index cd101da82b7..e71ea5521f4 100644 --- a/map.cpp +++ b/map.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/map.hpp b/map.hpp index 9827ad15b64..9018ff13598 100644 --- a/map.hpp +++ b/map.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/menu.cpp b/menu.cpp index 4e7c6e36ce1..d0963d63444 100644 --- a/menu.cpp +++ b/menu.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/menu.hpp b/menu.hpp index f923c6cad2f..4bef6f21df1 100644 --- a/menu.hpp +++ b/menu.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/merge_translations.cpp b/merge_translations.cpp index 8a1d1eb7912..92346d24c94 100644 --- a/merge_translations.cpp +++ b/merge_translations.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/multiplayer.cpp b/multiplayer.cpp index d6b97aeb29d..70386c0554c 100644 --- a/multiplayer.cpp +++ b/multiplayer.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/multiplayer.hpp b/multiplayer.hpp index f29fed4b31a..a8ec5968038 100644 --- a/multiplayer.hpp +++ b/multiplayer.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/pathfind.cpp b/pathfind.cpp index 840bfb4a956..b0689ab9521 100644 --- a/pathfind.cpp +++ b/pathfind.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/pathfind.hpp b/pathfind.hpp index 2e1a4e2435d..f28b0831a88 100644 --- a/pathfind.hpp +++ b/pathfind.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/playlevel.cpp b/playlevel.cpp index e7b1799d393..862844b0e0c 100644 --- a/playlevel.cpp +++ b/playlevel.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/playlevel.hpp b/playlevel.hpp index 54ce4e70889..df1fd7f0a2d 100644 --- a/playlevel.hpp +++ b/playlevel.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/playturn.cpp b/playturn.cpp index 965b96cecec..ac7bc577b4d 100644 --- a/playturn.cpp +++ b/playturn.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/playturn.hpp b/playturn.hpp index 530fbd12b03..2372889e2da 100644 --- a/playturn.hpp +++ b/playturn.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/preferences.cpp b/preferences.cpp index 5ba12adc0d4..7eba8db1062 100644 --- a/preferences.cpp +++ b/preferences.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net @@ -71,11 +72,12 @@ void set_fullscreen(bool ison) prefs.values["fullscreen"] = (ison ? "true" : "false"); if(disp != NULL) { + const std::pair& res = resolution(); CVideo& video = disp->video(); if(video.isFullScreen() != ison) { const int flags = ison ? FULL_SCREEN : 0; - if(video.modePossible(1024,768,16,flags)) { - video.setMode(1024,768,16,flags); + if(video.modePossible(res.first,res.second,16,flags)) { + video.setMode(res.first,res.second,16,flags); disp->redraw_everything(); } else { gui::show_dialog(*disp,NULL,"",string_table["video_mode_fail"], @@ -85,6 +87,41 @@ void set_fullscreen(bool ison) } } +std::pair resolution() +{ + const string_map::const_iterator x = prefs.values.find("xresolution"); + const string_map::const_iterator y = prefs.values.find("yresolution"); + if(x != prefs.values.end() && y != prefs.values.end() && + x->second.empty() == false && y->second.empty() == false) { + return std::pair(atoi(x->second.c_str()), + atoi(y->second.c_str())); + } else { + return std::pair(1024,768); + } +} + +void set_resolution(const std::pair& res) +{ + if(disp != NULL) { + CVideo& video = disp->video(); + const int flags = video.isFullScreen() ? FULL_SCREEN : 0; + if(video.modePossible(res.first,res.second,16,flags)) { + + video.setMode(res.first,res.second,16,flags); + disp->redraw_everything(); + + char buf[50]; + sprintf(buf,"%d",res.first); + prefs.values["xresolution"] = buf; + sprintf(buf,"%d",res.second); + prefs.values["yresolution"] = buf; + } else { + gui::show_dialog(*disp,NULL,"",string_table["video_mode_fail"], + gui::MESSAGE); + } + } +} + bool turbo() { const string_map::const_iterator turbo = prefs.values.find("turbo"); diff --git a/preferences.hpp b/preferences.hpp index 6cfd2bce7c3..9f9985367b9 100644 --- a/preferences.hpp +++ b/preferences.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net @@ -16,6 +17,7 @@ #include "display.hpp" #include +#include namespace preferences { @@ -34,6 +36,9 @@ namespace preferences { bool fullscreen(); void set_fullscreen(bool ison); + std::pair resolution(); + void set_resolution(const std::pair& res); + bool turbo(); void set_turbo(bool ison); diff --git a/replay.cpp b/replay.cpp index c6b8ff1ea9f..cb73da1805c 100644 --- a/replay.cpp +++ b/replay.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/replay.hpp b/replay.hpp index 73a0feaae81..300280382d9 100644 --- a/replay.hpp +++ b/replay.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/scoped_resource.hpp b/scoped_resource.hpp index f506f6add60..96332f094d1 100644 --- a/scoped_resource.hpp +++ b/scoped_resource.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/sdl_utils.cpp b/sdl_utils.cpp index d6c5e30ffbe..8ca608eef79 100644 --- a/sdl_utils.cpp +++ b/sdl_utils.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/sdl_utils.hpp b/sdl_utils.hpp index e702bf5711a..6dc4c0df9c3 100644 --- a/sdl_utils.hpp +++ b/sdl_utils.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/sound.cpp b/sound.cpp index de5e71a3c81..9d5d7e08bbf 100644 --- a/sound.cpp +++ b/sound.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/sound.hpp b/sound.hpp index 1d130e41f81..ce4aecc6be3 100644 --- a/sound.hpp +++ b/sound.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/team.cpp b/team.cpp index cc92f6ea0b2..8ae9058cd2b 100644 --- a/team.cpp +++ b/team.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/team.hpp b/team.hpp index 0ede12f9189..89973e78cd1 100644 --- a/team.hpp +++ b/team.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/terrain.cpp b/terrain.cpp index 1218741bc4c..c966001d099 100644 --- a/terrain.cpp +++ b/terrain.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/terrain.hpp b/terrain.hpp index 29d028d6c12..beebf8861bb 100644 --- a/terrain.hpp +++ b/terrain.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/unit.cpp b/unit.cpp index 00cdc37aa67..84764580db6 100644 --- a/unit.cpp +++ b/unit.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/unit.hpp b/unit.hpp index 27595c1de87..d905bb836bb 100644 --- a/unit.hpp +++ b/unit.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/unit_types.cpp b/unit_types.cpp index 03828a2e2ba..d4b45607a55 100644 --- a/unit_types.cpp +++ b/unit_types.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/unit_types.hpp b/unit_types.hpp index 6cde19523b3..7926d271eb5 100644 --- a/unit_types.hpp +++ b/unit_types.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/util.hpp b/util.hpp index 2bcfe2e6d17..83dca2771cc 100644 --- a/util.hpp +++ b/util.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/video.cpp b/video.cpp index 86a074a40ea..4dba9e3120c 100644 --- a/video.cpp +++ b/video.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/video.hpp b/video.hpp index 6d2c6be5544..03cb6f8f955 100644 --- a/video.hpp +++ b/video.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/button.cpp b/widgets/button.cpp index 894c2d5a2fd..0999875555a 100644 --- a/widgets/button.cpp +++ b/widgets/button.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/button.hpp b/widgets/button.hpp index 14261385c08..610e5113d3a 100644 --- a/widgets/button.hpp +++ b/widgets/button.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/slider.cpp b/widgets/slider.cpp index 3710c113ab9..33371eebc1e 100644 --- a/widgets/slider.cpp +++ b/widgets/slider.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/slider.hpp b/widgets/slider.hpp index eea75fc328a..2a5189b5a57 100644 --- a/widgets/slider.hpp +++ b/widgets/slider.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/textbox.cpp b/widgets/textbox.cpp index 8355f1b3f08..6200235054a 100644 --- a/widgets/textbox.cpp +++ b/widgets/textbox.cpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net diff --git a/widgets/textbox.hpp b/widgets/textbox.hpp index 452c39bdd83..f66135bc907 100644 --- a/widgets/textbox.hpp +++ b/widgets/textbox.hpp @@ -1,3 +1,4 @@ +/* $Id$ */ /* Copyright (C) 2003 by David White Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net