61 Commits

Author SHA1 Message Date
Wedge009
0984392857 Removing deleted GUI1 widgets from VC project. 2016-11-12 16:50:53 +11:00
Wedge009
26ac2532a5 Removing recently-deleted GUI1 MP dialogues from VC project. 2016-11-12 12:04:33 +11:00
Wedge009
cb85189176 Remove recently-deleted header from VC project. 2016-11-12 11:55:24 +11:00
Wedge009
6faef63beb Removing recently-deleted files from VC projects. 2016-11-08 11:21:31 +11:00
Gregory A Lundberg
15b7f75b3c Lua cleanup
Deleted two files we NEVER want to allow ANYONE to use.

Updated the howto markdown document.
2016-11-07 14:21:05 -06:00
Wedge009
8000078443 Removing recently-deleted SDL files from VC project. 2016-11-07 20:13:25 +11:00
Gregory A Lundberg
0c13f7ea20 Update project files
Update for Visual Studio, CMake and SCons.
2016-10-17 10:34:42 -05:00
GregoryLundberg
160a4611d6 Use strcmp instead of strcoll
This works for Visual Studio, CMake and SCons.
Still need to get it working on: CodeBlocks and Xcode
2016-10-17 10:34:41 -05:00
Jyrki Vesterinen
7edad9669a Update Visual Studio project 2016-10-17 17:14:58 +03:00
Wedge009
7b42ba2bea Add some missing Release build locations.
Correct build location for sp_options_configure.cpp.
2016-10-17 23:00:59 +11:00
Jyrki Vesterinen
3858b22073 Update Visual Studio project 2016-10-16 21:39:02 +03:00
Gregory A Lundberg
0ecbbef033 Apply patch to boost
When using:

    scons strict=true ctool=clang

A number of issues appear concerning a known bug in Boost::Bind; applying the patch which should appear in Boost 1.63. Comments on the Boost ticket indicate this may also be an issue for earlier versions of GCC.

For the ticket, see

    https://svn.boost.org/trac/boost/ticket/12397

and the patch is at

    3c56630b54

NOTE: This does NOT create a dependency upon the patched header. If the header is changed, you must do a full re-build of all sources by hand.
2016-10-16 10:55:09 -05:00
Jyrki Vesterinen
313aa3241d Update Visual Studio project 2016-10-16 11:45:07 +03:00
Wedge009
e25a44bc72 Removing progress bar from VC project files (from commit 77488222). 2016-10-13 17:12:28 +11:00
Jyrki Vesterinen
76582bcf29 Update Visual Studio project 2016-10-12 21:22:46 +03:00
Wedge009
0fe3e0ab13 Define _WIN32_WINNT for MSVC compilation (resolve warnings from boost).
Also suppress Winsock deprecation warning from boot's use of certain functions.
2016-10-06 14:11:07 +11:00
Wedge009
f10f4e8a28 Basic tidying of VC project files.
* Merged property groups added in ab636909.
* Strip out empty properties.
2016-10-06 13:21:35 +11:00
Wedge009
4d172d6e11 Update VC project files for update of file menu from GUI1 to GUI2.
* Add file_dialog and remove filechooser & file_menu
* Add Shlwapi.lib to linker
2016-10-05 19:04:00 +11:00
Jyrki Vesterinen
f3cdd5b2f0 Update Visual Studio project 2016-10-04 20:53:56 +03:00
Ignacio R. Morelle
ca5ef32636 Also drop mentions of SDL_net from documentation 2016-10-03 07:08:43 -03:00
Jyrki Vesterinen
f7ee888456 Update Visual Studio project 2016-09-30 22:38:32 +03:00
Jyrki Vesterinen
76d407e733 Expose preferences to Lua 2016-09-24 18:16:41 +03:00
Wedge009
6ba16e9bc6 Removing lingering references to scoped_resource.hpp. 2016-09-24 17:00:46 +10:00
Wedge009
b98f8aab7c Updating VC project files. 2016-09-24 16:41:43 +10:00
Celtic Minstrel
fc8537f2f1 Fixup (MP compilation incompatible with minimal rebuild) 2016-09-23 21:01:48 -04:00
Celtic Minstrel
99d638c5c2 MSVC: Enable multi-processor compilation for ALL projects
It was already enabled for some, but not all.
2016-09-23 20:58:27 -04:00
Jyrki Vesterinen
740acecfa5 Update Visual Studio project 2016-09-20 20:41:41 +03:00
Celtic Minstrel
457bec3ff8 MSVC: Exclude lua.cpp (the standalone interpreter) 2016-09-18 20:17:26 -04:00
Celtic Minstrel
1816e1147f Remove asserts.hpp
This file seemed to be some sort of reimplementation of <cassert> except
with some "feature" of trying to force the debugger to hit a breakpoint.
However, any decent debugger already hits a breakpoint with a standard
assert(), and this file really only served to make it harder to see the
actual error when using a Windows console.

