Commit Graph

177 Commits (27534ac95a839c265942c32886ceb6e1c5533eeb)

Author SHA1 Message Date
Giel van Schijndel d54e360aa7 Add some code to hook into Mumble's Link plugin and provide Mumble with positional information about the player's current viewing position in Warzone
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5768 4a71c877-e1ca-e34f-864e-861f7616d084
2008-08-03 20:53:14 +00:00
Giel van Schijndel 763bc7bbd8 Add a new parser: message_parser which parses research message data in a significantly different format from the current CSV message format as "parsed" by loadViewData (this allows for easier gettext translation)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5695 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-28 21:01:05 +00:00
Giel van Schijndel 410c511363 Don't duplicate $CFLAGS in $__BOTHFLAGS
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5624 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-20 23:22:36 +00:00
Giel van Schijndel 09f59a0200 Use some more options from the __BUILD_CONFIG.USER file in __BUILD_CONFIG
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5623 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-20 23:15:37 +00:00
Giel van Schijndel 5526f2c61a * Move type OBJECT_POSITION (and macro POSITION_OBJ to declare it) from structuredef.h to the new file positiondef.h
* Update build systems: autotools, raw win32 makefiles, Code::Blocks project and MSVC project
 * Rename _droid and _base_object forward declaration types to DROID and BASE_OBJECT respectively
 * Add two forward declarations for BASE_OBJECT and DROID to scriptfuncs.h so that it can declare pointers to these types
 * src/messagedef.h depends on lib/ivis_common/ivisdef.h and src/positiondef.h so #include those
 * Don't #include stuff from src/ in lib/script/chat_processing.h
 * Remove all unnecessary #inlucdes from src/ from lib/script/chat_lexer.l

