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

* Add Grim's GFX mod (this version would work cleanly with r2123; I'll update it soon after this commit)

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

github.com/Warzone2100/warzone2100 - 33aea77e60955307408b0515408391e5b4e090b2 authored over 17 years ago
* Fix building of mp.wz by the raw Makefiles

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

github.com/Warzone2100/warzone2100 - 0ba8c36b31eb93fd91307a1cd6d4447c14c004e1 authored over 17 years ago
No longer make unnecessary assumptions about leading zeroes in tile filename suffixes.

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

github.com/Warzone2100/warzone2100 - 924a22c3cb5b9cadaf2656c61ba4cf25b80b9360 authored over 17 years ago
* Add Python script for the conversion of old-style one-texturepage tilesets to mipmapped tilesets

By Kevin Gillette <kage>

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

github.com/Warzone2100/warzone2100 - 3e8cb6ba4ce40caa4ee02d454df3351721171177 authored over 17 years ago
* Change an assert(FALSE) into a more descriptively styled: !"text string"

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

github.com/Warzone2100/warzone2100 - e559915d835ad435446610fc3c00c3e029cfbab4 authored over 17 years ago
* Use SDL_EnableKeyRepeat to enable the repeation of key press events (this enables you to press your 'A' key once and get multiple 'A's if your in a textbox)

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

github.com/Warzone2100/warzone2100 - 551aa55cb940b0282883065e12e53c0f07391e7c authored over 17 years ago
* Prevent a warning about "dereferencing type-punned pointer will break strict-aliasing rules" by casting a &float through a void* before casting it to uint32_t*

