103 Commits

Author SHA1 Message Date
Chris Beck
da552fc10e fixup segfaulting editor, favoring display_context over game_board
Currently, the editor does not generate game_board objects, and
leaves the pointer resources::gameboard null. This commit makes
map_location, reports, and tod_manager, three things used in
editor mode, use the display_context pointer instead of the
game_board pointer. We also move a function to display_context,
which finds a const unit * to a visible unit at a hex.
2014-06-11 01:28:15 -04:00
Chris Beck
522988c689 update projectfiles to include display_context.hpp 2014-06-10 18:45:44 -04:00
Chris Beck
2afe4f4f5a move game_board to its own file, update project files 2014-06-01 08:13:34 -04:00
Chris Beck
215de94390 Add make_enum macros and a unit test, also add to project files 2014-05-24 14:59:20 -04:00
Chris Beck
a3377d6113 fixup project files after rename builder.?pp -> terrain_builder.?pp
This fixes up earlier commit 8fafdbecd42d
2014-05-18 01:07:49 -04:00
aquileia
a92e374907 Fix CB-Scons target names 2014-04-18 20:53:22 +02:00
aquileia
963690884d Fix CodeBlocks project files 2014-04-17 16:57:08 +02:00
aquileia
5a21d5d8c8 CodeBlocks: Don't compile tools & wesmage 2014-04-16 21:56:47 +02:00
aquileia
093c49662f Align CB and CB-scons project files 2014-04-16 21:02:11 +02:00
Kevin_Xi
09b0aad1f8 Add missed files to and remove obsolete file from CodeBlocks-SCons and CodeBlocks project file 2014-04-17 01:43:28 +08:00
JaMiT
1f77cb1fc3 Split wml_menu_item and wmi_container into their own source files.
They are now under the game_events subdirectory.
2013-10-27 12:13:45 -05:00
Ignacio R. Morelle
ede9848bd8 Remove stub.hpp and the orphaned function using it
All this was used only by the no-op the_end() implementation.
2013-09-16 04:31:09 -03:00
JaMiT
a213190130 Remove some functions that have been unused for a year (r54990). 2013-08-25 22:32:27 -05:00
JaMiT
c0435769bd Split game_events.cpp.
VC and XCode projects still need to be updated.
2013-08-11 19:31:20 -05:00
J. Tyne
bb70a29017 Overhaul of unit_movement_type
This is a general overhaul of the class embodying movement types,
featuring:

* Better data encapsulation

* Less duplication of code between unit.cpp and unit_type.cpp

* Easier to use

* New files for the class (VC and XCode projects still need updating)

* New (shorter) name for the class

Some additional revisions will be coming.

