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

Load the object matrices by loading them and not by loading the identity and multiplying.

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

github.com/Warzone2100/warzone2100 - b29fad2da0edf9d7c207a2b0176a2a0018fb83c9 authored over 17 years ago by Dennis Schridde <[email protected]>
Move the calculation of the relative light position for shadows out of the ShadowDrawLoop, into Draw3DShape, so we don't need to calculate it twice for the front- and the backface.

Patch inspired by Watermelon.

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

github.com/Warzone2100/warzone2100 - 3c2afc391e34435f28b83bdae5999506cb7639cf authored over 17 years ago by Dennis Schridde <[email protected]>
The Vector3 functions where not really const, since they operated on pointers.

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

github.com/Warzone2100/warzone2100 - 2313b8d53efd79d4f4659c1e7cd1d69e74cc3e2b authored over 17 years ago by Dennis Schridde <[email protected]>
This should fix crashing projectiles as reported in http://wz2100.net/forum/index.php?topic=666.0

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

github.com/Warzone2100/warzone2100 - 4d96fb962de0527375a1b6479c891ae4b771faf8 authored over 17 years ago by Dennis Schridde <[email protected]>
It's probably safer with these types... (Because of the previous commits)

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

github.com/Warzone2100/warzone2100 - f29d7647f69b54d7c2eb11ce48fffed6da2ca51d authored over 17 years ago by Dennis Schridde <[email protected]>
More inlining and const

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

github.com/Warzone2100/warzone2100 - 9d4a007121e59342e1cf89e94fff37e33cdf97fa authored over 17 years ago by Dennis Schridde <[email protected]>
const const const

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

github.com/Warzone2100/warzone2100 - 52486bee8b3b2b0422098cd453d3c53038860023 authored over 17 years ago by Dennis Schridde <[email protected]>
Backport r1699 from branches/2.0 to trunk:

* Set fullscreen to be the default if no setting is found in the config file (to avoid confusion...

github.com/Warzone2100/warzone2100 - fe78e7670a17bb65c9df223ce216f0ab80156a3f authored over 17 years ago by Giel van Schijndel <[email protected]>
* Use a forward declaration of `struct OggVorbisDecoderState` instead of a dual typedef (one typedef as void for external functions, one as the struct for the implementation file), only to allow us to take pointers to it

* Drop now unnecessary extern "C" declaration, since C++'s function overloading shouldn't cause ...

github.com/Warzone2100/warzone2100 - de4b91e2c3b4aff33a627430ca843cdb960e43bf authored over 17 years ago by Giel van Schijndel <[email protected]>
* Fix usage of `new` which is both a) a keyword in C++, and b) an undescriptive variable name

* Make sure function overloading by a C++ compiler doesn't cause linker errors by declaring affe...

github.com/Warzone2100/warzone2100 - 12078733b83ccbf5e43a1bb62b49c589bb48fec7 authored over 17 years ago by Giel van Schijndel <[email protected]>
NO_SOUND was undefined...

Might want to consider backporting this fix to 2.0 as I think there were some people complaining ...

github.com/Warzone2100/warzone2100 - 4c2128a0e68c0b6666fe5cdd5ef2fe3faa727f93 authored over 17 years ago by Dennis Schridde <[email protected]>
* Ignore scripts trying to use sound-stuff when sound is disabled

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

github.com/Warzone2100/warzone2100 - 856de7948e0f2434359898885faedd507eff5f27 authored over 17 years ago by Giel van Schijndel <[email protected]>
Cleanup:

* Remove some forward declarations of deprecated, unused and undefined functions
* Remove some ...

github.com/Warzone2100/warzone2100 - 856830a0e4af98b82ca91e77dfb07bcd998aa4ce authored over 17 years ago by Giel van Schijndel <[email protected]>
Updated Xcode project for recently deleted file

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

github.com/Warzone2100/warzone2100 - 7e3016e63f45ab4a9ffe9ba170e2395f73b6034e authored over 17 years ago by Ari Johnson <[email protected]>
* Remove netusers_stub.c. Its only contained function was NETuseNetwork, which granted direct write access to global var NetPlay.bComms. This was camouflaged as a nice function call, so instead we now use it directly as it is: accessing/modifying a global variable.

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

github.com/Warzone2100/warzone2100 - b22dbc7fe543300c5b059f2f3e5e715f33de41af authored over 17 years ago by Giel van Schijndel <[email protected]>
Code cleanup. There should be no behaviour changes.

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