Some instances of these macros were replaced with assert(), others with
VALIDATE() which instead throws an exception (and possibly puts up a
dialog, if the exception is caught before main()).

A few other related changes that got mixed in:
- Several error conditions now have a better error message (or indeed
  any error message at all)
- Removed an unnecessary use of std::distance on a Boost iterator range.
- Removed a large chunk of code which did nothing but construct a widget
  builder and then crash; the code was unreachable since an earlier loop
  did the same thing (without crashing), and the comment seems to suggest
  that it was a (seemingly no longer necessary) workaround for some buggy
  compilers / linkers.
- noreturn added to the list of compatibilty C++11 features in global.hpp
  (Of supported compilers, only VC12 lacks the new [[attribute]] syntax.)
- Fix detection of GCC in global.hpp

# Conflicts:
#	src/gui/widgets/settings.cpp
2016-09-18 15:57:47 -04:00
Jyrki Vesterinen
42c3435c0c Update Visual Studio project 2016-09-15 20:52:29 +03:00
Celtic Minstrel
3dba60bcd7 Update Visual Studio project 2016-09-12 09:45:02 -04:00
Celtic Minstrel
ab6369098f Remove *.vcxproj.user files
While they did contain settings that are required for Wesnoth to run
correctly in the Visual Studio debugger, these settings can also be
specified in the main project file (even if only by manually editing
the XML).

Including the *.user files is problematic since it also includes things
that a developer may wish to frequently change, such as command-line
arguments.

Thus, the settings have been moved into the main project file.
2016-09-09 17:17:53 -04:00
Celtic Minstrel
0d47ea2522 Update Visual Studio project 2016-09-08 17:29:53 -04:00
Celtic Minstrel
0180a72573 Fix lots of warnings in MSVC12
Some explanations:
- savepng uses setjmp, so I changed it to C; this guarantees that someone does not accidentally introduce a C++ object in it (unlikely though that is)
- The loop in multiplayer.cpp seemed intended to allow the command-line to request repeated plays, so the break was removed rather than refactoring it to an if statement
- Some uninitialized structs were changed to be zero-initialized
- Use luaW_toboolean instead of lua_toboolean
- Needed explicit constructor for vconfig iterators, since their only member is const
2016-09-06 17:55:00 -04:00
Celtic Minstrel
84e1f4ba4d MSVC: Ignore truncated type name warnings 2016-09-06 16:30:01 -04:00
Jyrki Vesterinen
357cbfe35a Update Visual Studio project 2016-09-03 18:08:00 +03:00
Jyrki Vesterinen
fa89aed9e7 Update Visual Studio project 2016-09-02 21:08:47 +03:00
Wedge009
6ae79eaed6 Updating VC project files. 2016-08-29 17:20:00 +10:00
Jyrki Vesterinen
8838486591 Update Visual Studio project 2016-08-25 19:23:00 +03:00
Wedge009
9b98734400 Updating VC project files for merge of PR #744. 2016-08-24 17:43:45 +10:00
Wedge009
872e2e45ad Tidying VC project files. 2016-08-23 16:22:07 +10:00
Celtic Minstrel
396f5dfc4c Rename combobox -> menu_button 2016-08-22 19:37:14 -04:00
Jyrki Vesterinen
f79b707dc4 Merge pull request #751 from jyrkive/wesnothd-msvc
Make wesnothd build with Visual Studio
2016-08-22 21:57:36 +03:00
Jyrki Vesterinen
0dfb365287 Update Visual Studio project 2016-08-20 11:51:27 +03:00
Jyrki Vesterinen
8716d3f784 Make wesnothd build with Visual Studio 2016-08-20 10:48:48 +03:00
Jyrki Vesterinen
8259e160d0 Update Visual Studio project 2016-08-10 19:25:46 +03:00
Jyrki Vesterinen
486293403e Update Visual Studio project 2016-08-09 19:32:12 +03:00
Jyrki Vesterinen
d76a799523 Update Visual Studio project 2016-08-02 10:02:27 +03:00
Charles Dang
24577e117d Merge pull request #716 from wesnoth/boost_trimming
Boost-related cleanups
2016-07-30 15:51:30 +11:00
Jyrki Vesterinen
c2abe3a622 Kill floating_point_emulation.hpp with fire (#713)
Ability to emulate floating point calculations makes sense only if we
intend to support platforms without native floating point support. Such
platforms haven't been relevant since mid-1990s or so. Besides, supporting
such platforms would require converting the entire codebase to use the
tfloat class instead of native float and double types, which would be
outright Herculean effort.

As a bonus, killing floating_point_emulation.cpp also eliminates two uses
of boost::enable_if_c.

I also removed the nonexistent file SDL_SavePNG/savepng.hpp from the
Visual Studio project, and added #include <string> to
formula/debugger_fwd.hpp because the build failed otherwise
(maybe compilation order changed when I removed
floating_point_emulation.hpp?).
2016-07-26 11:45:15 -04:00