Commit Graph

82 Commits

Author SHA1 Message Date
Jordà Polo
272f6a4521 changed rightside panel HP/XP (now uppercase) 2004-09-19 14:02:56 +00:00
Guillaume Melquiond
1152bcd674 Allow top statusbar tooltip strings to be translated. 2004-09-14 20:26:56 +00:00
Yann Dirson
0219dcc6fb fixed install and dist target in po/ 2004-09-02 22:25:07 +00:00
Isaac Clerencia Perez
aef901ccf2 Marked hp and xp as translatable in default theme 2004-08-28 12:13:13 +00:00
Jordà Polo
c668009afe rightclick menu changes 2004-08-26 11:22:02 +00:00
Yann Dirson
84d908dd18 switch from | to ^ as prefix separator for translatable strings 2004-08-21 22:03:28 +00:00
Yann Dirson
8063f64918 merged syncpoint_gettext1_7 from trunk 2004-08-04 22:20:25 +00:00
Yann Dirson
59d92e859b tagged more theme strings, using sgettext syntax 2004-07-22 23:42:28 +00:00
Yann Dirson
44c11f914f translate strings in default theme 2004-07-20 12:31:30 +00:00
Yann Dirson
0160b39a98 merged syncpoint_gettext1_5 from trunk 2004-07-19 21:55:23 +00:00
Yann Dirson
2965548fb1 merged syncpoint_gettext1_4 from trunk 2004-07-18 20:04:28 +00:00
Yann Dirson
508df62a2b merged syncpoint_gettext1_3 from trunk 2004-06-29 20:40:09 +00:00
Yann Dirson
5d4b3e9e4e merged syncpoint_gettext1_2 from trunk 2004-06-27 20:34:24 +00:00
Yann Dirson
4c9a6d303f merged syncpoint_gettext1_1 from trunk 2004-06-25 23:04:51 +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
Kristoffer Erlandsson
6cc26aa22c A square is now drawn around the currently selected function...
...for the left mouse button.

Fixed a problem where the selected terrain and brush size was not
remembered through operations that affected the whole map, such as
flip and resize.
2004-05-31 20:41:57 +00:00
Kristoffer Erlandsson
0a85b60fe1 Added Turin's new brush-pictures.
Changed the menu names to file and edit.

Changed the color to magenta when the same terrain is selected as both
foreground and background.
2004-05-31 17:21:50 +00:00
Kristoffer Erlandsson
23d62b4e06 Restructured the Editor UI:
Two terrains may now be selected in the palette, one is used for
filling when moving selections and cutting/pasting and will be used
when drawing with the right button.

The context menu is removed, instead the function of the left button
is chosen in the right panel and operations that do not need a
location to work is chosen from an additional menu.
2004-05-30 22:17:42 +00:00
Kristoffer Erlandsson
c179b12c44 Cleaned up the editor theme. 2004-05-24 19:41:09 +00:00
Kristoffer Erlandsson
3ee1fbff42 'Select all' operation added. 2004-05-20 17:43:11 +00:00
Kristoffer Erlandsson
61a548307b Flip operation added. 2004-05-19 23:55:55 +00:00
Kristoffer Erlandsson
9ce185a2f0 Added the ability to resize the map. 2004-05-11 20:03:02 +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
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
Dave White
38992ed5bd fixed segfault that could happen when changing video modes (CVS internal) 2004-05-06 23:44:01 +00:00
Jordà Polo
47d0bed6b6 fixed problem with 'terrain type' and 'position' with lower resolutions 2004-05-05 17:01:07 +00:00
Kristoffer Erlandsson
bda20ac65f Revert from disk functionality added. 2004-05-04 20:48:30 +00:00
Kristoffer Erlandsson
451757d32e Editor: The name of the currently selected terrain is now displayed. 2004-05-04 19:46:52 +00:00
John B. Messerly
08e46b18d9 Added a "continue move" action.
There are four parts to this patch:

1) add the action to the usual places 2) add a gamemap::location to class unit,
which stores the location we were trying to move to, 3) clear this
location on end-of-turn, or if the unit moves again this turn, and 4)
if a move is interrupted, reslect the unit's hex.