* Add an explanation about floats (that they're basically the same as 32bit integers as far as e...

github.com/Warzone2100/warzone2100 - 29c1229322df541e5d8dcba8758306cf6756f6b6 authored over 17 years ago
* Adapt the writeFXData and readFXData functions to use the PHYSFS big endian swapping write and read functions

* Don't write directly from the memory of the EFFECTs (since this memory doesn't always have the...

github.com/Warzone2100/warzone2100 - 1ee03560369f567bb6e2302a45f8146acfdf0e64 authored over 17 years ago
* Fix warning about "null argument where non-null required"

* Turn macro ALLOC_VARIDENTDECL partially into a static inline function
* Remove -Wno-nonnull s...

github.com/Warzone2100/warzone2100 - 707e1562658c1846e0aa6d9065543f172b9e9296 authored over 17 years ago
* Fix a warning about unused variable "kills"

Patch by pseudonym404 ( http://forums.wz2100.net/index.php?topic=148.msg7691#msg7691 )

git-svn-i...

github.com/Warzone2100/warzone2100 - ab9f78760bbc992918ad1b91a5ffec18101b54a7 authored over 17 years ago
Increase number of allowed texture pages from 64 to 128 for now.

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

github.com/Warzone2100/warzone2100 - 65866c301218414c037a721906cffa2bb5e2a7cc authored over 17 years ago
Turn more ASSERTs inside scripting functions into debug(LOG_ERROR, ...)

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

github.com/Warzone2100/warzone2100 - 230e56878aab114d0da6c03507b89a6d2e3a8881 authored over 17 years ago
- added getDroidKills() scripting function.

- fixed setDroidKills() scripting function to cope with changes to the way kills are stored inter...

github.com/Warzone2100/warzone2100 - 669bb13506c1199d17e56e3fd2f9ef181e45ff8a authored over 17 years ago
Make the game display droid rank, when clicking on a droid in debug mode (useful when debugging AI).

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

github.com/Warzone2100/warzone2100 - 04dc906312791eea931bd9662e00e4e657194ef7 authored over 17 years ago
Turn some ASSERTs into debug(LOG_ERROR, ... )

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

github.com/Warzone2100/warzone2100 - c1f1288f53790f1799b33149f9aea83c8bbfa668 authored over 17 years ago
Update dbghelp.h to Wine 0.9.43.

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

github.com/Warzone2100/warzone2100 - 0cf8a9af36dfb2aa5f356d737e8612b85c1de45c authored over 17 years ago
Fix bug where we would oppose the worth of attacking a target with the worth of

attacking ourselves, since when auto-repair is researched, we will have ourselves
as a repair tar...

github.com/Warzone2100/warzone2100 - 8d0c71e4727336bdc92b4d956a30edbfd9833a28 authored over 17 years ago
This patch fixes an incorrect filename in po/Makefile.in.in. It should be warzone2100.pot instead of warzone.pot.

Patch by Ken Rushia.

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

github.com/Warzone2100/warzone2100 - 86acf8940f9a956d66ea8ca20b71e7100e60ff4f authored over 17 years ago
Add new function isDead(BASE_OBJECT*) which checks if an object is dead or in

a transport list, and use it where applicable. This fixes bug #9720, an asserts
when selecting a ...

github.com/Warzone2100/warzone2100 - 3adaa181b297596d6e93a705ca3361bff1578974 authored over 17 years ago
* Cleanup CLimitsDialog's code to make it easier to port it to wxWidgets

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

github.com/Warzone2100/warzone2100 - 5285f0a096ccad4acde087b6608b73694b54b85b authored over 17 years ago
* Attempt to preserve history a bit

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

github.com/Warzone2100/warzone2100 - 5814fc39c769078cd2787328a39ca056ac330356 authored over 17 years ago
* move class CUndoRedo from bteditdoc.cpp to new file undoredo.cpp

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

github.com/Warzone2100/warzone2100 - ba7d1d50789df93e20f29695993c537a53e9f46f authored over 17 years ago
* Remove unused files model.cpp/h and seedfill.cpp

* remove #include "snapprefs.h" directive
* remove non-existent file d3dwrap.h from project fil...

github.com/Warzone2100/warzone2100 - 243bc7ddb8b00034eee5d820041883620e1cfa13 authored over 17 years ago
* Remove unused window CSnapPrefs or IDD_OBJECTPREFS

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

github.com/Warzone2100/warzone2100 - 0397a75255b31f52c3cf72284bffa47ba692a0d5 authored over 17 years ago
* Remove unused window CInfoDialog or IDD_DEBUGINFO

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

github.com/Warzone2100/warzone2100 - 9d148e7f8b892f1fd0ecf024c8cfcda8bfd5f1c8 authored over 17 years ago
* Revert unintentional changes to Code::Blocks projectfile

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

github.com/Warzone2100/warzone2100 - b95b607976d068e2d853d4fc3a697c933f15b1c3 authored over 17 years ago
* Add network primitives by Freddie Witherden <EvilGuru>

* Modify them slighly to use get/set functions for the package direction (instead of a global ac...

github.com/Warzone2100/warzone2100 - 74e64738faf6eaa5c9856515360a1af343972ed3 authored over 17 years ago
Make commanders a more valuable target, since commanders are more useful now.

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

github.com/Warzone2100/warzone2100 - 4213087057d6e3f085d300e2cda1456667549940 authored over 17 years ago
* Merge fixes for bug #9694 and bug #9704 which where fixed in r2349 and r2355 respectively from the 2.0 branch into trunk

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

github.com/Warzone2100/warzone2100 - 0d901ea836943f9a02d327181c581ff56e6ac6d8 authored over 17 years ago
Improve Norwegian translation somewhat

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

github.com/Warzone2100/warzone2100 - 7e3837a2b50f9e7e6c8f3395f71d9b1e981c4708 authored over 17 years ago
Improve dependency and error checking in autotool build scripts for translations.

Requested by krushia.

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

github.com/Warzone2100/warzone2100 - 004786ea50fb1998849c5ae84333c3ea65458abd authored over 17 years ago
Updated ChangeLog.

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

github.com/Warzone2100/warzone2100 - 8425ac9af5f35eb06aaa85fda74a079f6b25cb44 authored over 17 years ago
Balance:

-increased reload time of EMP Cannon from 5 to 8 seconds
-EMP Cannon will now disable units in i...

github.com/Warzone2100/warzone2100 - 3704de1f71e184a21d71c7ab8ae999fc2eefe8bd authored over 17 years ago
remove src/csnap.c from POTFILES.in

Thanks to Ken Rushia <krushia> for spotting this; This closes patch #792

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

github.com/Warzone2100/warzone2100 - 80e93f2ca4119bebac7361cae0ec03f9d2e0dec2 authored over 17 years ago
* Remove forward declarations for undefined functions iV_CreateFont, pie_StartTextExtents and pie_FillTextExtents

* Remove unused functions pie_SetFormattedTextFlags and pie_GetFormattedTextFlags
* Move consta...

github.com/Warzone2100/warzone2100 - 609d953a63fce44314b927a4b1fb2403155a67e9 authored over 17 years ago
* remove function stringLen and replace all instances where it was used with strlen (can't see why anyone would want a custom string length function there in the first place)

* make strresStoreString const correct ("char*" -> "const char*")

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

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

github.com/Warzone2100/warzone2100 - fc8ab2c14e53903f4301be1bdacda3a2c4577b4f authored over 17 years ago
Do not show debug info for selected objects in debug builds unless debug mode

enabled in the game. Add extra info to selected items. Modify what info strings
are to be transla...

github.com/Warzone2100/warzone2100 - 0c942e2413ca39445169a7c686e3b075593349bc authored over 17 years ago
Weed out some done or no longer relevant items from the TODO list.

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

github.com/Warzone2100/warzone2100 - e8bbf9113cbfb0fa50a347dbda3bc9d80b38614a authored over 17 years ago
Cleanup. Remove yet another ton of unused code.

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

github.com/Warzone2100/warzone2100 - 618e1b82ed054c72eca23af14eed0240e4bed80c authored over 17 years ago
Fix bad macro names.

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

github.com/Warzone2100/warzone2100 - 4fe1646f2686646dbfc9dd998ac05ee628a9c00e authored over 17 years ago
Cleanup. Remove another ton of unused code. Fix error message which is not an error.

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

github.com/Warzone2100/warzone2100 - 33e7c70cc429d1f2ef3451ffac22db80f3709c92 authored over 17 years ago
Add new debug category: gui

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

github.com/Warzone2100/warzone2100 - 0266477bd9e817fad224757d1128e5961128f6e0 authored over 17 years ago
Hit/miss code:

- make attacker experience boost and target experience penalty modifiers even by making them per...

github.com/Warzone2100/warzone2100 - a3712c2361618727bae172823a5f01b6d6560b9c authored over 17 years ago
Hopefully fix a valgrind warning

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

github.com/Warzone2100/warzone2100 - 8a7d09141c1a781db477a8e12b4514dc0f1be0f3 authored over 17 years ago
Rewrote hit/miss chance calculation to use a single variable for all modifiers:

- removed duplicate code
- added some defines instead of 'magic' numbers

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

github.com/Warzone2100/warzone2100 - 496d2b18518b518b34f3022f414932d903e51750 authored over 17 years ago
* Don't use snprintf to merge several strings which are defined on compile time already; instead use the preprocessor's capability to merge sequential strings into one

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

github.com/Warzone2100/warzone2100 - 3db779cf10045579f03b303cf9f93976af61f933 authored over 17 years ago
* rename pie_DrawText and pie_DrawFromattedText to iV_DrawText and iV_DrawFormattedText respectively for consistency's sake (iV_DrawText already existed as a #define "alias")

* replace all usages of iV_DrawText270(...) with iV_DrawTextRotated(..., 270.f) and get rid of M...

github.com/Warzone2100/warzone2100 - 33354163a9e93c7c9c6ede845e9dd4db3a14fe8e authored over 17 years ago
Fixed some template names again.

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

github.com/Warzone2100/warzone2100 - 5c5e82301abdf7796072f6530d0eccbeb13c0909 authored over 17 years ago
* fix error in raw makefiles; we want the data/locale directory in the warzone.wz file; not mp.wz

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

github.com/Warzone2100/warzone2100 - 0f75801eac852ecd3aa7466916af10ea2f11b420 authored over 17 years ago
* remove functions pie_DrawImage270, pie_DrawText270 and pie_TextRender270; which where a whole chain of functions that where just duplicates of the same functions without 270 in their name

* add function iV_DrawTextRotated which uses glTranslatef and glRotatef to change (i.e. rotate) ...

github.com/Warzone2100/warzone2100 - 4966b22bf57ea22fa570f2d106d53a7eca49e766 authored over 17 years ago
* Fix a compiler warning caused by non-matching const-ness of a (non-pointer) parameter in function iV_GetCharWidth's declaration and implementation

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

github.com/Warzone2100/warzone2100 - bf5eaace0ac872d38ff4fe3bfa40e2a6fa984134 authored over 17 years ago
Change default screen shake setting to off.

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

github.com/Warzone2100/warzone2100 - eccb5d5c723c219ad3b6e1970ec9e504a29801b4 authored over 17 years ago
Fix stack corruption on MSVC, which does not support the %hhx sscanf conversion.

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

github.com/Warzone2100/warzone2100 - 65afd36ade9f450eb4c629551f36ac76fc528a94 authored over 17 years ago
New cheat code: "research all". This gives you all techs researched. Unlike "give all", the

techs are not just available for research, they are researched and their effects apply in full.

...

github.com/Warzone2100/warzone2100 - e5d3863ba6573ab7a935cb32e9e273fd6a6a765e authored over 17 years ago
Fix bug #9644, slow response from building queues. Patch by Watermelon:

Makes doubleclick state a condition for mousePressed, so that widget
can recognize the 'down' st...

github.com/Warzone2100/warzone2100 - 8879d5151ed45c441ce94c2a231b03e1722f0c18 authored over 17 years ago
Actually load the radar colours. Based on patch by Watermelon. Also check

that we have sufficient data in buffer to read next colour first.

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

github.com/Warzone2100/warzone2100 - 73e6fec7967b3bbbf3adf1e6f451ff57aec710d8 authored over 17 years ago
Fix bug that made enemy units invisible, introduced in r2320.

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

github.com/Warzone2100/warzone2100 - bc3f5a90732ea143a00ff47ffaca9f9ecee37206 authored over 17 years ago
Cleanup

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

github.com/Warzone2100/warzone2100 - 5df7ebd284ac49b49d5c0cadb2faf91f4e88e000 authored over 17 years ago
Add a slight droid experience bonus to evade enemy fire.

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

github.com/Warzone2100/warzone2100 - 9fa3c86776f002975b6a4040fde187aa4256729c authored over 17 years ago
Cleanup of visibility code. Added new debug category: "sensor".

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

github.com/Warzone2100/warzone2100 - 3834067f15860b36226db2e6c92d2e9ef489662e authored over 17 years ago
* Fix a bug which could cause a buffer overflow in kf_SendTextMessage() if one would type too long chat-messages

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

github.com/Warzone2100/warzone2100 - 3e14c0fb3d889fbc4afba44a32d04d8ecd32a7fd authored over 17 years ago
* Remove unnecessary sub-scope

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

github.com/Warzone2100/warzone2100 - b96bfb801fe2eddf3729ae5c094d7011668b48df authored over 17 years ago
* Add -std=gnu99 to the compiler options

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

github.com/Warzone2100/warzone2100 - 566ed75daf04842a885e6fc7b057b6e1e14e3d74 authored over 17 years ago
Add transparency to water tiles. This closes bug report #9657.

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

github.com/Warzone2100/warzone2100 - e6629b123cf4486a9b9e4220d8afc53d47ea9d7d authored over 17 years ago
* move some variables into a more local scope (bool GotSpace, NewLine)

* add some comments
* actually parse newline characters (ASCII_NEWLINE to be precise which is d...

github.com/Warzone2100/warzone2100 - 9ad346be5cc6bcc202fa72f133c5760dfa73e112 authored over 17 years ago
* remove unused flag FTEXTF_SKIP_LEADING_SPACES and all code related to it

* remove "BOOL AddLeadingSpaces" and all code relying on it to be true, since it never would be ...

github.com/Warzone2100/warzone2100 - 9814c2eec7bbba12dd26c922380ebbb79ee3873f authored over 17 years ago
* Fix an infinite loop in the text drawing code

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

github.com/Warzone2100/warzone2100 - 0733a68c76fea5a26f11210ae711cda675c76c6d authored over 17 years ago
* use static linkage for some global vars and some utility functions

* remove character wrapping code from pie_DrawText (word wrapping code already exists in the onl...

github.com/Warzone2100/warzone2100 - f147f9563946066cf1120a22cf56b5a406129f77 authored over 17 years ago
run `astyle --suffix=none --indent=tab --brackets=break --indent-switches --pad=oper --unpad=paren --min-conditional-indent=0 --mode=c lib/ivis_opengl/textdraw.c`

This is because I got fed up by mixed indentation style (even on the same line!!), and some dozen...

github.com/Warzone2100/warzone2100 - bc2d70ea16edbb6efc62802af2d8f7eaa2fdfacc authored over 17 years ago
* remove #ifdef TESTBED code since TESTBED is never defined (not defined by commented out code either)

* fix error in code cutting off trailing spaces where we would cut of everything until a space i...

github.com/Warzone2100/warzone2100 - 6ac475282e85cad0e74f1cabb50b0d1c1d6eb831 authored over 17 years ago
* remove "left justify append" ability from text drawing code (since it isn't justified; erm used)

* put curly braces on a line of their own
* general clean up (e.g. moving some variables in a m...

github.com/Warzone2100/warzone2100 - 473e03869154899a78b5c4d27626f0df6fd46c27 authored over 17 years ago
* remove (unused) pie_DrawText callback functionality (the callback had the responsibility of actually drawing the text)

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

github.com/Warzone2100/warzone2100 - 4e3293784ab30191c8d829f4147c91a86379847e authored over 17 years ago
Fix wrong texture pages selected for various models. Closes bug #9629.

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

github.com/Warzone2100/warzone2100 - 0226604dbcef04c4d207a0d476e6adf8b40efb8e authored over 17 years ago
Some misc cleanup

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

github.com/Warzone2100/warzone2100 - 4b45e8e2e13f7df0939221c1b94575138674df3e authored over 17 years ago
Fix broken cam 2 and 3 texture references.

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

github.com/Warzone2100/warzone2100 - 7bd7f71d8b71db737f4c338fab5e571baf103af6 authored over 17 years ago
Use GL_NEAREST_MIPMAP_LINEAR for mipmap filter to reduce texture seam artifacts.

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

github.com/Warzone2100/warzone2100 - bb99887986e5622d27f4e660b7cbd9b0bc89c713 authored over 17 years ago
* Set bugtraq:url and bugtraq:regex properties on directories

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

github.com/Warzone2100/warzone2100 - c152dbedbdd3064d320fc9eebd71c6d84410522e authored over 17 years ago
* Set svn:mime-type to image/png for all PNG files

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

github.com/Warzone2100/warzone2100 - d026f5d80352e02384df9e62df034e21671a2fa7 authored over 17 years ago
Add shadows on/off GUI option in graphics options menu.

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

github.com/Warzone2100/warzone2100 - d90e50c0b1e8a0e441531875c526aa1e865964a5 authored over 17 years ago
Rewritten texture loader. The textures are reimported from the original PCX files,

since they old ones we had had scaling artifacts on the edges, and they have been
split up into o...

github.com/Warzone2100/warzone2100 - f999c48d4680abd381fea37d84976a068b159b87 authored over 17 years ago
* remove forward declaration of undefined and unused function iV_GetTextExtents

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

github.com/Warzone2100/warzone2100 - fd74d682e51364aee3a8f58f61e1d8c5a411d232 authored over 17 years ago
New cheat code: "tileinfo". Gives you information about the tile under the cursor.

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

github.com/Warzone2100/warzone2100 - 6ee32dba614000795e53b48ca009288d12b29df4 authored over 17 years ago
* Fix warning about suggested parentheses

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

github.com/Warzone2100/warzone2100 - 0832e1f5eba6b564b0c975572fbc66c871453e6e authored over 17 years ago
* Just use uint32_t to store UTF-32 (or UCS-4) characters in rather than uint_fast32_t which probably falls into the category premature optimization

* Fix macro ASSERT_START_OCTET (I used a logical and there instead of logical or)

git-svn-id: s...

github.com/Warzone2100/warzone2100 - e9d89489394ae78e1d598ff924fa25ffcdb75ff7 authored over 17 years ago
Get radar colours from radar text files instead of samples of the terrain tiles.

The radar files use HTML-like hex values for colours (ie FFFFFF is clear white).

git-svn-id: sv...

github.com/Warzone2100/warzone2100 - af3631c5f92e7451dd7ce4bca745edac8b5c073b authored over 17 years ago
Improve logging for tracking down resource loading bugs.

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

github.com/Warzone2100/warzone2100 - 179f89cbad27da8a7b3527e084750b635f594e81 authored over 17 years ago
* Assert that the starting octect of a UTF-8 codepoint sequence is correct

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

github.com/Warzone2100/warzone2100 - 17ac519765b7d3cc30c9ae3e980b2fc73fa9f73b authored over 17 years ago
Revert commit r2258 which made texture coordinates into floating point. It

caused bug #9631, wrong team colours displayed.

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

github.com/Warzone2100/warzone2100 - ce56538fba225ea35f8100c4a0bd6373d1d27b0d authored over 17 years ago
* make pie_DrawFormattedText const correct ("char*" -> "const char*")

* Don't use a hundred and two different methods of determining the end of nul terminated string
...

github.com/Warzone2100/warzone2100 - 9b31055f086446be21fbc685d1985b6c74db7e01 authored over 17 years ago
* Fix undeclared identifier

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

github.com/Warzone2100/warzone2100 - 1b2ee6ae43ddb9db5309a33d98ec0ddc6390dd34 authored over 17 years ago
* Mismatched declaration and definition

* function was declared unsigned int, but defined as int; now it's unsigned int in both

git-svn...

github.com/Warzone2100/warzone2100 - 518fd90693c50d9a1c85baf0726bf6c9bda65553 authored over 17 years ago
Added lib/framework/utf8.[ch] to Xcode project

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

github.com/Warzone2100/warzone2100 - 44dd9e4dc9ef093d0cb59882c74721deedb99e0a authored over 17 years ago
* Clean out iV_GetCharWidth to make it more readable (it also returns an unsigned int rather than a signed one now)

* Define iV_GetTextWidth in terms of iV_GetCharWidth now (rather than copy&paste implementations...

github.com/Warzone2100/warzone2100 - 3cbe1ed25ae001d313a94e1a5d7a03783f4997dc authored over 17 years ago
* Forgot to return the determined length value of unicode_strlen: doh!

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

github.com/Warzone2100/warzone2100 - ed18068ec8bc0e6ca6ba4c7383ff1780284aad95 authored over 17 years ago
* Add function "size_t unicode_strlen(const utf_32_char* unicode_string)" which determines the amount of characters in a UTF-32 encoded string

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

github.com/Warzone2100/warzone2100 - 7c73b0a9e1687033382499267013e1e0059dc6cf authored over 17 years ago
* Use a typedef utf_32_char in the UTF-8 code to store UTF-32 characters in

* This way it should be easy to change the type of utf_32_char if ever needed (currently it is ...

github.com/Warzone2100/warzone2100 - f78bb18a5bd4ae8974e8a5936b8efcf9173a3da9 authored over 17 years ago
* Provide implementation of function "uint_fast32_t* utf8_decode(const char* utf8_string)" which decodes a UTF-8 encoded string into a UTF-32 (native endianess) encoded Unicode string (UTF-32 is the "native" unicode encoding)

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

github.com/Warzone2100/warzone2100 - 100309f54751c8de44035d3fec2b142d6550368d authored over 17 years ago
* Provide implementation of function "size_t utf8_character_count(const char* utf8_string)" which counts the amount of characters (not bytes/octects!) in a UTF-8 encoded string

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

github.com/Warzone2100/warzone2100 - 8bbe10a748840e09b9807df184686e92c7c9c3ec authored over 17 years ago
* Add UTF-8 encoder (the decoder is a WIP)

* Add files lib/framework/utf8.[ch] to autoconf/automake, raw makefiles, Code::Blocks and MSVC
...

github.com/Warzone2100/warzone2100 - 38a82a2ada51f7e1613005511e34bf68c2310310 authored over 17 years ago