Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Warzone 2100

Server hosting for the open-source 3D real-time strategy game Warzone 2100. Also provides server hosting for the open-source turn-based strategy game Freeciv.
Collective - Host: opensource - https://opencollective.com/warzone2100 - Website: https://wz2100.net - Code: https://github.com/Warzone2100

Hopefully fix multiplayer crash when sending droid templates between

players on computers with different pointer length.

git-svn-id: svn+ssh://svn.gna.org/svn/warzo...

github.com/Warzone2100/warzone2100 - c4199ed5b65d52a7f433571017f13c20f0bf2968 authored over 17 years ago
The receiveWholeDroid net packet function added object ID into a psDroid->psTarget[i]

pointer field. This would not only not work if the two players with different pointer
bit length...

github.com/Warzone2100/warzone2100 - 0fedc728ce1722724cd750e8493d6266ff3b7bfe authored over 17 years ago
* Change usage of DROID->numKills to hold the percentage of dealt damage (to other units) instead

* This means that in order to get the actual amount of kills by this droid you need to divide t...

github.com/Warzone2100/warzone2100 - 2c98295eab0fc00714a5a2de15514dec8a22570c authored over 17 years ago
* 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

github.com/Warzone2100/warzone2100 - e4e5233a44018486cb0cece06ab20238890d4e0c authored over 17 years ago
* Wrap a console print string in the _() gettext macro

* Remove a useless duplicated & commented out line

git-svn-id: svn+ssh://svn.gna.org/svn/warzo...

github.com/Warzone2100/warzone2100 - 13f89d6f7bbbe2e933dc127b2dfb9f1cd8369fb5 authored over 17 years ago
Small cleanup and sanity checking of send projectile function based on patch by Watermelon.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1934 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 5abe70815c2d41a329b46d28f92437a27f8ee474 authored over 17 years ago
Add assert to see if some code is actually in use or not...

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1933 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - bfc1e200f465f7aa64647b9bf48004aa1078db31 authored over 17 years ago
- Merge my OpenAL installer NSIS script with Giels (Installed into INSTDIR instead of TEMP)

- Simplify Windows NSIS Makefile. Since 2.25 -options are supported
- Add updater rule to AutoMak...

github.com/Warzone2100/warzone2100 - 813c5db69c26b8c404f03e413421e3bfafb31ff4 authored over 17 years ago
* Add Dutch translation to NSIS setup

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1919 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 614554e997667a7f57b60295a31a4557f2338f28 authored over 17 years ago
* Add GPL license headers to NSIS installer files

Dennis Schridde <devurandom> gave me permission to license his part of these files under the GPL ...

github.com/Warzone2100/warzone2100 - 5ae2bbfda5d65b49b8be8bb5eeadccd219f6be1d authored over 17 years ago
* Use the OpenAL installer (as provided by Creative) to install the OpenAL libraries along with Warzone; instead of providing our own DLLs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1917 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 0e44420c3f796ddf6576936a8af1db9ad71a72ed authored over 17 years ago
* Revert unintentionally committed changes of r1915

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1916 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ad89b4940741d60ab0c85f661865b7b160040536 authored over 17 years ago
* 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

github.com/Warzone2100/warzone2100 - 1779c3f3641f78d584fe94a4f6556866497e5ff5 authored over 17 years ago
* Add Code::Blocks build directories (obj & bin) to the ignore list

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1914 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 7f4b8364297a78735b3406d20aac85ac8caeb1a4 authored over 17 years ago
Forward port more cleanups from reference count work. Add warning about pointer

cast to int which is likely to cause bugs on 64bit architectures in projectile code.

git-svn-id...

github.com/Warzone2100/warzone2100 - fdfe7f074527448f6715a9196ea7ca0bea4dbac4 authored over 17 years ago
Misc cleanup forward ported from reference counting work. Adds new checking

macro CHECK_STRUCTURE().

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1912 4a71c877-e1ca...

