Commit Graph

1862 Commits

Author SHA1 Message Date
Dave White
39b1b25ffe added in Wesbowl multiplayer scenario 2004-05-10 20:47:03 +00:00
Dave White
14d38ab28c new fairer village placement algorithm 2004-05-10 15:13:00 +00:00
Pauli Manninen
f52202e477 updated changelog 2004-05-10 11:32:54 +00:00
Pauli Manninen
f615ab6990 updated changelog 2004-05-10 07:07:15 +00:00
John B. Messerly
b5d603b682 Multiplayer chat "Allies only" checkbox now remembers its state, ...
...even if you cancel it (by pressing <ESC>).
2004-05-10 04:07:16 +00:00
Dave White
0435de8eed fixed bug where bottom of chat window in multiplayer lobby ...
...couldn't always be seen
2004-05-10 03:03:51 +00:00
John B. Messerly
b2ff8a3e43 Refresh fog/shroud after an "attack" action in a multiplayer game.
Should fix the fog covering allied units when an allied unit dies, if
shared vision is enabled.
2004-05-10 00:45:33 +00:00
Cédric Duval
2ea0cfb02f Graphics for Lizardman Warrior were backwards. Fixed. 2004-05-09 21:09:06 +00:00
Cédric Duval
09b4f69150 Reverted defense in villages for lvl1 scout to correct value (60%).
Upper levels are better in villages.
2004-05-09 17:04:10 +00:00
Dave White
c0fedb5a10 attempt to fix tooltips from game setup appearing in-game 2004-05-09 14:20:12 +00:00
Cédric Duval
70d282bff6 Replaced villages with the improved one (fixing bluriness) by Sangel.
Exceptions are human-village and flag-neutral.
2004-05-09 13:29:19 +00:00
Cédric Duval
d6b9c09812 [[New images]]
* Added new set of images (from Turin) for lvl1 Gryphon Rider.

* Prepared addition of lvl2 (Gryphon Master). Just needs animations
  for real inclusion.
2004-05-09 12:02:43 +00:00
Kristoffer Erlandsson
bc010a2bbe Fixed problem that the sliders didn't redraw correctly when toggling fullscreen. 2004-05-09 11:18:42 +00:00
Kristoffer Erlandsson
c1f671a53a Added a preferences dialog to the editor.
It is now possible to change resolution and toggle fullscreen in the editor.

Refactoring:

The palettes now inherit from the widget class.

The events are handled by the palettes themselves.

The terrain palette controls the scroll buttons by itself.
2004-05-09 11:11:15 +00:00
John B. Messerly
283370720d Added a "shared vision" option to multiplayer games...
...(and single-player games, via the scenario cfg file). It causes all
allied players to be able to see the same fog and shroud.

Notable changes by file:

* data/translations/english.cfg = added a "Shared Vision" string

* src/multiplayer.[ch]pp = added a "Shared Vision" checkbox

* src/multiplayer_connect.[ch]pp = added a shared_vision parameter to
load_game

* src/playlevel.cpp = clear shroud for each team once up front, before
the first player's turn

* src/replay.cpp = fixed several commands not clearing fog/shroud
or refreshing the minimap properly

* src/team.[ch]pp = changed shrouded(x,y) and fogged(x,y) methods to
return true only if the square is shrouded/fogged for every allied
player, if and only if shared vision is turned on for this team.
2004-05-09 05:14:50 +00:00
Dave White
a367e9c394 [[Minor UI fixes]]
- fixed bug where 'cancel' button would appear under multiplayer games

