Jörg Hinrichs
9a8d4a4cb2
fixes OoS bugs
...
#5967 (OoS box doesn't appear),
#5960 (OoS when moving more than range in mp),
#5954 (OoS with undo in mp)
2006-05-22 16:56:04 +00:00
Jörg Hinrichs
f89a87af5f
fixes bug #5728 part 3 (actions menu and end turn button freeze)
...
also fixes wrong side starting to play after loading a savegame
2006-04-12 20:57:48 +00:00
Jörg Hinrichs
00ac387315
Map Editor compiles with VC++ again
...
fixes broken enemy unit movement highlighting
minor cleanups
2006-04-08 16:33:50 +00:00
Jörg Hinrichs
c9882f7085
various bugfixes
2006-04-02 22:03:12 +00:00
Jörg Hinrichs
739b66daf1
Done implementation, before bugfixing
2006-03-29 21:12:27 +00:00
Jörg Hinrichs
cb0392a6f3
implements feature to skip mp replays for observer
...
(actually they are not really skipped but accelerated quite a lot)
2006-03-04 20:56:24 +00:00
Jérémy Rosen
d5db8ede04
add a command to clear all labels in mp games
2006-02-05 00:34:03 +00:00
Rusty Russell
a5b935bc09
Neaten display::set_paths() and display::set_reach_map().
...
Bug #5145 was caused by a missing set_paths(NULL), because the display
object used to keep the paths pointer it was passed.
This is unnecessary, because the gui only needs to keep which tiles to
highlight: it does not need to keep the paths themselves. Also, both
interfaces are very similar and should be combined. While we're
there, rename them: we don't use it for the actual "route"
highlighting (ie. the footsteps), just for showing where a unit/units
can reach.
2006-01-26 02:35:07 +00:00
Rusty Russell
e2feadfc86
Warning fixes:
...
not complete, but I stopped pulling the thread before the whole
project unravelled 8)
(1) team and player numbers should be unsigned.
(2) sizes of gui elements should usually be unsigned.
This probably introduced some bugs.
2006-01-24 01:17:58 +00:00
András Salamon
99bbbd6a51
whitespace cleanup
2006-01-12 11:04:50 +00:00
Jérémy Rosen
fa3532bd13
remove of improper dependancy
2006-01-10 22:43:39 +00:00
Jérémy Rosen
c9090cbc90
added fisher's clock, patch by mtx
2005-12-16 21:52:50 +00:00
Isaac Clerencia Perez
1f15bbf440
Apply patch from Rusty Russel...
...
...(wow!) to print the number of enemies who can reach a given hex
when "Showing enemy moves"
2005-11-22 00:07:49 +00:00
Philippe Plantier
d5ae1820e4
Fixed bug #12466
...
text input field not changing its position when changing the resolution.
2005-08-27 22:52:54 +00:00
András Salamon
8d25fb99a6
codeclean in src, mostly Dave's new email address (checked with cvs diff -b)
...
BY THE WAY, many of the source files have no copyright headers!
2005-07-02 21:37:20 +00:00
András Salamon
8bd9bc98a5
ran codeclean against files
2005-06-04 19:16:06 +00:00
John W. C. McNabb
aa8caf2760
new hotkeys
2005-05-18 14:06:30 +00:00
Guillaume Melquiond
aeda20b9c4
Applied patch #3786 from InvPhi for a more intuitive move-and-attack.
2005-03-24 21:18:26 +00:00
Yann Dirson
f83a0b1f76
split a game exceptions into their own file...
...
...to avoid gratuitous dependencies on gamestatus, some cleanup of
deps against gamestatus
2005-03-22 23:42:37 +00:00
Philippe Plantier
183e200ef8
Const-correctness on play_level, and play_turn.
2005-03-19 10:26:43 +00:00
Yann Dirson
59ad858b54
include cleanup: tooltips
2005-03-10 22:29:57 +00:00
Yann Dirson
81d2cd9563
include cleanup: play*
2005-03-10 20:43:48 +00:00
Yann Dirson
6ec8596b61
include cleanup: about, actions, cavegen, mapgen
2005-03-09 20:48:42 +00:00
Dave White
ce6c79dff2
added assertion that the route is empty...
...
...back into move_unit() and fixed the caller in playturn
2004-12-30 13:57:23 +00:00
Dave White
a469fc31fb
made it so that click-to-attack makes the unit move...
...
....to the nearest hex to the cursor
2004-12-30 02:52:37 +00:00
Isaac Clerencia Perez
dfe8189b3d
Added in-game chat tab-completion for player names.
...
ToDo:
* Look for memory leaks (can you review it, Dave? :) )
* Make it work in the lobby
* Be case insensitive (any easy way?)
2004-12-20 01:49:19 +00:00
Dave White
28b93b239a
CHANGELOG: added feature to move and attack a unit in one go...
...
...by clicking on an enemy that can be reached this turn.
2004-12-03 01:19:29 +00:00
Dave White
65e2c4ef03
made replacing of sides with observers possible again
2004-12-02 01:59:05 +00:00
Guillaume Melquiond
92d292b655
Remove unused parameters.
2004-11-21 21:25:48 +00:00
Guillaume Melquiond
e517e45464
Remove unused parameter.
2004-11-21 21:15:56 +00:00
Dave White
680646b25e
fixed bug where trying to move onto a tile occupied by an enemy...
...
...but under fog of war would allow one to see where enemy units are
under the fog
2004-09-11 02:55:46 +00:00
Dave White
b3352567a8
made it so that cycling units with 'n' doesn't show enemy invisible units...
...
...while it's their turn
2004-08-30 01:03:59 +00:00
Isaac Clerencia Perez
3b6cf7aad0
Applied Silene's "speed up compilation - AI" (patch #3322 )
2004-08-29 11:48:34 +00:00
Dave White
5e0815989d
added feature to replace an AI or local player with an observer;
...
added some optimizations.
2004-08-21 22:21:05 +00:00
Dave White
c3d2f8abe9
removed the unit description dialog in favor of unit help
2004-08-18 02:51:23 +00:00
Dave White
666191d71c
added ban functionality to multiplayer server games
2004-08-06 02:42:36 +00:00
Dave White
8997cfc402
rebalanced various scenarios; fixed bug with roles not working properly
2004-06-26 20:57:49 +00:00
Dave White
16f9f4df7c
made it so that non-editable, multi-line textboxes can have areas of text...
...
...highlighted (and thus copied and pasted). Implemented a 'chat log' feature
2004-06-23 23:43:38 +00:00
Kristoffer Erlandsson
77fc29a1b9
Help browser added. Some basic help is included, but it should be extended.
2004-06-15 20:14:10 +00:00
Dave White
5d3a4f5b3b
implemented 'load game' option
2004-06-04 22:45:36 +00:00
Dave White
2f8e298c4f
attempt to fix OoS ...
...
...that could occur with a network player immediately following an AI
2004-05-27 19:33:55 +00:00
Dave White
35c82f9581
changes to network code to attempt to fix 'dropped chat messages' bug
2004-05-27 15:53:23 +00:00
Dave White
47c8c39a7b
changes to make AI smarter
2004-05-13 02:03:28 +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
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
Dave White
565603f5de
added caching of data files to speed game loading
2004-05-07 21:32:51 +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
John B. Messerly
0be7482cba
[[Add search and fix continue]]
...
* Added a "search" action, which searches labels and unit names
(unit::description()) for the string you type. Case sensitive. Triggered by the
"/" key. Hitting enter at the enter-search-term dialog repeats the
previous search. Searches labels first, then units.
* Fixed a problem with the conditions for displaying the "continue move" action
in the context menu (it was checking things properly in
turn_info::continue_move(), but not in can_execute_command(...)). This caused
"Continue Move" to appear to be a valid option, but clicking it would have no
affect.
2004-05-05 03:37:14 +00:00
John B. Messerly
eca141e046
Small change [[to shroud and fog behavior]]:
...
"Show Enemy Moves" and "Best Possible Enemy Moves" won't show up in
the context menu now if there are no enemies visible. Whether any
enemies are visible or not is cached on turn_info, and recomputed
every time turn_info::clear_shroud() is called.
This change has no effect on maps that don't use shroud or fog.
2004-05-04 23:48:23 +00:00