Commit Graph

20 Commits (beb24f3d10b9b67e59a2d2b4e2cb1e20dcea6aa7)

Author SHA1 Message Date
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 f99cd3e326 * Fix Code::Blocks object output directories
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2471 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-24 19:34:03 +00:00
Giel van Schijndel 244842406c * Add dual platform support to Code::Blocks project file (now supports both Linux and Windows, requires a rather recent version of Code::Blocks though)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2470 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-24 19:16:58 +00:00
Giel van Schijndel 33b5764611 * Rename winmain.h to main.h since all it's forward declarations refer to main.c and having nothing whatsoever to do with MSWin
* Remove forward declaration of "BOOL frontendInitialised" since it is nowhere defined

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2469 4a71c877-e1ca-e34f-864e-861f7616d084
2007-09-24 18:16:10 +00:00
Giel van Schijndel dc8ead56ff * Add virtual target "All" to Code::Blocks file (automatically compiles both a Debug and a Release build)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2419 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-20 14:34:38 +00:00
Giel van Schijndel b95b607976 * Revert unintentional changes to Code::Blocks projectfile
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2359 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-08 18:52:49 +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 566ed75daf * Add -std=gnu99 to the compiler options
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2317 4a71c877-e1ca-e34f-864e-861f7616d084
2007-08-02 14:51:39 +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 99be7db2f4 Update Code::Blocks project to match:
* removal of bullet.h in r2060
 * renaming of base.h, bulletdef.h and weapons.h to basedef.h, projectiledef.h and weapondef.h respectively in r2063

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2080 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-13 23:12:34 +00:00
Giel van Schijndel 12c3d78559 * Add "-Werror-implicit-function-declaration" to Code::Blocks project compile options
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2000 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-02 11:03:41 +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
Giel van Schijndel eeeedf36ed * Warzone is a GUI application, so set this in Code::Blocks so that M$Win doesn't produce a console window
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1948 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-23 19:08:48 +00:00
Giel van Schijndel e4e5233a44 * Revert changes to Code::Blocks projectfile in r1915
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1936 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-23 12:34:07 +00:00
Giel van Schijndel 1779c3f364 * Add two other Code::Blocks files (projectfile.depend, projectfile.layout) to ignore list
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1915 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-22 11:06:35 +00:00
Giel van Schijndel 830751b056 * Update Code::Blocks project file to 1.6 format
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1881 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-18 23:28:11 +00:00
Giel van Schijndel 0fc5249f79 Use correct include variable ($includes instead of $include) for custom build commands
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1880 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-18 21:45:12 +00:00
Giel van Schijndel da8d699f03 * Add Code::Blocks project file
This currently compiles clean on GNU/Linux (disables gettext though), I haven't tested Windows yet.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1879 4a71c877-e1ca-e34f-864e-861f7616d084
2007-06-18 17:15:45 +00:00