Commit Graph

54 Commits (244842406c255db95de9b015a0ccbcf4833eb4be)

Author SHA1 Message Date
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
Dennis Schridde e117a62324 Use autoconf's config.h instead of an own version.c hack.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@638 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-25 22:27:26 +00:00
Dennis Schridde 4d55a6821e Changed/unified namings.
Project: Warzone Resurrection Project
Product: Warzone 2100
Binary: warzone



git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@621 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-23 17:48:47 +00:00
Dennis Schridde e989a55798 Change define of _CONSOLE to _WINDOWS for a full Windows app.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@588 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-19 21:17:20 +00:00
Dennis Schridde c338b035e0 MSVC has no unistd.h, so make Bison generated code not use it.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@579 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-17 22:08:22 +00:00
Dennis Schridde ab438de9a5 Fix some typos in the vcproj file.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@532 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 15:30:07 +00:00
Dennis Schridde 506ec7a531 Use the same icon on Windows as on Linux. (centered)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@531 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 15:19:26 +00:00
Dennis Schridde c976c589ae Fixed MSVC overriding the obj-code for piestate.c when compiling the 2nd of the 2 files of the same name.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@530 4a71c877-e1ca-e34f-864e-861f7616d084
2006-08-05 14:16:09 +00:00