NOTE: Build systems not mentioned above might need updating.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5531 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-13 18:15:03 +00:00
Dennis Schridde 022315eef0 Hardcode top_srcdir to make building from non-topdir possible, dont depend on the touch command, fix LDFLAGS to not depend on the removed TARGET variable
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5476 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-10 20:10:16 +00:00
Dennis Schridde 302a557478 Rename "raw" Makefiles to "win32" Makefiles
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5402 4a71c877-e1ca-e34f-864e-861f7616d084
2008-07-06 14:29:04 +00:00
Dennis Schridde 45f23a4926 Merge commit 'HEAD@{3}'
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5347 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-28 22:32:44 +00:00
Dennis Schridde 050ec39c11 Use the (also new in this commit) relative variants of the directories almost everywhere.
Exception is when generating the .wz files, where we need the path to the build directory and building a reverse relative path to $(srcdir) will be messy.
Also silence submake.mk a great deal.
Bug #11883 should be fixed now for the most part.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5325 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-24 23:41:52 +00:00
Dennis Schridde fd2bfb0e0f Prepare for another fix for parts of bug #11883: Issues with the improved raw Makefiles
- Rename Makefile.raw to lowercase


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5321 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-24 22:48:45 +00:00
Dennis Schridde 73b35ab8d6 Rename top_srcdir/top_builddir to abs_top_srcdir/abs_top_builddir, to make this more obvious.
Their use is currently flawed, since it will not work in directories with spaces in them... (


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5319 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-24 20:19:54 +00:00
Dennis Schridde 9bd8b24921 Boost raw Makefiles
- Use PACKAGE, PACKAGE_VERSION, remove VERSION
- Allow out-of-source-dir builds (mkdir build && cd build && make -f ../Makefile.raw)
- Move config.mk from $(top_srcdir)/makerules/config.mk to $(top_builddir)/config.mk
   When keeping current behaviour (srcdir=builddir), this means: Move it from makerules into the main directory


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5308 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-23 13:54:47 +00:00
Giel van Schijndel 1aa21f208e * Update Debian changelog
* Fix win32 version info
  * We live in 2008 now...
  * Use 2.0.993.0 instead of 2.0.3.0 for 2.1 beta3 (the same scheme was used for beta1 & beta2)


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5227 4a71c877-e1ca-e34f-864e-861f7616d084
2008-06-07 12:26:03 +00:00
Giel van Schijndel 6a5ee556f6 Revert r4830:
* This should fix a heap corruption introduced with the new level_parser

Closes #9 ( http://trac.wz2100.net/ticket/9 )


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5163 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-24 12:20:23 +00:00
Giel van Schijndel f0e80e53c4 Update MSVC project file for addition of parsetest code to --selftest in r5060 (I accidentily committed that together with the fix to lib/event/event.c)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5062 4a71c877-e1ca-e34f-864e-861f7616d084
2008-05-12 12:41:54 +00:00
Roman C 1521a97bd8 Suppress #line creation for scriptvals_parser and level_parser, this fixes MSVC compilation.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4857 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-29 15:22:27 +00:00
Giel van Schijndel df291b43fc Update the Code::Blocks and MSVC projects for the addition of the level parser in r4830
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4831 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-28 00:11:37 +00:00
Giel van Schijndel cf04b1797d Pass all "non-special" parameters from __BUILD_SCRIPT to the configure script
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4702 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-20 19:24:02 +00:00
Giel van Schijndel a85956c8df Make building with multiple threads (make -j3) optional for the crossbuild script
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4668 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-17 16:09:14 +00:00
Giel van Schijndel 0b96e9ba0a Add the ability to the crossbuild script to build with --enable-debug=relaxed
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4665 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-17 15:48:41 +00:00
Giel van Schijndel 7b46d4ba9a Parse through all commandline parameters to the crossbuild script by means of a for-loop
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4664 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-17 15:02:53 +00:00
Giel van Schijndel 40cc8f09ac Give the configure and crossbuild scripts the possibility to specify the compression method on the command line (--with-nsis-compression)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4663 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-17 14:32:48 +00:00
Giel van Schijndel 3e825febcd Update the Code::Blocks and MSVC projects for r4637
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4638 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-15 20:55:57 +00:00
Giel van Schijndel 11c5df9783 Dang, I should go to bed... r4600 contained yet another stupid error
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4601 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 02:19:28 +00:00
Giel van Schijndel fd0b4b56af Fix small error from r4599
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4600 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 02:15:07 +00:00
Giel van Schijndel f1ac1acad0 Use file __BUILD_CONFIG.USER for user specific configurations
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4599 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 02:09:33 +00:00
Giel van Schijndel cc46c9c737 Use ${PREFIX} as installer-extdir instead of ${PREFIX}/bin
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4598 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 02:00:36 +00:00
Giel van Schijndel e7a54e8ca3 Keep debug disabled when building an installer...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4597 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 01:51:16 +00:00
Giel van Schijndel 826dd585f3 Use ${CONF_EXTRA_FLAGS} for disabling/enabling debug builds
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4596 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 01:46:54 +00:00
Giel van Schijndel 150d50a6ae * --disable-debug (i.e. do a "release build") when crosscompiling for Windows
* Change directory to the root of the working copy when crossbuilding


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4594 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-14 00:35:06 +00:00
Giel van Schijndel 7ed537a019 Pass the ${PREFIX} variable from the crossbuild script to pkg-config
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4590 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 23:53:30 +00:00
Giel van Schijndel 6f0a6c4988 Also use a CPPFLAGS_FOR_BUILD (alongside CC and CXX) and pass it to the configure script as well
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4588 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 23:00:40 +00:00
Giel van Schijndel 247b8b9747 Pass the --build (as in buildsystem) compilers to the configure script
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4586 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 22:50:43 +00:00
Giel van Schijndel a0c3f42e5b export the PKG_CONFIG_PATH variable so that it gets to pkg-config
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4585 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 22:46:41 +00:00
Giel van Schijndel 22925948a5 Make the used crosscompiler configurable
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4584 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 22:30:33 +00:00
Giel van Schijndel 2ac679060c Revert accidental commit of __BUILD_CONFIG in r4582
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4583 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 22:29:01 +00:00
Giel van Schijndel af308831e8 when one of the crossbuild commands fail, terminate execution (exit 1)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4582 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 22:25:15 +00:00
Giel van Schijndel 31bf8a371b Revive the crossbuild scripts
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4581 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-13 18:48:18 +00:00
Giel van Schijndel 9c90950e4a Add exceptionhandler to the MSVC project for r4484
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4514 4a71c877-e1ca-e34f-864e-861f7616d084
2008-04-05 23:44:15 +00:00
Giel van Schijndel 39b6c60501 * Change and clean up the cursors API
* Get rid of resource.h which duplicated code and as such was a maintenance hell/burden


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4422 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-30 13:23:11 +00:00
Giel van Schijndel 57389641e7 Remove the last content of deliverance.h (#define MAX_STR_LENGTH 256) to wzglobal.h and remove it
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4219 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-21 23:02:22 +00:00
Dennis Schridde cb2f0a30df Patch MSVC Solution file to depend on SQLite and change eol-style to native for them, since otherwise patches will not apply.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4044 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-14 18:16:04 +00:00
Dennis Schridde 3858daf4a1 Reset MSVC version from 9 to 8, since otherwise MSVC8 will refuse to load the project files. (bug #11219)
Does MS provide some kind of templating system? Like autotools generate Makefiles from Makefile.am.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3950 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 11:28:40 +00:00
Dennis Schridde d3455b699a Properly set include/library directories for MSVC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3949 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-08 01:45:45 +00:00
Giel van Schijndel b9725d9e48 Add the sqlite3 directory to the MSVC project file (patch #991 by Buginator)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3901 4a71c877-e1ca-e34f-864e-861f7616d084
2008-03-03 08:54:06 +00:00
Roman C 5896b769e4 Reverted changes to the MSVC project which TortoiseSVN silently commited (what the...?)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3838 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:52:01 +00:00
Roman C 6ddadf6a5e Updated ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3837 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-18 19:48:21 +00:00
Dennis Schridde b7e36a5b77 Require devpkg to be in ./devpkg/ for msvc.
This saves the trouble of having to edit the paths for lib/include dirs and enables us to have the FlexBison.rules there, too.
Thus FlexBison.rules is removed and to be found in the msvc devpkg from now on.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3657 4a71c877-e1ca-e34f-864e-861f7616d084
2008-02-02 18:17:58 +00:00
Dennis Schridde 8d34975fd3 Add license on FlexBison.rules.
Moving it to devpkg would be prefered if possible. If someone can test whether that is possible...


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3605 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-30 21:34:55 +00:00
Giel van Schijndel 69016895ca * Remove gatewaysup.c from MSVC project file (patch by Buginator)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3521 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-20 19:00:51 +00:00
Dennis Schridde 31a863a90b Setup eol-style CRLF for vcproj files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3473 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 20:49:48 +00:00
Dennis Schridde 1c44cf8568 path #938 by Bugginator: MSVC projectfile updates. You need the static libraries from http://download.gna.org/warzone/development/devpkg/2.1/msvc80/ now.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3472 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:57:50 +00:00
Dennis Schridde d7bbab46af Set eol-style and mime-type for vcproj files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3471 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-14 19:55:59 +00:00
Giel van Schijndel 71bc4ff8be * Remove useless cdspan code (was only a wrapping function for audio_PlayStream)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3327 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 19:38:06 +00:00
Dennis Schridde 82921fea9e Merge back r3223 from branches/2.0:
- Move win32/*.ico into icons/
- Modify windows icon to use 4/8/32bpp per size (except at 48x48 where 8 and 32bpp are sufficient), so that it properly displays on Vista
- Add splashbar I used for MojoSetup
- Add windows uninstaller icon
- Use (un)installer icon for the NSIS installer


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3224 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-29 13:55:17 +00:00
Giel van Schijndel bffd531dd7 * Remove unused file src/optimisepath.[ch]
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3153 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-24 14:02:13 +00:00
Dennis Schridde c64b565f14 Patch #872 by Buginator. Untested by me since in Bugs we trust. ;)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3020 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 19:10:34 +00:00
Freddie Witherden 6844b2e510 Update the Code::Blocks and MSVC project files
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3012 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-09 13:33:47 +00:00
Freddie Witherden b73b28f191 Revert dodgy removal of trig functions. More testing required
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2904 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-29 23:10:54 +00:00
Freddie Witherden dbcb55414d Remove the pre-computed trig tables system
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2903 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-29 22:50:25 +00:00
Dennis Schridde 9cc0a628c1 Do parts of the proposed changes in "[Warzone-dev] build issues in FreeBSD system" by Yaroslav Kolomiyets from 24.10.2006:
- SDL header includes don't use SDL/ anymore (raw Makefiles and MSVC Project adapted).


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2863 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-24 11:49:51 +00:00
Giel van Schijndel d648927a13 * Update Code::Blocks and MSVC project files to match the deletion of lib/gamelib/maxpidef.h in r2850
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2851 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-22 08:38:07 +00:00
Giel van Schijndel 9df7ace6a3 * Update Code::Blocks and MSVC project files to match the deletion of src/player.[ch] in r2847
* Update po/POTFILES.in to match the deletion of src/player.[ch] in r2847


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2848 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-21 21:17:42 +00:00
Giel van Schijndel 0119374042 * Update Code::Blocks and MSVC project files to match the deletion of src/findpath.[ch] in r2829
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2831 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-18 21:24:14 +00:00
Giel van Schijndel 5bcb0e9ced * Update MSVC project
Patch #852 by Buginator


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2823 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-15 17:45:15 +00:00
Giel van Schijndel 7711572f0a * Add a new module (printf_ext.c) to contain some printf extensions (C99 printf variants for MSVC)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2803 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-11 20:58:10 +00:00
Giel van Schijndel 7b0a6d7686 * Add a MSVC project file for AutoRevision
* Add it to the MSVC Workspace/Solution
 * Set svn:eol-style on the MSVC project & solution files to CRLF

Patch #832 by Buginator.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2752 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-07 15:13:09 +00:00
Giel van Schijndel 73d92d135f * Slight update to MSVC project file to decrease the diff-size (i.e. alphabetic ordering)
Part of patch #832 by Buginator


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2746 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-06 18:57:53 +00:00
Giel van Schijndel 03c4fd6256 * Add version.[ch]
* this module uses the information extracted from the automatically generated file src/autorevision.h to add revision information to the project
  * provides a function version_getFormattedVersionString() which replaces several pieces of customly crafted code to dump a version string (frontend.c, main.c and clparse.c)
 * update po/POTFILES.in
  * add some recently added files
 * make -C po update-po


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2723 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-05 02:31:09 +00:00
Giel van Schijndel 673812b2a4 * Add file strlfuncs.h; this file contains an inline implementation of strlcpy and strlcat (safer variants of strncpy and strncat respectively)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2627 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-26 17:05:29 +00:00
Giel van Schijndel 6f0ebde13e * Add lib/framework/tagfile.[ch] to MSVC project file ( this addresses part of bug #10190 )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2601 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-23 20:48:15 +00:00
Giel van Schijndel d075832459 * Add font rendering and UTF-8 support through usage of QuesoGLC (an OpenGLC implementation);
* This _will_ require you to install http://quesoglc.sourceforge.net/ on your system to be able to compile (windows binaries are provided on the sourceforge download page as well; just dump them in wz's devpackage directory for now)
 * Currently the font render code is hard-coded to select two fonts: DejaVu Sans Mono regular style (aka "Book") or bold style; if you're package manager doesn't provide these fonts (Debian and derivatives have "ttf-dejavu"), you can get them from http://dejavu.sourceforge.net/

This closes #1 (https://trac.mortis.eu/warzone/ticket/1 I dumped/maintained my patch there)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2521 4a71c877-e1ca-e34f-864e-861f7616d084
2007-10-01 19:45:49 +00:00
Giel van Schijndel 470ea85417 * Remove lib/framework/utf8.c[ch] as we don't need it just right now (we can always revert this commit later on if necessary)
* This commit removes utf8.[ch] from all build systems (manual text-editing for the most of them)
 * For the removal from the XCode project I just reverted r2288

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2477 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-25 19:46:10 +00:00
Giel van Schijndel 74e64738fa * Add network primitives by Freddie Witherden <EvilGuru>
* Modify them slighly to use get/set functions for the package direction (instead of a global accessable to all files which forward declare it)
 * Add a NETfloat to the set of primitives
 * Modify NETstring to use strnlen1 instead of strnlen which is a GNU extension to the C library (strnlen1 has been copied from gettext 0.16.1 which is GPLv2+)
NB: rerun your buildsystems
NB2: Xcode requires an update

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2358 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-08 18:50:28 +00:00
Giel van Schijndel fc8ab2c14e * Remove CursorSnap code; it was this code that was responsible for "snapping" the mouse cursor when switching menus
* This removes csnap.[ch] (removed from automake/autoconf, Code::Blocks, MSVC)
Patch #789 by Ken Rushia (with some minor additions & changes by me)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2344 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-05 11:42:59 +00:00
Giel van Schijndel 38a82a2ada * Add UTF-8 encoder (the decoder is a WIP)
* Add files lib/framework/utf8.[ch] to autoconf/automake, raw makefiles, Code::Blocks and MSVC
NOTE: this may require updating of some additionaly buildsystems (e.g. OSX)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2281 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-30 14:02:05 +00:00
Giel van Schijndel 393e753f60 * Update buildsystems for the addition of lib/netplay/nettypes.[ch] in r2160:
* autoconf/automake buildsystem
  * raw makefiles
  * Code::Blocks project file
 * lib/netplay/nettypes.[ch]:
  * set svn:eol-style and svn:mime-type
  * add a GPL header to the file
  * add include guards to the header file (nettypes.h)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2245 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-28 13:41:51 +00:00
Giel van Schijndel 39db2bef4b * Update Code::Blocks and MSVC projects to removal of lib/netplay/netcrypt.c in r1953
* Remove lib/netplay/netcrypt.c from the list of files to extract translatable strings from for gettext


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1954 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-24 13:46:29 +00:00
Dennis Schridde 5dc0ccb99e Update raw Makefiles and MSVC to the removal of rendfunc.[ch]
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1866 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-14 21:58:36 +00:00
Per Inge Mathisen 5c23008ee0 Remove the unused 2D map editing code. We are never going there... Notice
that files are removed, so rerun your build systems!


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1859 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-14 20:49:55 +00:00
Dennis Schridde 6a43986828 Remove POSIX deprecation warnings for MSVC
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1854 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-14 19:03:43 +00:00
Giel van Schijndel 6d2e839bf4 * Fix incorrect XML caused by (wrong) update to MSVC project file for deletion of lib/framework/heap.[ch]
(I simply should have enabled my VIM XML validation script, doh!)

Patch by vs2k5

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1826 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-05 22:09:02 +00:00
Giel van Schijndel ed73e62898 Leave the memory management up to the memory management functions!
That is:
 * Don't use a custom memory heap implementation anymore
 * Remove all usages of HEAP code and replace it with malloc/free

NOTE: MacOSX projectfile probably requires an update

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1820 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-05 11:46:00 +00:00
Giel van Schijndel b22dbc7fe5 * Remove netusers_stub.c. Its only contained function was NETuseNetwork, which granted direct write access to global var NetPlay.bComms. This was camouflaged as a nice function call, so instead we now use it directly as it is: accessing/modifying a global variable.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1690 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-23 18:48:36 +00:00
Dennis Schridde c0e9fa3211 Make MSVC happier
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1683 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-21 20:17:38 +00:00
Giel van Schijndel d3374c5d99 * Update MSVC project file
Patch by vs2k5

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1631 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-13 20:31:01 +00:00
Dennis Schridde f8bd53fc62 Per folder filters for MSVC project. Patch by vs2k5.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1608 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-12 08:07:12 +00:00
Giel van Schijndel b0f7797d93 Update MSVC project file for the removal of pcx.c and addition of png_util.[ch] and oggvorbis.[ch]
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1578 4a71c877-e1ca-e34f-864e-861f7616d084
2007-05-01 09:40:46 +00:00
Dennis Schridde 8455086b4b Remove deleted bsp files from vcproj
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1556 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-29 20:05:07 +00:00
Dennis Schridde 153f21f20d Fix LC_MESSAGE for all systems missing it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1528 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-23 15:21:18 +00:00
Dennis Schridde ac178aa312 Revert to GNU gettext.h and move MSVC defines to the vcproj.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1527 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-23 14:30:34 +00:00
Giel van Schijndel aa9a519794 * Remove support for decoding (and encoding in case of screenshot dump code) of JPEG pictures
* Remove some dead (commented out) & dirty code from multiint.c which used JPEG code (image_load_from_jpg)
 * Remove dead (commented out) code from screen.c which used JPEG code (function static GLuint image_create_texture)
 * Remove unused backdrop types from pieblitfunc.[ch]
 * Convert last JPEG files into PNG, add a "comment" property on those: "All of these are converted from JPEG files, so this is JPEG quality."

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1490 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-17 18:24:31 +00:00
Dennis Schridde 761fd8bfb2 MSVC makes a difference between headers and sources...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1487 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-17 16:33:19 +00:00
Giel van Schijndel cbf89c88d8 * provide updated MSVC project (thanks to "Purple Monkey" for that: http://wz2100.net/forum/index.php?topic=597.msg4921#msg4921 )
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1484 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-16 23:39:38 +00:00
Giel van Schijndel 51347f365c * remove MP3 decoding support
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1472 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-16 13:44:41 +00:00
Dennis Schridde 3eb6467e36 Backport of r1176 (exceptionhandler for MSVC)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1178 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-24 20:53:19 +00:00
Dennis Schridde 56704d7087 Fix _DEBUG and remove bug.[ch] and ivis02.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1155 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-21 02:39:02 +00:00
Dennis Schridde 4a4c1e9df7 Fix missing headers for MSVC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1154 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-21 02:35:31 +00:00
Dennis Schridde d80e06e2cd Port of r1114 (buildsystem/installation improvements)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1115 4a71c877-e1ca-e34f-864e-861f7616d084
2007-02-15 15:36:25 +00:00
Dennis Schridde 93476b8fe4 Fix ignorelib seperator and link to winmm and wsock32 for use with static libs.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1054 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-31 18:02:18 +00:00