The new hotkey is 't'. To use this feature, select a unit that had its
move interrupted by seeing allies/enemies, and right click >> "Continue
Move", or press the 't' key.
2004-05-04 01:50:19 +00:00
John B. Messerly
b37199b612 [[Improvements to action menus]]
* Added toggleable action support to hotkey.[c|h]pp & playturn.[c|h]pp.
* Actions can now have images associated with them.
* Toggleable menu items use the checkbox graphics.
* Fixed some of the trivial warnings (newlines, double 0.0 constants where integer 0 required)
2004-05-03 04:06:53 +00:00
Kristoffer Erlandsson
2fa19dc876 Cut and paste functionality added in the editor 2004-05-02 14:20:16 +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
d1ec0bff43 Flood fill added. 2004-04-28 00:05:28 +00:00
Kristoffer Erlandsson
0a1d6d33a8 Fixed a problem where the hotkeys intended for the game ...
...would overwrite those for the editor.

Changed the current keybindings into more intuitive ones.
2004-04-27 21:16:56 +00:00
Kristoffer Erlandsson
ed55b59702 Refactoring: the terrain palette now is a separate class.
Major speed enhancement: the palette is only redrawn when needed.
The coordinates and terrain type of the hex the mouse is over are shown.
2004-04-26 19:57:36 +00:00
John B. Messerly
8a80955b83 Added the ability to move units on fog/shroud maps without ...
...updating the fog/shroud, so the moves can be undone. The player can
commit the moves, forcing the fog/shroud to update, but then the moves
can no longer be undone.  Useful to make fog/shroud maps behave more
like normal maps, with respect to move undoing.
2004-04-25 18:50:42 +00:00
Kristoffer Erlandsson
258bf33052 load map and new map menu items and hotkeys added 2004-04-25 15:03:18 +00:00
Kristoffer Erlandsson
34b66cf654 Save as functionality added. 2004-04-25 13:36:00 +00:00
Kristoffer Erlandsson
84b148ae76 Hotkeys, panels and context menu added. Menus extended. 2004-04-24 15:28:37 +00:00
Dave White
4fd5afc631 [[Editor and AI improvements]]
- some editor improvements

- made AI not recruit units that don't have a suitable movement type for the map
2004-04-23 15:48:24 +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
5238dcc75a [[Game[lay fixes]]
- added randomization of temples in Muff Malal's peninsula
- made it so in MP games, players can receive labels and messages while it's their turn
- added patch to 'show possible enemy moves'
2004-04-05 19:29:23 +00:00
Dave White
36a20a3a1e made the game more interactive during the AI's turn 2004-04-02 23:42:19 +00:00
Dave White
73cc7116e2 attempt to fix "X_ShmPutImage" crash on GNU/Linux 2004-04-02 19:14:47 +00:00
Dave White
fc0c48f9a3 [[Miscellaneous fixes to graphics, lobby, and gameplay]]
- added new status image for illuminated underground

- made Li'sar start at level 2 and be upgradeable to level 3

- made it so users in lobby can see minimap of non-shroud games being played

- made it so the 'observer' setting is respected for multiplayer games

- made it so that the number of available positions in a game is shown
  in the lobby

- made it so the current turn of a game underway is shown in the lobby

- made the 'eye of the observer' work, allowing players to see who is
  observing their game. (only updates when it's a network player's
  turn)
2004-03-29 23:43:47 +00:00
Dave White
7ede232ef5 added new fog of war images 2004-03-24 16:01:13 +00:00
Dave White
34aeef509d added 'undo', 'redo', and 'cycle' to the context menu
made it so shortcut keys are displayed next to menu items
2004-03-23 15:23:36 +00:00
Dave White
1640dcd596 [[Terrain and calculations]]
- added cave-based terrain generator

- added calculations for battles
2004-03-21 19:05:23 +00:00
Dave White
4ccc9cc647 added command line options 2004-02-27 19:18:55 +00:00