github.com/Warzone2100/warzone2100 - ae736962de993252782d65e92dfc93e0a20b3029 authored over 17 years ago by Per Inge Mathisen <[email protected]>
* Add code to support the C99 bool type (fallback for non-C99 compatible compilers provided!)

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

github.com/Warzone2100/warzone2100 - b3a43af4d3cf28797d266719f69e7ac4aa948335 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Also add debug symbols to non-debug builds so that our .gdmp files won't be entirely useless (people who don't want these symbols can always strip their binary)

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

github.com/Warzone2100/warzone2100 - f315843682d1562494b1f2cb6b7c87f6a2c0cc33 authored over 17 years ago by Giel van Schijndel <[email protected]>
Effects code cleanup

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

github.com/Warzone2100/warzone2100 - 241e1b02c3316bb897ae8329a8d66738b2cc60b6 authored over 17 years ago by Per Inge Mathisen <[email protected]>
Remove lots of duplicated code in effects.

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

github.com/Warzone2100/warzone2100 - 669135f47208cd458e1f1600493425fe8837235c authored over 17 years ago by Per Inge Mathisen <[email protected]>
New map macro map_round() rounds map coordinates down to tile boundaries.

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

github.com/Warzone2100/warzone2100 - c0abb47655d9ac962a1cc1a6ac1eb5c293ad59f0 authored over 17 years ago by Per Inge Mathisen <[email protected]>
Make MSVC happier

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

github.com/Warzone2100/warzone2100 - c0e9fa32117ba046e21295ad156c51140b77295d authored over 17 years ago by Dennis Schridde <[email protected]>
Make MSVC happy

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

github.com/Warzone2100/warzone2100 - 057f140b6c35b1c51c48888c66deb42dd8c66017 authored over 17 years ago by Dennis Schridde <[email protected]>
This should enable floating point precision in IMD (.pie) files.

It should even render them as floats. I wasn't able to see a difference after modifying some PIE ...

github.com/Warzone2100/warzone2100 - 1014259054a69f757384656478d083535986e0f2 authored over 17 years ago by Dennis Schridde <[email protected]>
Cleanup. Note the FIXME!

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

github.com/Warzone2100/warzone2100 - 7544470e35ff0e7d7723f967c1252a8c10cf50f8 authored over 17 years ago by Dennis Schridde <[email protected]>
More cleanup

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

github.com/Warzone2100/warzone2100 - 49f8259226b404e7fee1cf0f78abdeaa6befada7 authored over 17 years ago by Dennis Schridde <[email protected]>
Forgotten cleanup

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

github.com/Warzone2100/warzone2100 - 504126bda9a2df74a0ff754013cc1c6307062bc4 authored over 17 years ago by Dennis Schridde <[email protected]>
Cleanup IMD loader.

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

github.com/Warzone2100/warzone2100 - b8f038d37a3d63812c3c1f5f3620679aee2f3234 authored over 17 years ago by Dennis Schridde <[email protected]>
DOn't unnecessarily recurse into .svn folders.

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

github.com/Warzone2100/warzone2100 - 5653727379b72dd9a58f11fcc996dd9135b80920 authored over 17 years ago by Dennis Schridde <[email protected]>
Updated to doxygen 1.5.2

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

github.com/Warzone2100/warzone2100 - d4c81521b8b65908def9a7da7a6a15b42cf825ab authored over 17 years ago by Dennis Schridde <[email protected]>
- -Sint32 pie_RotateProject(SDWORD x, SDWORD y, SDWORD z, SDWORD* xs, SDWORD* ys)

+Sint32 pie_RotateProject(Vector3i *v3d, Vector2i *v2d)
This removes the necessity of the wra...

github.com/Warzone2100/warzone2100 - 041e086d53033ac0c7d673980767445e3bdf966e authored over 17 years ago by Dennis Schridde <[email protected]>
* Move iteration interface out of class GameLobby into a new member class: GameLobby::iterator_interface

Previous implementation could hit a deadlock since every single const_iterator class attempted t...

github.com/Warzone2100/warzone2100 - a62d8fce624e2a3648a966f66b6b6f939b63ad1c authored over 17 years ago by Giel van Schijndel <[email protected]>
use (u)intX_t types for structs send accross the network (for the size guarantees)

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

github.com/Warzone2100/warzone2100 - 6e5038d237df5f78f20f9a4d0eb2f2998e261865 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Use C99 types for the *WORD typedefs instead of SDL's own types

