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

Small documentation fix on MacOS xcodebuild command

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

github.com/Warzone2100/warzone2100 - 314f371805a6ee43e650e847638cc878c9a3b850 authored over 17 years ago by Ari Johnson <[email protected]>
Re-added MacOS build readme file

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

github.com/Warzone2100/warzone2100 - af531c7ccbe24905532cff464ed53570e94a9921 authored over 17 years ago by Ari Johnson <[email protected]>
Converted MacOS port to use Xcode to produce a universal binary. Warzone

will henceforth require MacOS 10.4 "Tiger" to run.

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

github.com/Warzone2100/warzone2100 - 91535c65964b13d450e61bd95be02ce9639f76a6 authored over 17 years ago by Ari Johnson <[email protected]>
+ updated Danish language translation to mirror recent additions

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

github.com/Warzone2100/warzone2100 - c1917ef076ef4d5c2fc8154ff62ceb9a86bf278d authored over 17 years ago by Christian Vest Hansen <[email protected]>
* 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...

github.com/Warzone2100/warzone2100 - aa9a5197946e5f48a4141ba927f06cc1e7ee0c56 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Remove inclusion of <setjmp.h> which apparently libpng wants to include first (in <png.h>)

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

github.com/Warzone2100/warzone2100 - 5756890d20d16c8055ea0044e679427d967adda5 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Add PNG screenshot dumping code, when pressing F10 (with a default keymap) both a JPEG and PNG screendump will now be output

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

github.com/Warzone2100/warzone2100 - baa3dcbb2a42e58ecd48a04c8a9be5cd93a98f6e authored over 17 years ago by Giel van Schijndel <[email protected]>
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

github.com/Warzone2100/warzone2100 - 761fd8bfb217b75cd5305e3daf1a7c99412deb58 authored over 17 years ago by Dennis Schridde <[email protected]>
* pcx.c: use size_t for memory buffer length (size_t is the appropiate type for this, unsigned int is not)

* change macro BUFFER_SIZE to static const JPEG_bufferSize (compiler will optimize this away)
*...

github.com/Warzone2100/warzone2100 - fd3324a9fefd8348c1c4d2a1a52672fed24901ab authored over 17 years ago by Giel van Schijndel <[email protected]>
* make PNGheader be explicitly unsigned (required for compilers that define 'char' as being signed)

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

github.com/Warzone2100/warzone2100 - c3683f64dd016c60a969467e0f9584537c880938 authored over 17 years ago by Giel van Schijndel <[email protected]>
* 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

github.com/Warzone2100/warzone2100 - cbf89c88d89ac806fcc30996fb64edb131f7c191 authored over 17 years ago by Giel van Schijndel <[email protected]>
* change pie_PNGLoadMem to pie_PNGLoadFile which (as the name suggests) now loads textures directly from PNG files (rather than memory buffers)

* change pie_ReloadTexPage to use files instead of memory buffers as well
* change data.c's res...

github.com/Warzone2100/warzone2100 - f49c5cbdd50d318be0ce8c9354e8537a7d1af511 authored over 17 years ago by Giel van Schijndel <[email protected]>
* make pie_PNGLoadMem play nice and take the buffer size as an argument rather than assuming it to be 10000000 (10 million)

* do the same with pie_ReloadTexPage which calls pie_PNGLoadMem
* char* -> const char* in tex.c...

github.com/Warzone2100/warzone2100 - 7356aa1b9a1325285f445364cf062aeb0e142418 authored over 17 years ago by Giel van Schijndel <[email protected]>
* turn `integer overflow` debug message into an assert

