Patrick Parker
bd1ae5284d
new mode "insert" for [set_variables]
...
fix various problems with [set_variables] (bug #11980 and bug #11981 )
2008-07-09 06:47:45 +00:00
Patrick Parker
91f87c3c95
new utility function in_ranges<typename>()
2008-07-09 03:28:19 +00:00
Tomasz Śniatowski
d2f5668ce3
Editor2:
...
* Implement very basic single hex drawing
* Framework for mouse actions
* Merge editor_mouse_handler with editor_controller (required some
slight changes in mouse_handler_base and mouse_handler)
* Minor changes that would be difficult to separate now and commit on
their own
2008-07-09 01:02:16 +01:00
Greg Copeland
85084bdb82
More clean up.
...
The ai_manager is now completing its resource
lifecycle. If an AI returns true from its "reap" method,
the manager will destroy the instance. This allows the AI
to clean up before the manager destoys the AI instance.
2008-07-08 23:33:50 +00:00
Mykola Konyk
e75686c82f
Submitting new (partial), rails based stats website.
2008-07-08 23:16:07 +00:00
Greg Copeland
d7b2b2006c
Further refinement of ai_manager.
...
It is now called for all AIs and the AI in turn informs the manager if
it should be managed. This decouples the manager from specific AI
implementation knowledge.
2008-07-08 23:10:17 +00:00
Lari Nieminen
7e0fb87bfd
More SotBE tweaks and cleanups.
2008-07-08 23:05:22 +00:00
Lari Nieminen
94858d866f
Forgot to commit some map tweaks.
2008-07-08 22:54:57 +00:00
Mykola Konyk
1f36883e25
Restructuring old stats project, as per Rusty's request.
2008-07-08 22:42:59 +00:00
Greg Copeland
d439e1ace7
Added a comment to ai_manager::reap_ais().
2008-07-08 22:21:41 +00:00
Greg Copeland
b0abbdae36
Fixed key-collision in ai_manager...
...
...which would cause an AI to be incorrectly reused by another
team. Added a method to allow the ai_manager to detect if an AI
requests management by the ai_manager. Lastly, added a hook to allow
the ai_manager to clean up AI resources prior to playsingle_controller
destruction. Formula_ai now has method to inform ai_manager it wishes
to be managed.
2008-07-08 22:15:38 +00:00
Ali El Gariani
7c94c04324
silance a warning "no newline at end of file" reported by loonycyborg
2008-07-08 21:49:18 +00:00
Ali El Gariani
20be66ed86
Also team-color leader and gender combo-box...
...
...in the "Choose faction" dialog when joining a MP game
2008-07-08 21:43:53 +00:00
Ali El Gariani
f1ad3fbfeb
Simplify some code, I will probably generalize this get_RC_suffix() elsewhere,
...
seems nicer that using these "#idef LOWMEM" everywhere
2008-07-08 21:11:21 +00:00
Nils Kneuper
8f4585ea94
updated Credits for Galician translation
2008-07-08 20:49:04 +00:00
Lari Nieminen
3045705e7c
Fixing some heavy variable bloat.
2008-07-08 20:47:42 +00:00
Ignacio R. Morelle
cbaa4cb091
Fix bug #11956
2008-07-08 20:33:42 +00:00
Ali El Gariani
e8941e9664
When joining a MP game, improve the "Choose your side" dialog:
...
Now called "Choose your faction" and displays "Starting position: 3"
to show you which slot you will have.
Also team-color the leader preview. Faction and leader menus not TC-ed
yet.
2008-07-08 20:13:22 +00:00
Mark de Wever
cc3d8e6a0f
Initialize all members.
2008-07-08 19:49:45 +00:00
Ali El Gariani
405d121f63
oops fix an error in 2008-07-08T19:31:49Z!alinkmaze@gmail.com,
...
...we want the first empty slot not the last one
2008-07-08 19:43:32 +00:00
Mark de Wever
9bfec861df
Initialize all members.
2008-07-08 19:39:37 +00:00
Ali El Gariani
cd3b7c743a
Some cleaning of the code searching a vacant slot when joining a MP game.
...
A bit safer for full game and maybe fix "allow_changes" key for side > 1.
This will also allow joiner to know which side and color they will
get, before choosing its faction and leader (UI feature in next
commit).
2008-07-08 19:31:49 +00:00
Lari Nieminen
feba750892
Used the encampment keep graphics...
...
...to create a new kind of "tent village" (Re^Vct). More unique
graphics wouldn't hurt.
2008-07-08 18:17:24 +00:00
Lari Nieminen
00f7263b09
A couple of minor cleanups.
2008-07-08 17:44:08 +00:00
Lari Nieminen
5d60df1ff1
Big overhaul of Saving Inarix.
2008-07-08 17:32:42 +00:00
Ali El Gariani
ea88e48e97
Color leader and gender combobox and menu where possible.
...
Faction stuff is not yet done.
2008-07-08 14:58:19 +00:00
Nils Kneuper
cef8090056
updated Chinese (traditional) translation
2008-07-08 12:39:23 +00:00
Nils Kneuper
010630fd2f
updated Chinese (traditional) translation
2008-07-08 08:17:47 +00:00
Tomasz Śniatowski
a642d976fe
fix bug #11978 by removing an unused #include
2008-07-08 08:44:58 +01:00
Nils Kneuper
a9379e41da
updated Chinese (traditional) translation
2008-07-08 05:53:54 +00:00
Patrick Parker
b45cf10eb0
add count= to [have_location] as well
2008-07-08 04:51:06 +00:00
Patrick Parker
7cb8d8e64f
new attribute count= for the [have_unit] conditional
2008-07-08 04:33:11 +00:00
Ali El Gariani
6594c2681a
Use magenta TC for the unknown unit image (allow to TC it in the status table)
2008-07-07 22:49:05 +00:00
Ali El Gariani
5c63c02a36
Fix bas use of implict "units/" prefix in some hardcoded image's url
2008-07-07 22:33:15 +00:00
Ali El Gariani
383dcad77a
Improve numerical precision and safety in the linear path calculations.
2008-07-07 22:24:15 +00:00
Ali El Gariani
3fb8f8649e
Fix an old (1.2) but serious pathfinding bug with the replay/MP code:
...
It didn't use the same pathfinding solution as the local UI.
This gave visually different moves, and in worst case scenario, causes
enemy to pass through your invisible units (other player didn't really
took this path) This also activate the new smart pathfinding features
for replay moves and is much faster (~10x often more)
2008-07-07 22:21:26 +00:00
Mark de Wever
99a9207ec8
Align the portraits against the edges.
2008-07-07 21:34:26 +00:00
Mark de Wever
400e0f54c6
Comment out unused variables.
2008-07-07 20:03:14 +00:00
Mark de Wever
a470463dcc
Made the editor2 switch --enable-editor2 and make it work properly.
2008-07-07 19:40:47 +00:00
Jérémy Rosen
7ff70c97a5
take into account lvl up heal when estimating attack prediction,
...
...patch by roger_wilco
2008-07-07 18:48:42 +00:00
Mark de Wever
5cde77954f
Initialize all members.
2008-07-07 18:20:32 +00:00
Mark de Wever
9dee30084e
Added editor2 to the doxygen directories to process.
2008-07-07 18:13:01 +00:00
Mark de Wever
c3a9d3f850
Initialize all members.
2008-07-07 18:06:41 +00:00
Mark de Wever
d2a51ee6d0
Initialize all members.
2008-07-07 17:36:40 +00:00
Mark de Wever
0fb46386a8
Initialize all members.
2008-07-07 17:29:45 +00:00
Mark de Wever
f0397e26ba
Initialize all members.
2008-07-07 17:24:59 +00:00
Mark de Wever
eaaf0b0bab
Add underscore to private members.
2008-07-07 17:18:50 +00:00
Mark de Wever
94bfed1da0
Initialize all members.
2008-07-07 16:47:13 +00:00
Tomasz Śniatowski
f23343c509
editor2:
...
* implement invert_selection internally
* make editor_exception derive from std::exception
2008-07-07 17:32:29 +01:00
Mark de Wever
409fee3819
Initialize all members.
2008-07-07 16:23:46 +00:00