396 Commits

Author SHA1 Message Date
Charles Dang
9c2c079a3a Dropped HAVE_PYTHON and USE_GZIP defines
As far as I can tell, these do nothing
2015-08-23 10:37:28 +11:00
Charles Dang
565caec797 Updated codeblocks readme 2015-08-17 10:10:36 +11:00
Celtic Minstrel
f619b4cc63 Update build stuff
(Sconscript, CMakeLists, tests, project files)
2015-08-07 22:50:34 -04:00
Charles Dang
e7345dd69a Updated codeblocks projectfile to use boost 1.58 libs 2015-07-30 17:53:19 +11:00
Charles Dang
f374f537b2 Updated codeblocks projectfile 2015-07-26 03:52:14 +11:00
Ignacio R. Morelle
877ead550a Add Windows resource file for wesnothd 2015-07-20 21:16:04 -04:00
Ignacio R. Morelle
51c026dc91 desktop: Add function to obtain OS version string
Highly unreliable and generally useless, see the Doxygen documentation.
Also missing the actual Windows implementation for the moment. Also,
since uname() is highly useless on most platforms, I'll need to think up
a better OS X implementation later down the road.
2015-07-13 20:52:38 -03:00
Ignacio R. Morelle
941e983d61 gui2/tgame_paths: Rename to tgame_version
This is in preparation for repurposing it into a more full-fledged game
version/build info dialog.
2015-07-13 05:41:37 -03:00
Ignacio R. Morelle
077c66fdc0 New centralized library versions API
Registers library versions in a single structure that can be queried
later as many times as necessary (say, from the game UI) instead of
relying on recording this information in different object files in an
inconsistent fashion. Also, it provides a pretty formatter for console
usage (e.g., in --version).

libpng also gets to join in the fun.
2015-07-09 03:21:19 -03:00
Charles Dang
16444cd24a Updated codeblock projfile 2015-06-04 11:43:26 +11:00
Charles Dang
755638633a Updated codeblocks projectfile 2015-05-20 14:15:41 +11:00
Ignacio R. Morelle
8d2609ff4c Add --wconsole for allocating a Windows console on startup
This is only recognized by the game client at the moment. The
implementation is a bit hacky but it seems to work. Thanks, SDLmain.

The cwesnoth.cmd Windows batch file passes --wconsole to Wesnoth in the
command line, along with any other arguments passed to it. This is
intended to be *the* use case for --wconsole, since otherwise the fact
that Windows won't allocate a console for us on process initialization
(due to Wesnoth being compiled with the GUI application flag) causes
issues with the Command Prompt shell -- namely, the shell returns
before Wesnoth allocates its console, allowing shell input to happen
concurrently with Wesnoth's output to console.