NOTE: MSVC users don't get scared since SDL defines the C99 types for MSVC

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

github.com/Warzone2100/warzone2100 - 0a25bfacb783dbc4f029ac04db861238f88ad0c1 authored over 17 years ago by Giel van Schijndel <[email protected]>
Fix crash introduced in commit r1661 in function pie_RotateTranslate3iv,

where the y and z parameters were not switched, as they should be.

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

github.com/Warzone2100/warzone2100 - c511ab63b648452008542367523837ff9745d095 authored over 17 years ago by Per Inge Mathisen <[email protected]>
A run of `astyle --suffix=none --brackets=break --indent-switches --pad=oper --unpad=paren --min-conditional-indent=0 --mode=c --indent-classes --indent-namespaces` on the lobbyserver's codebase with "Artistic Style <http://astyle.sourceforge.net/>".

It seems that "Artistic Style":
* somehow treats "lock" as a keyword, since it puts spaces behi...

github.com/Warzone2100/warzone2100 - f4abaf4efc178845ac8209fb1d3ba757cfe6e9fc authored over 17 years ago by Giel van Schijndel <[email protected]>
* remove debug macro TEST_EW (EW as in something dirty perhaps?)

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

github.com/Warzone2100/warzone2100 - 38b4c74abc2a7553aca37d75b37115d930f7f4aa authored over 17 years ago by Giel van Schijndel <[email protected]>
Turn some sqrt() into sqrtf() where double precision is not needed.

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

github.com/Warzone2100/warzone2100 - 01fea434fb8ebaf0cb60d3b37fb0a538802bc3c5 authored over 17 years ago by Dennis Schridde <[email protected]>
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1666 4a71c877-e1ca-e34f-864e-861f7616d084

github.com/Warzone2100/warzone2100 - df6397293d4e1aa49f485c62eb2bfc7763dde744 authored over 17 years ago by Dennis Schridde <[email protected]>
Add a STATIC_ASSERT which also works in global scope.

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

github.com/Warzone2100/warzone2100 - 23e39b56dcae55d13673abb57f263a82a2d40549 authored over 17 years ago by Dennis Schridde <[email protected]>
Remove all mention of non-existent type iVector

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

github.com/Warzone2100/warzone2100 - b620f3f25f13a48121bad1dc19ca5075d6f2c8ee authored over 17 years ago by Per Inge Mathisen <[email protected]>
2 small fixes in function declarations : () -> (void)

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

github.com/Warzone2100/warzone2100 - d30dcb15200a6e5d50da4b8c183a44614a67d017 authored over 17 years ago by Stefan Huehner <[email protected]>
Remove unused comments.

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

github.com/Warzone2100/warzone2100 - 6a29f00101866835a0ac3d33d21e25ef37bde6d6 authored over 17 years ago by Dennis Schridde <[email protected]>
- Remove unused code

- Remove duplicated code/macros
- VECTOR3D->Vector3i
- Create float variants of normal functions ...

github.com/Warzone2100/warzone2100 - 009b61447c6834d6715c961da6a290d0c2c5b923 authored over 17 years ago by Dennis Schridde <[email protected]>
Splint found mistakes.

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

github.com/Warzone2100/warzone2100 - 6226dfe37c540af9c42548c173043fcaf3bf95e7 authored over 17 years ago by Dennis Schridde <[email protected]>
geometry.c : Simplification

main.c : mainLoop() should now behave exactly like before the cleanup

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

github.com/Warzone2100/warzone2100 - d1ce4ba663a3685774286a6ede2da41c693ff618 authored over 17 years ago by Dennis Schridde <[email protected]>
FRACT->float,[if]SQRT->sqrtf

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

github.com/Warzone2100/warzone2100 - d1d55cc9770bedcba9dce34c55715b9a1ce2eaa1 authored over 17 years ago by Dennis Schridde <[email protected]>
main.c : Unused variables

gamelib/ : FRACT->float and simplifications
frame.c : Indent

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

github.com/Warzone2100/warzone2100 - 7812d1635a8f25ec4ad14f1fb400be9b89143e63 authored over 17 years ago by Dennis Schridde <[email protected]>
GCC 4.2 compile fix (NULL is a pointer and thus shall not be "cast from pointer to integer of different size")

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

github.com/Warzone2100/warzone2100 - 892287d4f4de9fbf7bf03d519d2f8acaf374e8b4 authored over 17 years ago by Dennis Schridde <[email protected]>
Weed out some deadwood from the multiplayer code, and fix a warning.

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