The primary motivation for this was to get a class that embodies
movement costs (part of the data encapsulation).
2013-02-20 02:25:14 +00:00
J. Tyne
724618c287 Split actions.cpp into six pieces (into a new "actions" subdirectory).
Most of the project files have also been updated, but I ran into some
difficulties trying to update VC9 and Xcode.
2012-08-25 14:06:46 +00:00
Ignacio R. Morelle
20bcf49f3e Remove custom pool memory allocator per wesnoth-dev mailing list discussion
This affects the cmake and scons scripts, and various project files in
projectfiles/. I have only tested my changes to scons (and loonycyborg
might still want to review the diff regarding a line in src/SConscript
involving game.cpp).
2012-02-19 18:43:20 +00:00
Alexander van Gessel
509655682e Merge and update 2011-05-02T18:52:36Z!terraninfo@terraninfo.net from 1.8 branch
rework MP chat log as a GUI2 dialog with colored display of messages
2011-12-12 02:26:27 +01:00
Dmitry Kovalenko
b2ce483b71 Lua aspect foundation 2011-06-01 13:47:33 +00:00
Anonymissimus
72a618189d removed some files deleted a while ago from the projectfile 2011-05-25 22:55:13 +00:00
Sergey Popov
ec557cdb39 Updated build commands in codeblocks-scons projectfiles...
...to work with codeblocks 10.05
2011-03-21 18:48:34 +00:00
Iurii Chernyi
6df240e341 stub code for new candidate action for gnew ai lobal_fallback stage, 2011-01-03 03:45:52 +00:00
Iurii Chernyi
c7f8b17c88 expiremental recruitment by Grimling, work-in-progress code 2010-11-25 15:08:46 +00:00
Alexander van Gessel
5f91c3bd4a Get rid of binary WML 2010-11-18 22:21:00 +01:00
Iurii Chernyi
c30997182e standard side filter 2010-11-06 23:43:53 +00:00
Timotei Dolean
27c645e252 Convert CRLF to LF 2010-08-06 21:44:10 +00:00
Iurii Chernyi
101e8da183 added data_manage.cpp to buildsystems,
...fixed a few cases of 'unused parameter'
2010-07-02 23:17:07 +00:00
Alexander van Gessel
2a5fa2ab7d Add persist_manager.?pp to codeblocks projectfiles 2010-06-30 18:35:44 +01:00
Alexander van Gessel
746f3ebf73 Add arrow.cpp to code blocks project files 2010-06-21 16:53:40 +01:00
Alexander van Gessel
6b4858d5c5 Added whiteboard to Code::Blocks project files 2010-06-21 04:15:57 +01:00
McShark
8d459fa3c4 Update according to recent file changes 2010-05-16 18:19:13 +00:00
Ignacio R. Morelle
8a120089cf Moving addon_*.?pp files to their own dir, step 2...
(fix project files except MSVC++ 9, which I found too complicated to
edit)
2010-05-15 22:50:32 +00:00
Iurii Chernyi
41291670bb move wesnoth lua ai support from scripting/lua.?pp...
...into separate files in src/ai/lua/
2010-04-30 13:42:49 +00:00
Iurii Chernyi
f758aef59c remove testing_ai_default::default_move_to_targets_phase,
...since a better one (by alink) is available
2010-04-29 21:25:10 +00:00
Iurii Chernyi
ebbe53ae9d remove default_ai, to avoid code duplication...
...(as default_ai is ported to rca ai candidate actions. remove ai2 stub.
2010-04-29 21:25:03 +00:00
McShark
f2bb96c258 update of svn.ignore: build logs 2010-04-05 17:44:03 +00:00
McShark
794f85c901 Update according to recent file changes 2010-04-05 17:41:16 +00:00
Iurii Chernyi
37024f6cc6 update CodeBlocks project files...
...to account for recent MP lobby source file changes
2010-02-19 19:26:14 +00:00
McShark
b1463170d6 Update according to recent file changes:
...added src/gui/widgets/tree_view_node.cpp+hpp
2010-02-08 20:37:48 +00:00
McShark
8b93454de6 Update according to recent file changes: added tree_view-widget 2010-02-07 15:20:52 +00:00
McShark
968d904a12 Update according to recent file changes:
...added src/gui/dialogs/icon_message.cpp+hpp
2010-02-02 20:12:21 +00:00
McShark
4eb7e7e501 Update according to recent file changes: movement of files to src/pathfind 2010-01-30 23:27:38 +00:00
Iurii Chernyi
7a9caa4f36 added gamestate_observer class,
...used it to simplify candidate actions interface and implementation,
by making is_gamestate_changed flag managed externally, by rca stage
2010-01-29 23:17:35 +00:00
Iurii Chernyi
62b629e179 lua AI support engine, interface code and AI integration 2010-01-18 21:32:38 +00:00
McShark
0f26bb198e Update according to recent file changes 2010-01-12 20:08:36 +00:00
McShark
8cc848d639 Update according to recent file changes 2010-01-09 18:15:30 +00:00
Iurii Chernyi
1462573062 refactoring of ai component model to a more object-oriented approach.
[modify_ai] now works fully and uniformly, with less code
duplication. added the ability to see all ai components from
gamestate_inspector.
2009-12-24 22:38:59 +00:00
McShark
771a3bb08d Update according to recent file changes 2009-12-11 22:52:55 +00:00
McShark
ea0947e422 Update according to recent file changes 2009-11-27 21:48:04 +00:00
Alexander van Gessel
08d132dded Remove jwsmtp from projectfiles 2009-11-24 20:12:13 +01:00