github.com/Warzone2100/warzone2100 - 5aa373e5b244b40ef622456d6cee2778f195eb69 authored over 17 years ago
* Change kf_MoveToLastMessagePos() to be more readable (i.e. simply return on error, don't wrap the actual working, non-error, code in a conditional), also use map_coord instead of `>> TILE_SHIFT`

* Remove unused (and probably useless) function audio_PlayPreviousQueueTrack
* Remove unused fu...

github.com/Warzone2100/warzone2100 - 2658fa36aa5558e7053ff1196de1a952109370cd authored over 17 years ago
Cleanup:

* Change the array iteration code such that it is a bit easier to read
* remove audio_CheckAllU...

github.com/Warzone2100/warzone2100 - 37be498275ed1143efd2270f28d6390752a3f51f authored over 17 years ago
Remove unnecessary import of __future__ which also does not exist in Windows Blender. Patch by Kage.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1906 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d8f52e0caae3a4840063fc1ab5391a87e1ac3e8e authored over 17 years ago
Remove unused "altVal"(disp3d) and macros(fract), make macro safer(map)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1902 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - e5ff965bbcd9aa3efabd08ca987215dbcf6d0bab authored over 17 years ago
- Cleanup unnecessary variables in warcam.c

- Adjust camera-smoothness in warcam.h
- Simplify trackHeight(). I experienced an extreme, infini...

github.com/Warzone2100/warzone2100 - a2b9e2282278defd4992c4bf56043e749a0948dc authored over 17 years ago
PIE importer version 0.2.1 by Kage:

- no longer use glob

Known (and as of yet unfixed) issues are:
- it does not handle filenames sa...

github.com/Warzone2100/warzone2100 - 0f6126096803179422b6ab27167078f47dcc564e authored over 17 years ago
Updated Xcode project file

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1898 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 131b121face6557a01f6dcd2087991fcefeac184 authored over 17 years ago
Unused definitions.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1897 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 6d08197d952ac464a303e76d1d9d7484c1a82173 authored over 17 years ago
water-fix part 3: Animation

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1896 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 2f9105cc710b1ff6b7f04ec4aa75f1abf11aec93 authored over 17 years ago
Part 2 of water-fix (river bed), 3rd part (animation) to follow.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1895 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - ccc9d53d0a1296427a98f3a603892ba43b2cd40e authored over 17 years ago
Clean my WC

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1894 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - cc2294112be2a79ce6003c7a0a04142f8b647e95 authored over 17 years ago
First part of water-fix, which was broken by one of the last commits.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1893 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 0198bceba2cf2ff4d955e6ff4fabf4b560101f90 authored over 17 years ago
Remove Win32 specific min/max, replace by MIN/MAX from macros.h

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1892 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d0bb8172d53cd2e429188a0ba3428c7e48ff7f99 authored over 17 years ago
- More generic cleanup

- Reorder debug=yes CFLAGS so the -Wno- flags are at the end
- Make skybox float-uv aware

git-s...

github.com/Warzone2100/warzone2100 - 9a5fd28e0cc555354670806be74495c1e3a1d1e6 authored over 17 years ago
* Const correctness char* -> const char*

* Remove an unused string buffer (g_szCurDriveName)
* Fix a potential buffer overflow by using ...

github.com/Warzone2100/warzone2100 - c81e6f12052afc2da7486a8c3ff92b633c14548c authored over 17 years ago
Clean up src/target.c

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1886 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c26f036d0528fe9d0221bd5f54e69f5e11ce2c48 authored over 17 years ago
Cleanup pie_PiePolyFrame and some other minor changes.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1884 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 92bf004d997a44ec9a4aa700b51f619f439ac0c4 authored over 17 years ago
* 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

github.com/Warzone2100/warzone2100 - 830751b056b71cfc3080a1e71e7e1901e65a269d authored over 17 years ago
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

github.com/Warzone2100/warzone2100 - 0fc5249f790ea3db1d79c85562cd2a4838272170 authored over 17 years ago
* Add Code::Blocks project file

This currently compiles clean on GNU/Linux (disables gettext though), I haven't tested Windows ye...

github.com/Warzone2100/warzone2100 - da8d699f03798fc371b61a71d75e8a3af30b345c authored over 17 years ago
Minimal comment/header reordering.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1878 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8ee46cc331e509df192992b648ff424bee39dba7 authored over 17 years ago
Use violet instead of black to mark unused tiles. Useful for debugging.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1877 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - a5f74dc850e536dcd40528dee0b98ea85be19788 authored over 17 years ago
More cleanup...

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1876 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 1f723e656cd2b4bab815a7a8631ec2f7ba3a8b65 authored over 17 years ago
- More cleanup

- Teach for to pieblitfunc
- sed DrawTransImage to DrawImage (they were defined this way before a...

github.com/Warzone2100/warzone2100 - 3f2786c0304c026b5a6084055d68ade03aa53f0d authored over 17 years ago
Remove psPx optimization via pointers to minimise further patches.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1874 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 083b4c97d5203eb0a21681cf53324ae18cfb1be3 authored over 17 years ago
* Replace several instances of 4 spaces with '\t' for indentation

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1873 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d4297bade6567f7cab92a4d77a15b212b9ad9011 authored over 17 years ago
* split function dealWithLMB (which was around 350 lines) up into several smaller functions (still not pretty, but easier to read)

Behaviour should be unchanged

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1872 4a71c877...

github.com/Warzone2100/warzone2100 - dea07b08a18a288525cd1c800ba6c2e1745211ee authored over 17 years ago
Introduce PIE5 format.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1871 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 07a8031e945f345cb9cb32841bc257a018bd5211 authored over 17 years ago
More backdrops by Terminator.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1870 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 96609e273b67205c03f2f99f55fcbcaa1c9aa5b7 authored over 17 years ago
Another backdrop by Terminator.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1869 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - b7efd162b206bf634777fb455b586d727f482e49 authored over 17 years ago
Forgot to actually commit this:

* r1866 removed piefunc.c from raw Makefiles instead of rendfunc.c: fixed

git-svn-id: svn+ssh:/...

github.com/Warzone2100/warzone2100 - e292810a5c5dd5523c08172f8d67cbfcdc768927 authored over 17 years ago
* r1866 removed piefunc.c from raw Makefiles instead of rendfunc.c: fixed

* removed rendfunc.c from POTFILES.in
* `make -C po update-po` (raw makefiles still work for up...

github.com/Warzone2100/warzone2100 - b37345340b693fb77c40b5922938000bf912f319 authored over 17 years ago
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

github.com/Warzone2100/warzone2100 - 5dc0ccb99edf2127597caa83a75ebda9a18b47f1 authored over 17 years ago
Remove more unused code. This includes iV_GetMouseFrame, which returned an undefined value before. scriptextern.c might want to be adapted.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1865 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - e40c83027863443e5271815ee4f28dd437900613 authored over 17 years ago
* Use decent assertion expressions for some asserts (e.g. !"string", so that debuggers actually display something more interesting than 'FALSE')

* modify createDroid, createFeature and createStruct to use a NULL pointer as failure notificati...

github.com/Warzone2100/warzone2100 - b2b33bbed4e5625e77de5aed6622781c9b89f02e authored over 17 years ago
Warning linting for MacOS X

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1863 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 74ab4f87876bc5e255cc25d87d6d9945d88d002e authored over 17 years ago
Updated Xcode project

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1862 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - b254cea724995f212195c124a3edeeb478bb7f46 authored over 17 years ago
* update POTFILES.in for r1859

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1861 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 7a4309c41c0e0ffab440b649665636c091de7c08 authored over 17 years ago
* Use decent assertion expressions for some asserts (e.g. !"string", so that debuggers actually display something more interesting than 'FALSE')

* Fix a syntax error (missing brace)
* Code cleanup: put curly braces on their own line
* remo...

github.com/Warzone2100/warzone2100 - 66746c40783506a7abf3fd809306fd81d5d10594 authored over 17 years ago
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/warz...

github.com/Warzone2100/warzone2100 - 5c23008ee06bebefa4604557bc7622fb38936cdc authored over 17 years ago
Add two new check macros, CHECK_OBJECT and CHECK_PROJECTILE, and sprinkle them over the code.

This will cause many new asserts, but easier to track down bugs. To find if a bug is caused
by to...

github.com/Warzone2100/warzone2100 - 42ea71702d3e7af46c4fd0442d18ffb83fd6a2b3 authored over 17 years ago
Cleanup of object memory system. Remove unused morgue code, and use unused list

checking function in debug mode. Factorise duplicated code. Remove unused defines.

git-svn-id: ...

github.com/Warzone2100/warzone2100 - 9c820a0435b2ec324c5ef6aefb0c447f7008383f authored over 17 years ago
oops forgot to commit this along with r1855:

* modify accessing a global var to using a set function instead

git-svn-id: svn+ssh://svn.gna.o...

github.com/Warzone2100/warzone2100 - ea325b35ce8ab2b426f6c2ada026d2a4d49bd565 authored over 17 years ago
* Task #5192: Audit some files for failure to set global pointers to NULL after having called free(global pointer)

* Mark some global pointers/vars for static linkage (the less global, and more local they are, t...

github.com/Warzone2100/warzone2100 - 05156439fde62caf5a9d84e2f69baec86d66e63e authored over 17 years ago
Remove POSIX deprecation warnings for MSVC

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1854 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 6a43986828ee7737813041bfcc6feb2b31eae51f authored over 17 years ago
* Task #5192: Audit some files for failure to set global pointers to NULL after having called free(global pointer)

* Mark some global pointers/vars for static linkage (the less global, and more local they are, t...

github.com/Warzone2100/warzone2100 - 91adc1ba44807f22f2f53c64b5908dda9ba00d95 authored over 17 years ago
More globals free() auditing

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1852 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 1edba5809fe690e95b0540c19adc064a0c8764da authored over 17 years ago
Add hack to make ./configure --enable-debug=yes work on 64bit CPUs

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1851 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 9567ce63918d828e0690b5247cc70244b02ec1fd authored over 17 years ago
Audit more globals not being set correctly to NULL.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1850 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 077433f02fc15aeb426c67e1b6201d43827912e7 authored over 17 years ago
Audit some files for failures to set global pointers to NULL after calls

to free()

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1849 4a71c877-e1ca-e34f-864e-861f...

github.com/Warzone2100/warzone2100 - 6b9e5043be02abd0e3d9079ab782725ce4657fd4 authored over 17 years ago
Tiny cleanup

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1848 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 80026d553cf6d4e4700825e9165ae55cc43b5f75 authored over 17 years ago
Fix bug #9262 where the game would fail when loading savegames because I

expected that an oil derrick would always be placed on top of an oil feature.
This is not the cas...

github.com/Warzone2100/warzone2100 - 8a84301e9ac5d2d8d86db3b198db219b158b3532 authored over 17 years ago
Add recovery fallback for non-debug builds for bug #9262. It will

still assert, though. We need to figure out why it sometimes wants
to build derricks on tiles tha...

github.com/Warzone2100/warzone2100 - a06b1f8b53458347f399b8ed23aeafbcaa4866fa authored over 17 years ago
* Fix array out of bounds access

patch by vs2k5

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1845 4a71c877-e1ca-e34f-864e...

github.com/Warzone2100/warzone2100 - b28d8bbdf6f747a30cb957cfdab22629be9cecde authored over 17 years ago
Improvement to how Xcode project invokes gcc with --std=gnu99

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1844 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 15a89809d22c858d499ae4319b3ffcee72bc20d0 authored over 17 years ago
Fix MSVC compilability:

* Declare vars at the beginning of the block

Hinted at the problem by vs2k5

git-svn-id: svn+ss...

github.com/Warzone2100/warzone2100 - 239ea117014af2837ed98c4b893084088e926f56 authored over 17 years ago
Add a bunch of default m4 macros to ease compilation under some distributions.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1842 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - f537ad65fbb732f8c010a4f258b99998f7e78bdb authored over 17 years ago
PIE import and export scripts. The import script is adapted from Rodzilla. Place these in your ~/.blender/scripts folder and enjoy. Supported:

connectors, team colors (using a second UV layer). Not supported: animations of any kind.

git-s...

github.com/Warzone2100/warzone2100 - c1afb761f1a77d4555b825b7f132e87b14354cfa authored over 17 years ago
Debian-ChangeLog update. Thanks Jocke.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1839 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d11f659b71492352c72ebc2204ae42dc0dd7e441 authored over 17 years ago
Move icons and desktop into /icons/. Autotools work, Debian buildscripts may need further adjustments.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1838 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - e305f2a5667de7b85e8c3a066999c2daeb5ef955 authored over 17 years ago
* Use decent assertion expressions for some asserts (e.g. !"string", so that debuggers actually display something more interesting than 'FALSE')

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1837 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c5f107c36b0efca2a89268f695400ccb9dfc9716 authored over 17 years ago
* Change variable names to more meaningfull names

* Add explaining comments
* Remove some pieces of commented out code that only help us stand a ...

github.com/Warzone2100/warzone2100 - 0378115e2b32eac2a547bea092d30065a989106a authored over 17 years ago
* Add an assertion to check for NULL pointers (this seems to happen a lot when loading games lately)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1835 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 7ede8f9fa1588a1442bac7206b466f40118aac28 authored over 17 years ago
Cleanup:

* Remove some commented out lines
* One of these commented out pieces described lowering armor ...

github.com/Warzone2100/warzone2100 - b6744218fb87cac9a6fe2e663ea4b071d9dd348a authored over 17 years ago
Some more 64bit safety:

* Use "%zu" as format specifier to print out size_t types

git-svn-id: svn+ssh://svn.gna.org/sv...

github.com/Warzone2100/warzone2100 - dd337e40ebb65867811b7b5b8198d720f45e5fe0 authored over 17 years ago
* Allow compilation without sound; when used this eliminates the compile & link time requirement of libvorbisfile, libvorbis, libogg and libopenal

* This conditional compilation is controlled by WZ_NOSOUND (which replaces WZ_NOOGG)
* Remove a...

github.com/Warzone2100/warzone2100 - 98e6c05da16b2882986252806019a1d07656bb7a authored over 17 years ago
* Add a check for the special case of a commander playing in multiplayer (it needs less kills to achieve ranks then); I missed this when replaceing the specialized version of getDroidLevel for commanders

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1831 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 2adc6e3515ccc43c38281d0830a8dd09c611de5d authored over 17 years ago
* Refactor HashString and HashStringIgnoreCase to be a (very tiny) bit more readable

* Create a dedicated function for conversion of ASCII characters into upper case: upcaseASCII
*...

github.com/Warzone2100/warzone2100 - cc5de7ec3715f54588e10336de31b5ae8bc33c90 authored over 17 years ago
Made a type in last commit; this fixes it

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1829 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 00b8c344ad9f6b45f112c6313f1fb611510f0af6 authored over 17 years ago
* Only assert that the build location of a droid is on the map if we're not playing single player since we can be on an away mission

This fixes one assert of bug #9280

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1828 4a7...

github.com/Warzone2100/warzone2100 - abe777fd7aa0db456c839f295f913369c02a02ce authored over 17 years ago
* remove specialization of getDroidLevel: cmdDroidGetLevel

* modify getDroidLevel to provide the functionality of cmdDroidLevel for command and sensor droi...

github.com/Warzone2100/warzone2100 - a9a5b965aba97d1e735f3e538fcdd3e0d665f4fe authored over 17 years ago
* 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: sv...

github.com/Warzone2100/warzone2100 - 6d2e839bf4648a12362f5e3f9707af8ef78dcc8d authored over 17 years ago
Remove unused file streamer.h

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1825 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 8c49cf5a91a07de6e4e463b40d173142e82e7bec authored over 17 years ago
Wrong number, reported by Kreuvf. (Shouldn't this function instead retrieve its numbers from some file?)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1824 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - 60cb577b1b2614568726675831e8db3869706ece authored over 17 years ago
Updated Xcode project

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1823 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - d2d77144c94307a7aab88b71f2bea361d10b3c9d authored over 17 years ago
Add some translations to Dutch translation file

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1822 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - c0bddbb0e1cdced2030840d4bfff0a5d4dfa53c0 authored over 17 years ago
* Replace usage of uint8_t with char for C-strings; while (u)int8_t works perfectly nice for numbers it isn't nice for text (char-array)

* To make sure we still have the guarantee that a char is 8bit I've inserted a static assertion ...

github.com/Warzone2100/warzone2100 - 12f21d0b0cc7c3bb55ad63b8c631c4412659fd0d authored over 17 years ago
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 co...

github.com/Warzone2100/warzone2100 - ed73e628981963ee2eb6fc639d8aaff798c8bd50 authored over 17 years ago
Some more heap abolishing:

* Replace use of heaps psDroidHeap, psStructHeap, psFeatureHeap and psGrpHeap with malloc/free
...

github.com/Warzone2100/warzone2100 - 5af0c2c1a356ca14e3bb5e1458be15e196ee2714 authored over 17 years ago
Some more heap abolishing:

* Replace use of heaps psStructFuncHeap and psFlagPosHeap with malloc/free

git-svn-id: svn+ssh:...

github.com/Warzone2100/warzone2100 - 72e28131de7edbb3daad919d7087071df9ab4135 authored over 17 years ago
Some more heap abolishing:

* Replace use of heap psTemplateHeap with malloc/free

git-svn-id: svn+ssh://svn.gna.org/svn/war...

github.com/Warzone2100/warzone2100 - 9e9a17e58fb51e67ee5bb434e8d286c6c6492c52 authored over 17 years ago
Some more heap abolishing:

* Replace a lot of heap usage with malloc/free usage

git-svn-id: svn+ssh://svn.gna.org/svn/warz...

github.com/Warzone2100/warzone2100 - 7ae1b1bee78fc7d721ab2575dc14c30098f4086e authored over 17 years ago
* Replace a lot of heap usage with malloc/free usage

* Use decent assertion expressions for some asserts (e.g. !"string", so that debuggers actually ...

github.com/Warzone2100/warzone2100 - d65f88beb5f93db549003042843790c1fef328dc authored over 17 years ago
Revert r1810 since it somehow results in undefined behaviour (can't find the cause right now, so this revert is to leave the trunk in a stable state while I work on finding the cause)

PS: "Dang! That GUI code really is borked stuff!"

git-svn-id: svn+ssh://svn.gna.org/svn/warzone...

github.com/Warzone2100/warzone2100 - 5839fb21eafdbf12b73a170d098e8428eba2d1f1 authored over 17 years ago