github.com/Warzone2100/warzone2100 - fc3d29124d134ff0f7f3bda8b8f44e6906f5524e authored over 17 years ago by Per Inge Mathisen <[email protected]>
* Set bugtraq properties on all directories in trunk which didn't have it yet

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

github.com/Warzone2100/warzone2100 - 0e3ea50f0876b3f47172812ee8e710d67d403ba2 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Use htonl and ntohl for conversion to and from network-byte order

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

github.com/Warzone2100/warzone2100 - 685af73e85868e5a275ba2ca14ad5347e3baa54e authored over 17 years ago by Giel van Schijndel <[email protected]>
* Split out lobby code

* GameLobby::gameLock now has a separate file
* GameLobby::const_iterator now also has a sepa...

github.com/Warzone2100/warzone2100 - 2a396b563a02e82d6e30bb71162909e8fc6b7056 authored over 17 years ago by Giel van Schijndel <[email protected]>
Less PImpl, More Impl

* Add new class lobbyprotocol::requestHandler which deals with protocol specific tasks
* Move a...

github.com/Warzone2100/warzone2100 - 9773356a67d01f1dadc38f05483b66fcc0c8f3cd authored over 17 years ago by Giel van Schijndel <[email protected]>
* Cleanup of directory structure

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

github.com/Warzone2100/warzone2100 - 87d8648c8b0b12cdf72efb4ea83dfb367d969c85 authored over 17 years ago by Giel van Schijndel <[email protected]>
* move function printGame to new file game.cpp

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

github.com/Warzone2100/warzone2100 - 94044a0e9ce062cd1c0cbdb1a2e49269d01bbde3 authored over 17 years ago by Giel van Schijndel <[email protected]>
* set host IP on incoming game

* Modify class TCPServer to take a boost::asio::ip::tcp::endpoint for member-function listen ins...

github.com/Warzone2100/warzone2100 - 8f66b5246b9329e932c20d45238810a9f8a74a0e authored over 17 years ago by Giel van Schijndel <[email protected]>
* Add a lobby class

* handles incoming connections from TCPServer (functions properly now)
* uses an std::list to ...

github.com/Warzone2100/warzone2100 - d85d3178429427ad07d2bb998929a55b5828e14b authored over 17 years ago by Giel van Schijndel <[email protected]>
* Add utility class: ReadWriteMutex;

This class allows multiple readers to obtain a lock at the same time. Until a writer attempts to...

github.com/Warzone2100/warzone2100 - 831dbe0c1dfc00a445f16621ae227ec6033ba7d7 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Handle the "list" command in a proper way by answering with a dummy game

* Add asynchronous TCP server class: TCPServer
* Add comparison operators for SESSIONDESC and G...

github.com/Warzone2100/warzone2100 - aaac0278f57f526d487b12ab1cc51e41af2230a4 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Use EOF as connection and as such game termination

* move inclusion of definition of GAMESTRUCT to new header file game.hpp
* Allow game.hpp incl...

github.com/Warzone2100/warzone2100 - 7a0457e6e05fa26d32431a4fe73aaf9dfa8e7bb6 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Add a "pretty"-printing function for printing games to a terminal (through std::cout)

* switch to using IPv4 instead of IPv6 (for testing)
* Use correct buffersize for retrieval of ...

github.com/Warzone2100/warzone2100 - 771d1efa9e814d1d5e8e2183efdc994ac4b2e71e authored over 17 years ago by Giel van Schijndel <[email protected]>
WZ_OS_MAC now no longer unsets WZ_OS_UNIX due to compatability update in

r1638. Exception handler still removed if WZ_OS_MAC is set.

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

github.com/Warzone2100/warzone2100 - e0872c90afbdf2e7b404760bbd8f1e93a7152e50 authored over 17 years ago by Ari Johnson <[email protected]>
* Add _premature_ C++ testing lobby server

(one of my first, and probably ugly, versions, going to commit incrementally till the last)

git...

github.com/Warzone2100/warzone2100 - a2f477edcfdf3ab41c2117432f3b03ee6c16ff7f authored over 17 years ago by Giel van Schijndel <[email protected]>
Use POSIX definitions for WZ_OS_UNIX.

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

github.com/Warzone2100/warzone2100 - 290635ede800fbe89daf0efd46b091cf69c71295 authored over 17 years ago by Dennis Schridde <[email protected]>
Added note about the Mac OS X 'Debug' build

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

