38 Commits

Author SHA1 Message Date
Charles Dang
86e3161b29 Updated CB projfile (missing wesnothd source and Boost 1.61 linker target) 2016-09-24 00:39:35 +11:00
Charles Dang
423fc10437 CodeBlocks: explicitly added -Wunused-parameter flag 2016-09-02 09:56:07 +11:00
Charles Dang
c3d379e394 Updated CB projfile so it no longer links with SDL_net
Also cleans up a few broken includes in the project.
2016-06-06 05:58:00 +11:00
Charles Dang
dc9db2e830 Updated CB projfiles 2016-06-01 19:06:58 +11:00
Charles Dang
4645d654c3 CB: enable building wesnothd alone 2016-04-02 02:26:22 +11:00
Charles Dang
c97a5d14ff Codeblocks: enable building with c++11
This also adds the necessary boost::thread linker option required by
recent loadscreen code.
2016-03-31 09:37:10 +11:00
Charles Dang
465f5eece1 Implement new GUI2 loadscreen 2016-03-29 21:33:38 +11:00
Charles Dang
b8a821e388 Enable SDL2 building by default in codeblocks project 2015-12-22 16:35:56 +11:00
Ignacio R. Morelle
aae8e70c7a log/windows: Add our own stdout/stderr redirection on Windows
This replaces SDL 1.2's built-in stdout/stderr redirection, which writes
the log file to the process working directory (usually an
admin-restricted location) instead of a more accessible user-writable
location.

My approach combines stdout and stderr into a single log file which
includes the process id and timestamp in its filename in order to
accomodate multiple instances and (coming later) log rotation. The log
file is created in the user's temporary directory defined by Windows,
and then relocated to the game user data dir as soon as it is set-up the
first time, placed in the Windows-specific logs/ subdir.

The most pressing issues this solves are the lack of built-in
stdout/stderr redirection in SDL 2's SDL2main.lib entry point, and
Unicode path issues with SDL 1.2 (bug #22897). Additionally, it allows
us to not have to rely on UAC virtualization anymore; this is arguably
far more important because it has been known to break on occasion (e.g.
<http://r.wesnoth.org/t42970>), and starting with version 1.13.2 we want
to declare Windows Vista - 10 compatibility in our side-by-side manifest
(see commit e119f4071f047c6d740ebec4636985fdf39349bc).

Currently missing features coming later:

 * Log rotation (otherwise the logs/ dir may grow forever)
 * wesnothd support (although the code is already required to be linked
   into wesnothd due to it being required by the FS API)
 * Integration with the version info dialog
2015-11-23 03:21:42 -03:00
Charles Dang
e7345dd69a Updated codeblocks projectfile to use boost 1.58 libs 2015-07-30 17:53:19 +11:00
Ignacio R. Morelle
877ead550a Add Windows resource file for wesnothd 2015-07-20 21:16:04 -04:00
Charles Dang
cbe8c84033 Cleanup. Removed intl and unnecessary search directories 2015-04-14 11:11:58 +11:00
anonymissimus
949b05f39a CB build system update
description see commit
4a616341b2dff52f1ad179d86f1801e07ede1db7
on 1.12 branch
2014-11-29 00:23:07 +01:00
Alexander van Gessel
f786c2d422 Attempt to update projectfiles 2014-03-24 00:32:15 +01:00
Ignacio R. Morelle
23bdf9e1d6 CodeBlocks project update 2013-12-21 01:32:29 -03:00
Ignacio R. Morelle
673b3b08e0 Revert "remove unused util.*pp from wesnothd cb project"
This reverts commit c51ce084fe708c93a30742eb386cc001cc3d3d2f.
2013-12-21 01:21:52 -03:00
anonymissimus
c51ce084fe remove unused util.*pp from wesnothd cb project 2013-12-20 21:31:13 +01:00
anonymissimus
9751417f9d CodeBlocks/MinGw: remove -march=native
1. I discovered that this removes the duplicate section linker warnings...
2. The option causes binaries to be incompatible with different hardware.
2013-06-24 23:00:27 -04:00
Anonymissimus
58516e9761 project update (bz2 dependency) 2012-11-29 21:29:25 +00:00
Anonymissimus
053fbc4037 Revert "testwise enable --std=c++0x in CodeBlocks"
This reverts commit 2011-12-14T14:50:39Z!anonymissimus@arcor.de.

There appears to be at least one fatal c++0x bug yet;
std::stable_sort, messing up the campaign selection menu.
2011-12-17 18:10:25 +00:00
Anonymissimus
14de8db5da testwise enable --std=c++0x in CodeBlocks
Works for me after mordante's fix.
2011-12-14 14:50:39 +00:00
Anonymissimus
6b012ddec0 CB projectfile update 2011-10-10 17:11:23 +00:00
Anonymissimus
9b9839bebf CB projectfile update 2011-09-09 14:26:51 +00:00
Anonymissimus
f16493a098 fixed startup crash of the resulting binary,
...built system update, updated built instructions

The resulting binary is hopefully more stable now.
2011-08-23 16:33:52 +00:00
Anonymissimus
75141b7e7e updated CodeBlocks project file
(I should upload my updated headers/lib package too...)
2011-06-11 22:52:23 +00:00
Alexander van Gessel
5f91c3bd4a Get rid of binary WML 2010-11-18 22:21:00 +01:00
McShark
794f85c901 Update according to recent file changes 2010-04-05 17:41:16 +00:00
Alexander van Gessel
08d132dded Remove jwsmtp from projectfiles 2009-11-24 20:12:13 +01:00
McShark
4e50a2d638 Full warning enabled
Update according to recent file changes of mordante
2009-06-25 18:19:08 +00:00
McShark
0b2e2d9f61 Update according to recent file changes 2009-06-16 18:31:09 +00:00
McShark
bc8b4a7183 Added src/server/player_network and src/server/room
WIN-Format for SCons, too (for easier diffs)
2009-05-21 15:36:28 +00:00
McShark
27d1c81f79 Added src/server/server.hpp 2009-05-15 21:10:52 +00:00
Sergey Popov
e2f3b97af5 Committed McShark's projectfiles update. 2009-04-27 22:47:44 +00:00
Sergey Popov
effac18045 Committed McShark's projectfiles update. 2009-02-06 23:22:25 +00:00
Sergey Popov
b2debc51b3 Committed McShark's projectfiles update. 2009-01-31 22:12:15 +00:00
Sergey Popov
764297ab57 Committed McShark's projectfiles update.
It also adds Debug & Release targets to Code::Blocks and VC9 projects.
2009-01-23 22:14:49 +00:00
Sergey Popov
c534616525 Committed McShark's projectfiles update. 2008-12-21 19:49:15 +00:00
Sergey Popov
ceeb7f8d31 Committed project files update by McShark. 2008-11-08 22:08:42 +00:00