Commit Graph

61 Commits (a204e399d3eb40fdbdaa59c5a5d4e3a697b1eb3f)

Author SHA1 Message Date
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
Dennis Schridde a43cf9bfb2 - Relative/Templated paths for MSVC
- Waf wscript


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@985 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 23:01:15 +00:00
Dennis Schridde f723a42e50 Proposed fix for non-MSVC buildsystems
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@984 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 22:07:58 +00:00
Dennis Schridde 711af01772 New MSVC project files with custom build rules to support automatic lexer/parser generation.
The include changes might break other buildsystem, I'll fix that when I am back on Linux.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@983 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 21:13:58 +00:00
Dennis Schridde 2e967ee264 More merging and Makefile improvements:
- Remove (wrong) double definition of main
- Make enabling/disabling of DATA and INSTALLER easier in raw Makefiles
- Remove COMPRESS and COMPILER from raw Makefiles
- MAKENSIS is no longer mandatory for raw Makefiles


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@979 4a71c877-e1ca-e34f-864e-861f7616d084
2007-01-09 01:28:01 +00:00
Dennis Schridde 1b7a63f6ef NSIS support for automake.
raw Makefiles might be broken, please report back!


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@935 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-27 21:44:46 +00:00
Roman C 14cd4b60cc Scripting engine update:
-void pointer is now compatible with any other pointer type
-strings can now be directly compared using '==' and '!=' operators
-added a linguistic chat message parser with some generic messages predefined - to be used for Human<->AI and AI<->AI communication
Note: chat_lexer.l should be compiled using an additional -i switch for case-insensitive lexer

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@898 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-16 14:59:50 +00:00
Dennis Schridde da3e52a447 Fix mime-types and rc file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@874 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-01 22:02:14 +00:00
Dennis Schridde b8046b4aa6 Revised warzone2100.rc with help from MSVC.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@872 4a71c877-e1ca-e34f-864e-861f7616d084
2006-12-01 16:57:52 +00:00
Roman C 047b29a4e0 Changed MSVC warning level to highest
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@858 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-25 17:45:33 +00:00
Dennis Schridde 58441e7970 Add the forgotten Makefile.am
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@827 4a71c877-e1ca-e34f-864e-861f7616d084
2006-11-07 21:28:05 +00:00
Dennis Schridde ef949a0ea4 Update MSVC project file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@783 4a71c877-e1ca-e34f-864e-861f7616d084
2006-10-09 16:24:19 +00:00
Dennis Schridde e139fc583d Change trunk/ versions on Windows to 9.9.9 to indicate a development version.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@738 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-20 19:43:39 +00:00
Dennis Schridde e0fda9c0b9 Forgot to change the file info for the Windows exe...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@701 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 22:55:20 +00:00
Dennis Schridde e80250bf2b - Fix paths
- Define VERSION
- Link against shfolder.lib for compatibility with Windows versions older than Windows 2000.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@695 4a71c877-e1ca-e34f-864e-861f7616d084
2006-09-08 19:01:47 +00:00
Dennis Schridde c732c320a4 Update version to 2.0.5_pre and reorder options
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@670 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-30 21:39:57 +00:00
Dennis Schridde 1c6ef2d789 - Fix VERSION for Makefile.raw
- Fix location of config.h for Makefile.raw
- Remove netlobby* from MSVC project


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@646 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-26 15:21:40 +00:00