github.com/Warzone2100/warzone2100 - 7023d75bb7179ae0b4ecf2bd122a9144aca0fd4c authored over 17 years ago by Ari Johnson <[email protected]>
* move function addIGTextButton from frontend.c to ingameop.c (since we don't care about what the playstation compiler does with our code!)

Thanks to Kim <lav-coyote> for noting the comment about the playstation compiler reason

git-svn...

github.com/Warzone2100/warzone2100 - a176a655fa002f70b4a2b96af4c84913f9514ade authored over 17 years ago by Giel van Schijndel <[email protected]>
Mac OS X related improvements:

- WZ_OS_MAC && DEBUG implies --debug all so that Console.app can be used
to view debugging ou...

github.com/Warzone2100/warzone2100 - 1ed4ff54e86790619a7768f0d433eee2a0d8b879 authored over 17 years ago by Ari Johnson <[email protected]>
Updated Xcode project file to reflect deleted netaudio_stub.c file

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

github.com/Warzone2100/warzone2100 - f96b29201c187362546f33d6e1bd8358a83284c6 authored over 17 years ago by Ari Johnson <[email protected]>
Tiny note about endian_xxword -> SDL_SwapXXXX

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

github.com/Warzone2100/warzone2100 - 26c42e1698e5efb2324f966823c230001dd7f516 authored over 17 years ago by Dennis Schridde <[email protected]>
* Update MSVC project file

Patch by vs2k5

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

github.com/Warzone2100/warzone2100 - d3374c5d99f33331c0e92c0ec0146e5545176279 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Fix wrong interpretation of number of games (only the first byte of the 32bit long unsigned integer was used)

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

github.com/Warzone2100/warzone2100 - 48f37b22d987ca4d9fa9c9a9403262cfc444214f authored over 17 years ago by Giel van Schijndel <[email protected]>
* Use network byte-order (big-endian) for size of game list as response to "list" command

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

github.com/Warzone2100/warzone2100 - 0a590a79afca25eed8d51792dd059701fa0dc5a3 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Make our lobby protocol code endian safe (response of a "list" command now always is preceded by a 32bit long, unsigned, little endian integer)

* Remove parameter `BOOL async` of NETfindGame since it wasn't used

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

github.com/Warzone2100/warzone2100 - 7b025ea3e16e35fe053f26b4019c48eb5202f035 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Update POTFILES.in to deal with removal of netaudio_stub.c (r1625)

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

github.com/Warzone2100/warzone2100 - 1697d6a9e8477787aeddd14fbe745c7227579c13 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Remove unused spectator functions: NETspectate and NETisSpectator

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

github.com/Warzone2100/warzone2100 - 70c07901aeb97b0eb61417c828feba4ea197473d authored over 17 years ago by Giel van Schijndel <[email protected]>
* remove lib/netplay/netaudio_stub.c (only had empty functions)

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

github.com/Warzone2100/warzone2100 - a2d13bc53c7767f75e03a13781211d9865718fd3 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Remove unused function NEThashFile

(This function was only used to generate a hash from the compiled Warzone executable, this hash w...

github.com/Warzone2100/warzone2100 - 1689bd9dc96dead693526696a6be05ab12825f4b authored over 17 years ago by Giel van Schijndel <[email protected]>
- Comment,s comments, comments

- Move wzFPSmanager over to main.c, so the delay can be dealt with directly in the mainloop inste...

github.com/Warzone2100/warzone2100 - 10128153aa94d795daeab0d68109095e0bc5e363 authored over 17 years ago by Dennis Schridde <[email protected]>
- More cleanup

- Split the mainloop into several (run) subfunctions
- start/stop functions for (de)initializatio...

github.com/Warzone2100/warzone2100 - f5439cfa16049287e4b20042a90a2f842622fa72 authored over 17 years ago by Dennis Schridde <[email protected]>
More cleanup

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

github.com/Warzone2100/warzone2100 - 50ea035570d5060c0906df44d9303bc4f8b297d8 authored over 17 years ago by Dennis Schridde <[email protected]>
Revert r1619, because it broke campaign

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

github.com/Warzone2100/warzone2100 - 1b66305fd348a1318ae4f1b2a63edc829d366284 authored over 17 years ago by Dennis Schridde <[email protected]>
Event based mainloop. WARNING: Is not yet fully finished and may have some flaws. Comments are appreciated.

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

github.com/Warzone2100/warzone2100 - 22a7dd9dcef61457e038f48c70d8cd62fc01dd44 authored over 17 years ago by Dennis Schridde <[email protected]>
Remove unused function.

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

github.com/Warzone2100/warzone2100 - 03e7785ada0fc7f495ecd662c89d32c241110df5 authored over 17 years ago by Dennis Schridde <[email protected]>
Type safety.

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

github.com/Warzone2100/warzone2100 - 956ec975da853b8f5360aa4a29421f4f6948257c authored over 17 years ago by Dennis Schridde <[email protected]>
- Fix gameloop exit, broken in r1615

- Split input event handling

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

github.com/Warzone2100/warzone2100 - 7c7911c92f93490635f9d752db53a99b333b62a5 authored over 17 years ago by Dennis Schridde <[email protected]>
Cleanup, no change in behaviour.

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

github.com/Warzone2100/warzone2100 - 165ed5ccda159d86613467482b0d1f5dad7f5745 authored over 17 years ago by Dennis Schridde <[email protected]>
* replace macros WORLD_COORD and MAP_COORD with inlines world_coord and map_coord respectively (compiler checked, so adds type safety)

* Add some debug messages for the cases where map_Height receives negative SDWORDs passed as if ...

github.com/Warzone2100/warzone2100 - dd03ace4761b23dd7b1ad7128d2c217e1874115f authored over 17 years ago by Giel van Schijndel <[email protected]>
* use WORLD_COORD instead of "<< TILE_SHIFT"

* fix coding style (i.e. replaced four spaces for one '\t')

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

github.com/Warzone2100/warzone2100 - d9a360b693495b31ab445b142076828d88be3d9c authored over 17 years ago by Giel van Schijndel <[email protected]>
Found another delay...

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

github.com/Warzone2100/warzone2100 - 006657de3e3bcaea3288601f3caa066afcf7aa1b authored over 17 years ago by Dennis Schridde <[email protected]>
- put back checks for off-map build coordinates

- removed asserts for off-map coords which were making the game completely unplayable (crashes wz...

github.com/Warzone2100/warzone2100 - bd6d26e6c146a27604cb33b079c2c70a57cdb1cf authored over 17 years ago by Roman C <[email protected]>
Tiny translation update

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

github.com/Warzone2100/warzone2100 - ad57a3e0f4cbe02cd466463c698a8f6c52bb7cb8 authored over 17 years ago by Dennis Schridde <[email protected]>
active.state is a bitflag, so this should work even on Windows and still ignore the annoying focus switch on mouse-over.

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

github.com/Warzone2100/warzone2100 - 981d56f328d533451e1a8a34e90873d9c59ee919 authored over 17 years ago by Dennis Schridde <[email protected]>
Per folder filters for MSVC project. Patch by vs2k5.

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

github.com/Warzone2100/warzone2100 - f8bd53fc62f99e7ac23cd5bb836cf35313ff6d03 authored over 17 years ago by Dennis Schridde <[email protected]>
Ignore SDL_APPMOUSEFOCUS on Linux, since it mostly happens accidentialy, while on Windows this is the only possibility to gain focus

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

github.com/Warzone2100/warzone2100 - a07d28235044ecd27595b5e048f696e12ce5ee08 authored over 17 years ago by Dennis Schridde <[email protected]>
- prevent AI scripts from building a truck for human players at startup

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

github.com/Warzone2100/warzone2100 - 2eebd4f42479d4ef37fd3e2e21ad02e23ef27eb9 authored over 17 years ago by Roman C <[email protected]>
* We now also respond properly to loss of focus on Windows

* When receiving an SDL_ACTIVEEVENT also check for SDL_APPMOUSEFOCUS, but don't loose focus beca...

github.com/Warzone2100/warzone2100 - 2e3b51d45a45bc1a206a6598137c33f0f0386aa8 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Call SDL_Delay(1) when out of focus (to explicitly yield our CPU time to prevent hogging the CPU)

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

github.com/Warzone2100/warzone2100 - bc9cc26f3d1e5c958526a6bbce31893840a80642 authored over 17 years ago by Giel van Schijndel <[email protected]>
* Warzone seems to hang when loosing focus (gets stuck into an infinite loop somewhere) on Windows

* Fix this by ignoring focus loss on Windows

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

github.com/Warzone2100/warzone2100 - b8a986228b13ddeaf4d3d8e734cff58b64918d96 authored over 17 years ago by Giel van Schijndel <[email protected]>
Config option: debugmode (aka --cheat)

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

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