* dump less information in the debug log if the assert is triggered (just "integer overflow; no ...

github.com/Warzone2100/warzone2100 - dcf4cb326390b0e71a24f4dce6bf87bc90277900 authored over 17 years ago by Giel van Schijndel <[email protected]>
* char* -> const char*

* make screen dumping code (screen shotstuff) more readable and friendly to edit (behaviour shou...

github.com/Warzone2100/warzone2100 - 7527047316a77b7ae7c1b0d672ae0b7b15c4ce5b authored over 17 years ago by Giel van Schijndel <[email protected]>
Fix a bug introduced in r1469, which produced gaps where the buildings should be and made the terrain jump around. (display3d.c)

Additionaly:
- Cleanup indention
- Remove an unused, commented out function
- Make code a bit mor...

github.com/Warzone2100/warzone2100 - 345581c9ac33240c8150f1e1a5bc772b5416130b authored over 17 years ago by Dennis Schridde <[email protected]>
* Fix error from last commit where the wrong pointer was used

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

github.com/Warzone2100/warzone2100 - 300f691b0be0592609a1b1f2b5d38f1e34e9e66f authored over 17 years ago by Giel van Schijndel <[email protected]>
* remove senseless use of malloc (we now statically allocate on the stack)

* remove goto, placed the "goto"-code in an inline function instead
* make pie_PNGLoadMem const...

github.com/Warzone2100/warzone2100 - 09b08c15822dad76d8f5ab11b439f7e073bdd4d5 authored over 17 years ago by Giel van Schijndel <[email protected]>
Minor german translation update: ~60%

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

github.com/Warzone2100/warzone2100 - ba31124ecdd04c1e05b9d6ff38da274322de3431 authored over 17 years ago by Dennis Schridde <[email protected]>
* some const correctness (char* -> const char*)

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

github.com/Warzone2100/warzone2100 - 3c407e0972eb76c7883705356b03118bc3821d67 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Apply patch #691 (fixes typos in names.txt and cam2strings.txt)

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

github.com/Warzone2100/warzone2100 - ae88cdbf7d0ae55962d83d4fd0b92a52b120673e authored over 17 years ago by Giel van Schijndel <[email protected]>
* Fix incorrect po-file for Dutch translation

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

github.com/Warzone2100/warzone2100 - 1f405057ff824a4cb0a54c8e83380627208b08b2 authored over 17 years ago by Giel van Schijndel <[email protected]>
* remove MP3 decoding support

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

github.com/Warzone2100/warzone2100 - 51347f365c9608923156c4a60dced8b500dd8c90 authored over 17 years ago by Giel van Schijndel <[email protected]>
* remove now unused functions for working with hashnames on audio tracks

* `make -C po update-po`

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

github.com/Warzone2100/warzone2100 - 1d160dbfe09a92ea5de9aa9ed6afd8836dd3ea71 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Fix bug #8938 (introduced in r1251) which occurred due to saving/loading functions of ST_SOUND being dissymmetric (save function stored the fileName, load function interpreted it as a UDWORD hash)

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

github.com/Warzone2100/warzone2100 - 936205a9eebe7d9b9fd6cbea80e7218b5879b23a authored over 17 years ago by Giel van Schijndel <[email protected]>
Clean indention and make the code a little bit more readable.

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

github.com/Warzone2100/warzone2100 - 5f87829d265c6fe4b012c5f60a2ed8c08d298188 authored over 17 years ago by Dennis Schridde <[email protected]>
Add missing includes to quelch warnings.

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

github.com/Warzone2100/warzone2100 - a9f120adec938148c4b2c7850738731bc6773ca5 authored over 17 years ago by Per Inge Mathisen <[email protected]>
* Fixed a segfault in the the code producing "research completeded"-messages (caused by wrongly assuming we wouldn't be fed a NULL pointer)

* Move that code out of the if-statement since the if-branch of that piece was exactly the same ...

github.com/Warzone2100/warzone2100 - 237e809d218f9d3a4cbf7d32d6df24697ac0885a authored over 17 years ago by Giel van Schijndel <[email protected]>
* Fix inconsistent newlines and set svn:eol-style to native in lib/ and src/

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

github.com/Warzone2100/warzone2100 - f8c164fddedc7662fede6ee32c5e4fb3932998e0 authored over 17 years ago by Giel van Schijndel <[email protected]>
* fix by charon for segfault caused by not setting (non-static global) pointer to NULL after freeing it

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

github.com/Warzone2100/warzone2100 - e8617759062ef1fcbd57bde51f67a401847ca2e9 authored over 17 years ago by Giel van Schijndel <[email protected]>
* change some abuses of pointer-arithmatic (or pointer-magic in this case really) into array indexing

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

github.com/Warzone2100/warzone2100 - 9beab0991797c182a2f55b233edf94be613a23fe authored over 17 years ago by Giel van Schijndel <[email protected]>
Simplify code, especially the prepending of the debug part.

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

github.com/Warzone2100/warzone2100 - 585db5249ef80c02e558281da0d4ad6638f359b9 authored over 17 years ago by Dennis Schridde <[email protected]>
Sorry for the magic number in the last commit...

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

github.com/Warzone2100/warzone2100 - 53d9cc48e448e164c42ec5167f33f8f1e76b9332 authored over 17 years ago by Dennis Schridde <[email protected]>
- Remove mem.h and references

- Fix possible illegal writes for research messages

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

github.com/Warzone2100/warzone2100 - d3408cec7b3b8d9905bc221af61cfc6d64403c88 authored over 17 years ago by Dennis Schridde <[email protected]>
FREE->free, MALLOC->malloc (sed+review)

This patch will create crashes where the code expects FREE to set the pointer to NULL! (Those pro...

github.com/Warzone2100/warzone2100 - ce16856887f4300c53e20978392f39c2667a6475 authored over 17 years ago by Dennis Schridde <[email protected]>
Passed wrong pointer...

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

github.com/Warzone2100/warzone2100 - 2707ce0fd61152ae39bb51d269ec718d3d22fd1d authored over 17 years ago by Dennis Schridde <[email protected]>
Show name of the finished research in the console.

Original patch by Watermelon (slightly modified).
Based on an idea by TheNoid and Kreuvf.

git-s...

github.com/Warzone2100/warzone2100 - 91cf893778575395d1b35947fbebb33a31562706 authored over 17 years ago by Dennis Schridde <[email protected]>
Make some more char* -> const char*

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

github.com/Warzone2100/warzone2100 - 68da5a9613014340b4039b5aeeea7011d0a77a8f authored over 17 years ago by Stefan Huehner <[email protected]>
Make some more char* -> const char*

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

github.com/Warzone2100/warzone2100 - 34fd2afd1fcf85162087215699e6ce66466f035d authored over 17 years ago by Stefan Huehner <[email protected]>
* change the direction of the AI player enabled check so that it will enable the bottom one if it is disabled (looks better)

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

github.com/Warzone2100/warzone2100 - a7119c1600c0d8d614b9e6fd073fe47d1588246f authored over 17 years ago by Giel van Schijndel <[email protected]>
Make some more char* -> const char*

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

github.com/Warzone2100/warzone2100 - c0a44c70e2b6400c075dbc3f17e2ef2d9c7fef5c authored over 17 years ago by Stefan Huehner <[email protected]>
* Fix bug #8759 (in Skirmish mode it was possible to disable all AI players, we now check for that and make sure that at least one AI player is always available in Skirmish)

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

github.com/Warzone2100/warzone2100 - 216eb52e3c88a4afbd09b494d2b968dfb11e92b0 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Add a rudimentary Latin translation

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

github.com/Warzone2100/warzone2100 - 0b359cf30b891f6d9728ff393b433aaf85240720 authored over 17 years ago by Giel van Schijndel <[email protected]>
* move a lot of multiplayer strings out of the string resource system into sources (with gettext markup)

* `make -C po update-po`
* provide some translations for the Dutch translation

git-svn-id: svn...

github.com/Warzone2100/warzone2100 - 50f7a4a019aebb293881b7b9738c766ac74f84b3 authored over 17 years ago by Giel van Schijndel <[email protected]>
- svn:eol-style for .po files

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

github.com/Warzone2100/warzone2100 - 80d32d6c55e17d300f727a4cd2f4f5f6d5601eae authored over 17 years ago by Dennis Schridde <[email protected]>
* Fix segfault which occurred when loading up any skirmish savegame

- segfault occurred in map_Height(UDWORD x, UDWORD y) (map.c) when called by addLandingLights (...

github.com/Warzone2100/warzone2100 - a4a14cd90e1cb782b70e2ba146dae30b322e3690 authored over 17 years ago by Giel van Schijndel <[email protected]>
Properly discard the return value of textdomain()/bindtextdomain().

Not doing this leads to a "statement with no effect" warning in case NLS is disabled.

git-svn-i...

github.com/Warzone2100/warzone2100 - 7b9257c9495a8f8a5f2798a9e0567802913e154b authored over 17 years ago by Dennis Schridde <[email protected]>
Cleanup:

* AUDIO_SAMPLE
* remove unused variable iLoops from the struct
* rename bRemove to the more ...

github.com/Warzone2100/warzone2100 - c028586ee430dfce65eeee2034bf8c8b9bf2b592 authored over 17 years ago by Giel van Schijndel <[email protected]>
* move some pieces of gettext.h into the conditional `#if ENABLE_NLS` and provide dummies for them if NLS is disabled (the #else part of the definition), without this compiling with NLS disabled is impossible

* remove ptrlist.c from lib/gamelib/Makefile.raw
* some modifications of char* -> const char*
...

github.com/Warzone2100/warzone2100 - 6671750da044464424efc1d8e5d845d3d62ca892 authored over 17 years ago by Giel van Schijndel <[email protected]>
Of course we need to leave room for ".png\0"...

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

github.com/Warzone2100/warzone2100 - e8da218797c8e950a7664f90b89e30709cddd1d8 authored over 17 years ago by Dennis Schridde <[email protected]>
- Fix a possible invalid write caused by writing up to 80 chars into a 64 char array.

The texture file in PIE files can now be up to MAX_PATH chars long.
- Find the reason for WZ dis...

github.com/Warzone2100/warzone2100 - 3cdae4332f0f02ed2e264f9ec4262b4c4e8e05c1 authored over 17 years ago by Dennis Schridde <[email protected]>
- Remove lots of inclusions of windows.h (and move inclusion of frame.h up)

- Remove "-%token <sval> TEXT" from audp_parser.y since it clashed with declarations in MinGW's W...

github.com/Warzone2100/warzone2100 - 25aa853f2970cd80f423a6370f53da0ffabec243 authored over 17 years ago by Dennis Schridde <[email protected]>
* remove ^wrong^ rank translation of "Green" from Dutch translation (looks to much like translation for "Rookie")

* revert changes to po/Makefile.in.in from r1417
* add some makevars to raw makefile system
* ...

github.com/Warzone2100/warzone2100 - 79b8983220715375f0081a5e762e02d7bfcbdabd authored over 17 years ago by Giel van Schijndel <[email protected]>
Remove AM_GNU_GETTEXT_VERSION since that was only used by autopoint.

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

github.com/Warzone2100/warzone2100 - 0bba8687ee1475ed64e506fc6110afa5d09db86b authored almost 18 years ago by Dennis Schridde <[email protected]>
remove buildpos.c and buildpos.h which are completely

enclosed by comments and have been since r1 (Initial Version)

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

github.com/Warzone2100/warzone2100 - 796eb23f27b5fdc6a716d7ba1719f405687a5be4 authored almost 18 years ago by Stefan Huehner <[email protected]>
remove forward declarations from source file which are

picked up from corresponding header.

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

github.com/Warzone2100/warzone2100 - 932ecd9f05fff8e0348e6963162bcb2a6166f0aa authored almost 18 years ago by Stefan Huehner <[email protected]>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1432 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - fd1ed75a3b85b2d69dcd117c0ce11f5544955e83 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Remove references to already removed header files

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

github.com/Warzone2100/warzone2100 - aa1cb2ec14699db6a437e5bf7907b560cf261e29 authored almost 18 years ago by Stefan Huehner <[email protected]>
Update Makefile.raw after ani.c removal

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

github.com/Warzone2100/warzone2100 - 00286d398b9d633c5de2be64bf0a674bfd9cb70f authored almost 18 years ago by Stefan Huehner <[email protected]>
inline the only function from ani.c in its only user (init.c) and remove

ani.c and ani.c altogether

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

github.com/Warzone2100/warzone2100 - f33eeb14130b58d1f103121f7b2f0bcfb191cb83 authored almost 18 years ago by Stefan Huehner <[email protected]>
Remove the unused ptrlist implementation from gamelib

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

github.com/Warzone2100/warzone2100 - e40142efcb40fd05799bcccd40176da7dc1d34e9 authored almost 18 years ago by Stefan Huehner <[email protected]>
Remove 2 unused function declarations

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

github.com/Warzone2100/warzone2100 - 58869ba54da59af339102144270065e858d4a5c1 authored almost 18 years ago by Stefan Huehner <[email protected]>
Require gettext 0.15 here, too.

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

github.com/Warzone2100/warzone2100 - 697ccff2b6174ff1bc37f5521b818640cbff5947 authored almost 18 years ago by Dennis Schridde <[email protected]>
The powercrypt module prevented cheating power-value

in ram by storing a encrypted value and checking against
this.
It not of use anymore as the clien...

github.com/Warzone2100/warzone2100 - 72e455e1a55ddd042ce1d364f49147bcd7946714 authored almost 18 years ago by Stefan Huehner <[email protected]>
Remove an unused define UNITS_PER_PLAYER

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

github.com/Warzone2100/warzone2100 - 61622e29e427182e984107b3d5d088cde46e97b0 authored almost 18 years ago by Stefan Huehner <[email protected]>
Use pgettext instead of a custom implementation.

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

github.com/Warzone2100/warzone2100 - 751e6c44f7f5221f44d7a988e70e222ab475211e authored almost 18 years ago by Dennis Schridde <[email protected]>
remove aidef.h header and its references, as the only

user was in a comment

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

github.com/Warzone2100/warzone2100 - a641ac9381ab3ec4aec7efbe0c5a6e5e45251136 authored almost 18 years ago by Stefan Huehner <[email protected]>
Code-Cleanup: remove a lot of type,function,variable

declarations/definitions which are not used anywhere.

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

github.com/Warzone2100/warzone2100 - 9eda7db8a13772d90c6992edee51bdb9eb7a79fd authored almost 18 years ago by Stefan Huehner <[email protected]>
* revert changes of r1418 to droid.c and multiplay.c ( N_ macro was removed )

* since gettext_noop is always defined, remove the conditional definition of N_ which checks whe...

github.com/Warzone2100/warzone2100 - c0fd40ff199a74442f3c82404336314177829659 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Add registry_clear() to declarations, as it is exported

and used by other code.

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

github.com/Warzone2100/warzone2100 - 4d88263c9bd0083c0c6a3c1407696b18fed7b6ef authored almost 18 years ago by Stefan Huehner <[email protected]>
Cleanup

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

github.com/Warzone2100/warzone2100 - 3c6c7b5b5152229da1e1f7cb5ee6e78d399993c7 authored almost 18 years ago by Dennis Schridde <[email protected]>
* fix two warnings in exceptionhandler.c

* add Q_ and Qn_ gettext macros (copied from Freeciv: GPL)
* remove hack for ambiguous translat...

github.com/Warzone2100/warzone2100 - 79d4169bcdbd5e129e5b0f1ef0d4c3f7c0febbd2 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Ressurect -Wno-unused-label. Reorganize string.h includes so that

_GNU_SOURCE can take effect first, to silence stpcpy() warnings from
bison generated code.

git...

github.com/Warzone2100/warzone2100 - 96cb7cafc5155c0ec823a1f044da82ed3af47349 authored almost 18 years ago by Per Inge Mathisen <[email protected]>
* insert a hack into droid.c to circumvent ambiguity of the word "Green" (which is being used as a rank name as well as the color)

* `make -C po update-po`

PS The most feasible solution other than the above mentioned hack seem...

github.com/Warzone2100/warzone2100 - c31f807b9418c3e11132b6c1fabb86eddc96e053 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* add the gettext no-op macro N_(string)

* use it in src/droid.c
* throw some hardcoded strings (in a switch statement) in an array of s...

github.com/Warzone2100/warzone2100 - c3914a6ab2b69fa25ce900d0b6435893e7a05851 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Fixed scorpion body having no VTOL and Wheeled propultions assigned in MP games.

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

github.com/Warzone2100/warzone2100 - e8e196f98e866ee6c8591b9cb115c3079f85be60 authored almost 18 years ago by Roman C <[email protected]>
* Remove PIEPIXEL and change all of its instances to Vector3f (definition is exactly the same where types are concerned, only member vars were named different)

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

github.com/Warzone2100/warzone2100 - 365c37812d690d327cf9e67fb09d8c53ada42b1c authored almost 18 years ago by Giel van Schijndel <[email protected]>
Also fix the campaign version of templates.txt

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

github.com/Warzone2100/warzone2100 - 153cb45fa6c257c8cfb134051bed28c3530b4e5a authored almost 18 years ago by Roman C <[email protected]>
Fixed a VTOL template having no sensor.

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

github.com/Warzone2100/warzone2100 - 459c66975ea1bcfb800af9d2af7129b695d87532 authored almost 18 years ago by Roman C <[email protected]>
* remove internal forward declarations of functions already declared in the header

* use proper constness:
* make some functions take arguments of `const char*` rather than just...

github.com/Warzone2100/warzone2100 - cc17299668dfbd78e65162cbbad782257ee657f6 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Make strict the default debug mode.

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

github.com/Warzone2100/warzone2100 - b3e17f6064be80560a4b0470bd756411098a2060 authored almost 18 years ago by Dennis Schridde <[email protected]>
* remove unused priority parameter from script function audio_module::audio (audio_track)

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

github.com/Warzone2100/warzone2100 - fc701e9595d681c4a4a0a8b7d9f36a2caec7ab08 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* add -Werror-implicit-function-declaration to CFLAGS

* Fix a spelling error in a string in src/droid.c
* `make -C po update-po`

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

github.com/Warzone2100/warzone2100 - ee27f41be7f8c235dc2e16fa741f7f1b7888b237 authored almost 18 years ago by Giel van Schijndel <[email protected]>
- Add -Wextra to debug=yes, as it doesn't generate so many new warnings

- Add -Wno-nonnull to debug=strict to make it compile (Remove it from AM_CFLAGS)
- Remove -Wno-un...

github.com/Warzone2100/warzone2100 - 8952155c7aaf72cf5aa3a2fa63932c5b19f88355 authored almost 18 years ago by Dennis Schridde <[email protected]>
* merge 1364:1404 from trunk into branches/sound

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

github.com/Warzone2100/warzone2100 - 80c250fd277fc0164b63169f081eb94792e343ea authored almost 18 years ago by Giel van Schijndel <[email protected]>
* remove sound_CheckSample: only contained asserts, makes debugging difficult if you don't know where the assert really came from

* moved asserts to only two callees of sound_CheckSample

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

github.com/Warzone2100/warzone2100 - 092afb2a017be0f9681b0936a9331d9bd1d67b99 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* Fix C89 compatibility

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

github.com/Warzone2100/warzone2100 - d42a6ba8a4209d08e5d925008deb11a6dc754a32 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* remove the (unused) ability to decode tracks from memory buffers

* move construction (allocation and initialization) of struct TRACK to openal_track.c where it i...

github.com/Warzone2100/warzone2100 - 3c874190c70b6561d01817bd178d9e27f1698b28 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* audp_parser can now only parse from a PHYSFS_file, it won't parse directly from a memory buffer anymore

* resource types ANI and ANIMCFG are now read directly from file

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

github.com/Warzone2100/warzone2100 - 011d7187e2705f476083dcded73a4eb834a5ae93 authored almost 18 years ago by Giel van Schijndel <[email protected]>
Removed unused "cluster" functions from the sound code. I suppose

clusters are groups of close units.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1399 4a...

github.com/Warzone2100/warzone2100 - 28fe84976ee66dace55fdbaf225567b40632a5ed authored almost 18 years ago by Gerard Krol <[email protected]>
* set filename from GetLastResourceFilename() in sound_ConstructTrack (this filename can at some point be read back into scripts, so it does matter how this filename is formatted, since loading from buffer originally used that function, we now use it for both file loading and buffer loading)

* change audp_parser/lexer to be able to read directly from a file (through PHYSFS)
* change da...

github.com/Warzone2100/warzone2100 - e95423ac684f2337e67e26721b58f3356e4d4490 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* remove some dead code (resource preload callback stuff)

* turn a one-statement function into an inline (resDoResLoadCallback)
* revive resource loading...

github.com/Warzone2100/warzone2100 - 99153c743c41e844ac9241c4fa3d5335b5e0afbe authored almost 18 years ago by Giel van Schijndel <[email protected]>
* Fix a missing semi-colon r1395

* Change some calls to FREE(TRACK*) to free(TRACK*), because TRACK is always allocated using mal...

github.com/Warzone2100/warzone2100 - 61975a7936d5b37f88faaa51abace594095728e4 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* modify construction functions of TRACK to return pointers instead of BOOLs (and if we return a NULL pointer we first free the original memory, previous code would leak if errors would occur during construction)

* remove wrapping function audio_LoadTrackFromFile from lib/sound/audio.c
* move similar code i...

github.com/Warzone2100/warzone2100 - dfa8d64f278d0800a27922d6660d1b8021c900a0 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* remove unused function pointer fileLoad from struct RES_TYPE in lib/framework/frameresource.h (there is code that sets this member, but none that uses it)

* remove function resAddFileLoad from lib/framework/frameresource.[ch] which was used to set RES...

github.com/Warzone2100/warzone2100 - 10964ceca2d2d6c7a993a4f98291dc98cb3aef2f authored almost 18 years ago by Giel van Schijndel <[email protected]>
* remove some linked list wrapping macro (to increase code readability)

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

github.com/Warzone2100/warzone2100 - 0af269415c99124d0f7df18ffde50640bc37e397 authored almost 18 years ago by Giel van Schijndel <[email protected]>
* Add some info about revision info (last author, commit date and revision) through svn keywords

* This way updates to this file will automatically modify the above automatically

git-svn-id: s...

github.com/Warzone2100/warzone2100 - 645c5852c890062fabed4eea7be7b9530392b1ff authored almost 18 years ago by Giel van Schijndel <[email protected]>
Scripting Language:

-simple data types are lowercase on default
-casts using uppercase still allowed for compatibilit...

github.com/Warzone2100/warzone2100 - 0faf85229b25a6bb8a172c42a5e27ee99ad21ee0 authored almost 18 years ago by Roman C <[email protected]>
1. Removed the terrible memory leaks from the resource system. 2. Fixed the memory leaks for the terrain tiles. 3. Fixed a lot of uninitialised

variables. 4. Commented out some unused sound code.
I just love Valgrind :)

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

github.com/Warzone2100/warzone2100 - 6671fa934e7a6970fbcd5345e27c4adee9d52f9f authored almost 18 years ago by Gerard Krol <[email protected]>
Due to popular request: Standardinstallation

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

github.com/Warzone2100/warzone2100 - 4003b2dc95c63ae0574511298a1a6b1969bbf5ef authored almost 18 years ago by Dennis Schridde <[email protected]>