- fixed preferences widgets disappearing when changing video mode
2004-05-09 03:19:59 +00:00
John B. Messerly
700ee319ba Small changes to the project settings. 2004-05-09 02:13:37 +00:00
John B. Messerly
634d28c1f0 Added progressive search functionality...
...(for label text and unit names). Algorithm
performance proportional to map hexes.
2004-05-09 02:12:59 +00:00
John B. Messerly
b27bbbb6fc Small change: When a player is disconnected in an MP game, ...
...the save game prompt asks a question "Do you want to save?" so it
makes more sense to use gui:YES_NO buttons instead of gui::OK_CANCEL
buttons.
2004-05-08 21:46:44 +00:00
John B. Messerly
eced8584bb Label and unit name search is now case-insensitive...
...for the lower range of ASCII characters
2004-05-08 20:57:12 +00:00
Cédric Duval
80e1892309 Added level 3 for elvish scout.
Level 2 is now called Rider, and level 3 is Outrider. Changed
scenarios referring to old Outrider accordingly.
2004-05-08 20:37:32 +00:00
John B. Messerly
53f7207475 "Press t to continue" message now displays only if the unit has movement left. 2004-05-08 20:33:38 +00:00
John B. Messerly
0ccfa64a7d Wesnoth now stores two resolutions:
one for fullscreen and one for windowed mode. When you switch to/from
fullscreen mode, it sets your resolution appropriately. The old
xresolution= and yresoltion= tags from ~/.wesnoth/preferences are
ignored, so this requires a one time setting-up of resolutions.
2004-05-08 19:39:43 +00:00
John B. Messerly
3454f98027 Added dialog that askes you to confirm your turn, ...
if you click end turn immediately after your turn is started. It
triggers if you haven't made any interative actions between the start
of your turn and clicking 'end turn'
2004-05-08 18:58:47 +00:00
Francisco Muñoz
2c60250c94 Minor rebalance: Added a bit more melee damage (7 instead of 6) 2004-05-08 15:43:10 +00:00
Francisco Muñoz
ddff03f023 Added 2nd Lizardman. Added paladin healing image 2004-05-08 15:32:34 +00:00
Pauli Manninen
a9d8063810 updated changelog 2004-05-08 12:30:08 +00:00
Kristoffer Erlandsson
afd5c4ad07 Fixed a CVS-only problem with buttons that disappeared in the editor.
Made the new map dialog a bit faster and fixed a CVS-only problem
where its buttons disappeared.
2004-05-08 10:42:21 +00:00
John B. Messerly
373fd7b49e Fixed a bug with the validate_side(...) check in unit::unit(...).
The symptom was failure of any scenario to load which has a
'move_unit_fake' command in it. The check is now bypassed for "dummy"
units.
2004-05-08 00:55:38 +00:00
Dave White
96d6d04bf7 fixed bug in reading/writing compressed WML data (CVS internal) 2004-05-07 23:06:17 +00:00
Dave White
565603f5de added caching of data files to speed game loading 2004-05-07 21:32:51 +00:00
Jordà Polo
f69fe0564c updated spanish translation (kilder) 2004-05-07 19:56:02 +00:00
Dave White
011244a19e attempt to fix crashes when units with invalid sides appear,
by rejecting such invalide sides in the unit's constructor
2004-05-07 15:03:59 +00:00
Pauli Manninen
8512b2a8de updated changelog 2004-05-07 07:43:31 +00:00
Dave White
38992ed5bd fixed segfault that could happen when changing video modes (CVS internal) 2004-05-06 23:44:01 +00:00
Dave White
06f0389ff4 attempt 2 to fix assertion failure when moving units 2004-05-06 20:56:28 +00:00
Dave White
0f2691d478 attempt to fix assertion failure in move_unit() 2004-05-06 20:07:41 +00:00
Dave White
bbb459ad4f fixed sliders in map generator dialog 2004-05-06 19:53:45 +00:00
Dave White
619ad5ac83 made searching highlight the hex which matches the search 2004-05-06 19:30:32 +00:00
Philippe Plantier
7439b057b8 Adding back castle images that were previously removed by error. 2004-05-06 19:23:29 +00:00
Dave White
6473270c43 made input of search strings and messages use a textbox that overlays the map,
which allows these operations to be performed asynchronously
2004-05-06 19:13:51 +00:00
Philippe Plantier
322de4f71f Removing obsolete castle images. 2004-05-06 19:06:18 +00:00
Dave White
dbf5076c7f made chat box in multiplayer lobby support scrolling and wrapping 2004-05-06 16:17:02 +00:00
Benjamin Drieu
f404ff2120 Fix a typo and another typo that caused this scenario to have only two turns 2004-05-06 13:41:20 +00:00
Pauli Manninen
90ea238c30 updated changelog 2004-05-06 06:42:09 +00:00
John B. Messerly
767c8c3d13 [[Minor UI fixes]]
* Added a message to the "units sighted" message telling the player
which hotkey to press to continue their move

* Made a minor change to the "search string not found" message so it
uses config::interpolate_variables_into_string (the standard way to
replace variables in a translatable message)
2004-05-06 00:37:58 +00:00
Dave White
c36cea09c4 made the game more responsive when it's the AI or another player's turn.
Added two new AI parameters: recruitment_ignore_bad_movement and
recruitment_ignore_bad_combat
2004-05-05 22:07:20 +00:00
Kristoffer Erlandsson
6b9abaf6d9 The selection of terrain is now kept through undo and redo operations. 2004-05-05 21:44:44 +00:00
Philippe Plantier
9d0ec9c14a Fixed font redrawing for the font used in the slovak (and polish) translations
(see bug #8764)
2004-05-05 20:11:51 +00:00
Jordà Polo
2f10329922 resized ellipses 2004-05-05 18:19:10 +00:00