cwesnoth.cmd should be used in shortcuts and given Wesnoth's install
path as its initial working directory.
2015-04-25 04:49:30 -04:00
Ignacio R. Morelle
bed44694fd Remove YAMG
There are better uses of our time and energy.
2015-04-23 05:35:29 -03:00
Charles Dang
cbe8c84033 Cleanup. Removed intl and unnecessary search directories 2015-04-14 11:11:58 +11:00
Ignacio R. Morelle
0fcf4e3cb9 gui2/tmp_join_game_password_prompt: Port GUI1 MP password prompt (bug #23455)
This is the prompt for joining a password-protected game, not for
configuring password protection (which was already ported to GUI2 ages
ago).
2015-04-09 01:10:05 -03:00
aquileia
aad3e0d1f0 Convert /projectfles readme's to markdown
[skip ci]
2015-04-08 22:57:15 +02:00
Charles Dang
8a4a41b8f8 Updated codeblocks projfile for ea212b5bc257 2015-03-08 13:35:01 +11:00
Charles Dang
bb0e67d784 Updated codeblocks projfile for bb0ecd14c 2015-03-06 23:36:01 +11:00
Charles Dang
65965e8f6f Allow compiling with png support in codeblocks 2015-03-06 23:28:04 +11:00
Charles Dang
9b3fe997a4 Updated codeblocks projectfile 2015-02-27 21:13:55 +11:00
Charles Dang
7558fa5acd Updated codeblocks projectfile 2015-01-01 22:51:24 +11:00
Charles Dang
08ef074aff Updated codeblocks projectfile 2014-12-30 07:17:45 +11:00
Charles Dang
cc0d274c73 Updated codeblocks projectfile 2014-12-29 15:31:07 +11:00
Charles Dang
8de6d893c2 Updated codeblocks projectfile 2014-12-27 14:14:55 +11:00
Charles Dang
9725e7aa83 Updated codeblocks projectfile 2014-12-22 13:18:10 +11:00
Charles Dang
6ef9ec3b0c Updated codeblocks projectfile 2014-12-20 13:25:33 +11:00
Charles Dang
8dc07866ad Updated codeblocks projectfile with files from aff3cb8da5ec
Codeblocks also changed all forward slashes to backslashes
2014-12-15 14:31:24 +11:00
anonymissimus
949b05f39a CB build system update
description see commit
4a616341b2dff52f1ad179d86f1801e07ede1db7
on 1.12 branch
2014-11-29 00:23:07 +01:00
Ignacio R. Morelle
395d15c467 CodeBlocks project file update 2014-10-09 15:52:48 -03:00
Ignacio R. Morelle
e0073a6064 CodeBlocks project file update 2014-10-08 23:29:05 -03:00
Kevin_Xi
cb482a38fc Register the new stage and update build files 2014-08-23 01:12:51 +08:00
aquileia
8f2010ebf5 Remove config_assign.cpp 2014-07-18 15:48:42 +02:00
Ignacio R. Morelle
32d6e8d7f7 CodeBlocks project file update 2014-07-17 20:18:26 -04:00
Ignacio R. Morelle
99197733c5 Fix typo in the CodeBlocks project file
Apparently CB can't deal with invalid XML properly. The result was that
every file listed after that point wasn't being compiled or passed to the
linker, resulting in a flood of linker errors.
2014-07-17 20:17:22 -04:00
Chris Beck
31487bec26 move notifications into desktop namespace, rename folder also
We also move the desktop_utils files to desktop/open.?pp, and
update the project files appropriately.
2014-07-14 00:48:02 -04:00
Chris Beck
d803cde06a move unit_filter implementation out of unit
The purpose is to simplify the unit class, and perhaps allow for
some optimizations regarding how unit filters are impemented.
2014-07-03 03:47:24 -04:00
Chris Beck
32dc07478f revert and fixup boost/function.hpp external include guards 2014-06-29 11:40:53 -04:00
Chris Beck
b4d6a254bf rename ambiguous "game_controller" to "game_launcher"
Minor change but helps to reduce the overuse / misuse of the term
"controller" in key class names in the project.
2014-06-29 09:52:46 -04:00
Chris Beck
da41bf9968 rename "main" compilation unit "wesnoth.cpp" to match executable 2014-06-29 09:39:40 -04:00
Chris Beck
f24f6adee1 add wmi pager class, to allow unlimited wml menu items
The pager is held by the play_controller and wraps around the
wmi_container, if there are too many items it adds "More Items"
or "Earlier Items" entries. These entries have special reserved
ids, if they are selected the pager traps them.

Future work might be to allow the page_size_ to be selected in
the preferences, that is currently left as a variable to make
it easy to support this.
2014-06-28 20:47:12 -04:00
Ignacio R. Morelle
fc834885e2 Resort CodeBlocks project file 2014-06-27 21:56:07 -04:00
Chris Beck
ed3453f742 move some utility files to utils folder 2014-06-27 19:06:18 -04:00
Chris Beck
d2edec5921 move notifications files to their own folder 2014-06-27 18:14:45 -04:00
Chris Beck
cb5a9a0d28 add display chat manager, notifications support outside game_display
The functionality of tracking observers and displaying chat messages
is moved to a manager class, which the gui owns.

The functionality of displaying notifications is similarly moved out
of the game_display and to a private namespace. (Static singleton
pattern seems okay here since there really won't need to be more
than one of these for a single application, it seems.)
2014-06-27 15:57:57 -04:00
Chris Beck
30a443d12f move game_state to its own file 2014-06-24 15:36:58 -04:00
Chris Beck
b51d6a15d1 rename gamestatus.?pp -> game_data.?pp, b/c of content changes 2014-06-24 13:44:25 -04:00
Chris Beck
cf2651b5a7 rename drawable_unit.?pp -> unit_drawer.?pp, b/c of new contents 2014-06-24 13:22:13 -04:00
Chris Beck
663494f661 move teambuilder to its own file 2014-06-24 13:12:29 -04:00
Chris Beck
0f5876fe38 change fake_unit class to fake_unit_ptr
This is consistent with the introduction of the UnitPtr class.
fake_units really aren't different from units, the only difference
is their life time / allocation and ownership. Since we are trying
to use reference counting for all units (to make them safe to use
with animations), the fake units need to be managed by a reference
counted pointer also. This is the easiest way to achieve that.

I also remove some odd code the [move_units_fake] handler --
there was explicit code to remove the fake units from the fake
unit manager, but this is redundant as it is the responsibility
of the destructor.

Code Blocks and VC project files are updated, but
Code::Blocks Scons and Xcode are not.
2014-06-23 11:17:55 -04:00
Ignacio R. Morelle
1554374c45 CodeBlocks project update 2014-06-20 22:15:26 -04:00