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
Yann Dirson
a077c6c2ea
moved update_lock stuff from display to video
2005-03-16 21:49:37 +00:00
Yann Dirson
3d60db811d
moved help_string stuff from display to video
2005-03-16 20:50:12 +00:00
Yann Dirson
b456d80a34
moved blit_surface() from display to video, more cleanup of deps against display
2005-03-15 22:14:04 +00:00
Philippe Plantier
7f2df479da
Fixed bug #7138 : [end turn] should be locked if you can not end turn.
2005-03-14 22:26:38 +00:00
Yann Dirson
62768501bb
include cleanup: builder, cursor, dialogs, display
2005-03-09 22:21:54 +00:00
Yann Dirson
81ffd3dc99
use fixed-point computations...
...
...so owners of FPU-less machines can still enjoy the game
2005-02-09 23:32:01 +00:00
Dave White
89122101f2
added the --fps option...
...
...to display the number of fps the game is running at in-game
2005-01-27 03:45:00 +00:00
Dave White
ccb494a76a
made multiplayer lobby less laggy...
...
...when games are created and players join; fixed editor compile error
2004-12-31 00:46:41 +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
Guillaume Melquiond
94361fcc81
A few fixes for compiling on Irix native compiler.
2004-12-02 07:59:49 +00:00
Guillaume Melquiond
87df95d302
Remove unused parameters.
2004-11-27 09:31:06 +00:00
Guillaume Melquiond
fcea56052d
Remove useless function.
2004-11-27 09:05:11 +00:00
Guillaume Melquiond
4c67349bc4
Remove three unused parameters.
2004-11-22 21:39:14 +00:00
Guillaume Melquiond
bfe607d226
Applied mark7's hex detection patch ( #3416 ).
2004-10-07 18:42:59 +00:00
Philippe Plantier
0598787322
Made it possible to have [terrain_graphics] rule as childs of [scenario]s.
...
Fixed a bug where tiles from terrain_graphics rule did not have the per-rule
image when only defined through [map].
2004-09-11 21:22:57 +00:00
Philippe Plantier
7b92f0a024
(cvs internal) fixed level-up fadings that were broken by a previous commit.
2004-08-25 20:05:12 +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
0c165f81c9
added new : commands: clear, w, wq, q, debug, n
2004-08-11 03:10:17 +00:00
Philippe Plantier
6e002eab57
Fixing a graphic glitch where FoW was drawn after the foreground part...
...
... of some images.
2004-08-02 21:35:03 +00:00
Dave White
c5a1786837
fixed seg fault
2004-07-27 01:54:41 +00:00
Dave White
0fb8dda5a2
Fixed bug where haloes on items were not saved in save files
2004-07-25 22:41:50 +00:00
Philippe Plantier
eb70a354a3
[[Castle and village graphics fixes]]
...
* Fixed (reverted?) castle tiles not being expanded to the border.
* Added support for animated flags on villages.
2004-07-25 21:26:28 +00:00
Philippe Plantier
47dd717978
[[Animation and layering fixes]]
...
* Added proper support for animated time-of-day alternative images
* Fixed 'layers' not working as intended in built terrains
* Added sample (read: ugly) animated villages as an illustration.
2004-07-24 23:42:23 +00:00
Philippe Plantier
ac441889d9
[[Animation refactoring]]
...
* Refactoring of all animation code in unit_display and halo.
* Adding animated.hpp, and the animated<T> template.
* Partial rewrite of image.?pp for speed: looking up images was what
was slowing the game
* Replacing all SDL_Surface*, and scoped_sdl_surface, with
shared_sdl_surface, which was renamed surface.
* Optimizing halo movement when unit moves
* Inlining some stuff for performance reasons
* Optimizing invalide_all redraws
* Adding support for animated terrain images
2004-07-18 19:02:25 +00:00
Dave White
1949e00955
added animated on-map items. New attack dialog. New load game dialog
2004-06-10 23:43:25 +00:00
Dave White
bb90f34fdd
added 'help strings' feature
2004-06-08 22:36:39 +00:00
Kristoffer Erlandsson
33681e609a
Made the editor use the default image for the terrains...
...
...while drawing them so that updates are visible immediately, but
things do not have to be rebuilt. (Fixes some CVS-only issues)
Changed rebuild_terrain() to set the image for that location to the
default image of the terrain. It would still be nice to be able to
rebuild locations on the fly, but if it really is too complicated,
this solution is not that bad.
2004-06-06 12:49:27 +00:00
Philippe Plantier
bd2866fb61
Replacing the terrain transition code by something entirely in WML.
...
Made forests and hills always overlay terrain on their northern (top)
side. [building_rule] tag is now called [terrain_graphics] A few
changes in the terrain graphics WML element
2004-05-31 22:25:37 +00:00
Dave White
aea345486d
made halo for Elder Mage now align properly
2004-05-29 04:18:12 +00:00
Kristoffer Erlandsson
b054ca433e
Added a new level of brightened images,
...
image::SEMI_BRIGHTENED, which is a bit less brightened than
image::BRIGHTENED. It is currently used in the editor when marking
hexes.
2004-05-28 17:45:49 +00:00
Dave White
bc61faf13e
Added per-unit haloing, including haloes for Mage of Light
2004-05-25 18:27:37 +00:00
Dave White
b74679f079
added experimental xp bars next to hp bars
2004-05-22 02:37:07 +00:00
Dave White
4e5608d631
AI improvements to make it group better
2004-05-21 17:26:13 +00:00
Philippe Plantier
405610f2b0
Adding support for multi-hex tiles. Some features still missing.
2004-05-14 19:52:03 +00:00
Dave White
565603f5de
added caching of data files to speed game loading
2004-05-07 21:32:51 +00:00
Dave White
38992ed5bd
fixed segfault that could happen when changing video modes (CVS internal)
2004-05-06 23:44:01 +00:00
Kristoffer Erlandsson
d452ce1281
Added the ability to mark tiles in the editor.
...
The marked tiles may be filled with the selected terrain.
Added templates for cut and paste functionality.
2004-05-01 23:31:40 +00:00
Kristoffer Erlandsson
7938e82745
Added the ability to highlight several hexes.
2004-05-01 21:33:33 +00:00
Dave White
2c78051d25
converted hex calculations to fixed point instead of floating point
2004-04-28 15:26:42 +00:00
Kristoffer Erlandsson
5a9fee57a7
Minor cleanup in the dynamic rebuilding of terrain.
2004-04-27 06:28:41 +00:00
Kristoffer Erlandsson
ce362b34b7
Dynamically generated terrain now displays correctly in the editor.
2004-04-26 21:35:22 +00:00
Dave White
accbc0f772
code refactoring - simplified the 'display' module
2004-04-22 18:58:59 +00:00
Dave White
d578d135be
added in castle patch from Ayin
2004-04-19 15:42:58 +00:00
Dave White
804d114fad
made new time of day image masks ...
...
...which get laid over hexes when it's that time of day
2004-04-15 14:58:57 +00:00
Dave White
9db644e45b
improvements to chat system.
...
fixed bugs with tooltips
2004-04-14 17:12:18 +00:00
Dave White
9163a72271
added nice looking new castles from Ayin
2004-04-12 14:18:01 +00:00
Dave White
27f43ec122
[[Multiplayer fixes]]
...
- fixed bug where if the host changed their name, it would show that
name to users connecting to the game
- fixed bug in lobby where top-left of screen would not be drawn properly
- made private messaging work
2004-04-09 17:53:53 +00:00
Dave White
6245f0c421
[[Graphics fixes]]
...
- made it so labels on light coloured terrain are black.
- made it so that ellipses fade when a unit dies
- tried to fix bug where labels slowly move
2004-04-08 20:13:18 +00:00