Ecosyste.ms: OpenCollective

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

github.com/Warzone2100/archived-3.1-branch

Archived 3.1 branch of warzone2100 repo. Not for development.
https://github.com/Warzone2100/archived-3.1-branch

Make moveGetDirection() actually return a direction, and reduce some code lines.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10082 4a71c877-e1...

8a9c9943054635c4a5b0dfb7d18be8e8788b08f7 authored almost 15 years ago
More unit changes and cleanup, remove now unused arccos and already unused arcsin tables.

No bugs intentionally fixed.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzon...

6c811c1ecb831aea6e2bd5580040aaccc7ec8003 authored almost 15 years ago
Fix droid frustration so that droids do not start the game frustrated. Make sure that scavs

never fire at features, since their own bases are built out of features instead of buildings
they...

6e16f84a1b8224b7173fdc38808e11ad1160c6bb authored almost 15 years ago
Rename patch to be nice to scripts.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10074 4a71c877-e1...

c472531b609afdfde7003efd8e350569572a2a61 authored almost 15 years ago
Add pal_RGBA and pal_Grey functions.

pal_RGBA returns a PIELIGHT from four r, g, b, a values, pal_Grey is an alias
for pal_SetBrightn...

867ff725d24df73db6d833426477d41315d4f9d7 authored almost 15 years ago
Add temporary hack to prevent division on zero errors in interpolation code.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10071 4a71c877-e1...

210f9cc3a3ddbee12456ba838fb734af3987976f authored almost 15 years ago
Fix some unit conversion bugs, and do unit conversion cleanup.

Fixes saving angles outside [0°; 360°].
Fixes droids failing to fire, unless the target angle wa...

04544899268a40ffd43113aebd72ea8d6698f328 authored almost 15 years ago
Do not bother people building warzone on their own if we cannot easily get them gettext binaries.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10070 4a71c877-e1c...

412cfdb983ebc400a0c158ef18037821c226b20c authored almost 15 years ago
Remove some anti-underflow hacks, now that coordinates are signed.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10073 4a71c877-e1c...

0137eeaf5fc761e72f53bc175aa334914d7f5855 authored almost 15 years ago
Changing object rotations to use 16 bit unsigned values instead of the current

mix of signed and floating point types. This allows us to use under and over
flow as features ins...

924b6c5169cf24f7ad2055a181f69f6599617e45 authored almost 15 years ago
Fix the game getting completely messed up if anyone changes position or colour, and then someone leaves.

The problem was due to player positions and colours of a slot getting reset when someone leaves,...

4dc1b2a681eab55c5a63ce937c182e37a5b7309c authored almost 15 years ago
Don't compare an uint8_t to -1.

In NETallowJoining, there was a whole block of unreachable code because of
this. Warning reporte...

ce844cf2d11aca457a581fcd27f88d5ccdaf33aa authored almost 15 years ago
In preparation for newnet branch, turn object positions into int32 values and

introduce the new typedef Position to hold them. Patch reviewed by Cyp_.

git-svn-id: https://wa...

5f7aea25a3bf5e0ff442e0949975dce04c32ed8c authored almost 15 years ago
Only clear buffers on exit if we still have an OpenGL context.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10057 4a71c877-e1c...

4af14d9ec06889c7ed1b960be93d5b92c8bc8c04 authored almost 15 years ago
Stop landing VTOLs even if they are below the map height.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10050 4a71c877-e1...

f50803b0f47c9944bb0bb3ca23d870e6525fac75 authored almost 15 years ago
Do not visualize path of a droid that has no path.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10065 4a71c877-e1c...

78c10eb0e7db47227dc5422f12d4a12c785411ad authored almost 15 years ago
'Active mods' frontend label was repositioned to top-left corner and its internal buffer was enlarged a bit.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10060 4a71c877-e1c...

5f58469f2b087ef9a232d873442b238428571f68 authored almost 15 years ago
Add some better trig lookup table functions, and make updateDroidOrientation use them.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10061 4a71c877-e1c...

80d7cdb4751cb8ca93ff149bd6957fbd258ae1a5 authored almost 15 years ago
Fix some rounding errors in repair facility and research facility.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10063 4a71c877-e1c...

59168acc5cd974c51eb469dc46a8ba21fccc4dd3 authored almost 15 years ago
Fix MSVC 2008 for the GLee changes in r10028.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10053 4a71c877-e1c...

f875b678ac2b48700f96fc7d4da810e0033ed084 authored almost 15 years ago
Don't put random colours in the loading bar.

Make every star have a random grey value instead.

git-svn-id: https://warzone2100.svn.sourcefor...

f762bdf40e7cc6077d900a0c60c2a4ee25f2a92b authored almost 15 years ago
Externalize fetch scripts.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10056 4a71c877-e1c...

80b379fcbf8e9c6791b56c9e94b7385ba4e3098a authored almost 15 years ago
Update to r9629: Use floats constants instead of ubytes to save on the conversion.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10046 4a71c877-e1...

9da488b14c435d2acbab81299da71241104dd379 authored almost 15 years ago
Update to r9472 to match r10022.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10049 4a71c877-e1...

bab5657791cd19f366f2f9e853935cc0fe933148 authored almost 15 years ago
Update libpng to 1.4.1.

Closes #1479

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@1004...

89feaaa192a3fa4acc91f608c6132d94d7abb19c authored almost 15 years ago
Update to r9628: Re-enable face culling after having disabled it for the map preview rather than enabling it each time we draw the 3D scene.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10047 4a71c877-e1...

327b68496530f7b26080a0f7dfe07993961d43f2 authored almost 15 years ago
Online - Template Fix

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10029 4a71c877-e1c...

d5ff07512203cf29669c31004e3ef3576d8a1d27 authored almost 15 years ago
glFlush on exit to reset video mode.

Without this, when running the game fullscreen in a smaller resolution, it
would stay that way o...

20017e380ca15511a2ffaf447ecf01761cc7bfc4 authored almost 15 years ago
Online - Template Fix #2

sry... but thats realy the right one now. :/

git-svn-id: https://warzone2100.svn.sourceforge.net...

5f6fc04c84189361409bc3f06c4c329f4c0dabcf authored almost 15 years ago
When droids are taken over, don't send droid count, since droid count isn't read, making the message unparsable.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10039 4a71c877-e1c...

3dd3cd50519f1cbe5b870f6117ffd49b0c14534b authored almost 15 years ago
Fix makefile.win32 for the GLee changes in r10028.

Thanks to sicanjal for testing.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/war...

3f4eef1b54bdeace973efff29ebdaef276d02b89 authored almost 15 years ago
Use the system's version of GLee, if available.

Require at least 5.4, since that's what we have included. If not detected, we
use the integrated...

714d2d1b6917d4bffd7fd0cafe6b07641bf97d40 authored almost 15 years ago
Get rid of junk SDL patch

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt@9971 4a71c87...

5c66c88533f6963a36597d12fc309f6ca5e3e902 authored almost 15 years ago
Qt branch: add the beginnings for cross compiling Qt4

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/qt@9966 4a71c87...

e58bbb43cba5cc3765c77e92dd90123bce012baf authored almost 15 years ago
Backport r9869 from trunk into the qt branch:

* #undefine NOMINMAX before #defining it
- Prevents warnings about #redefining previously #def...

dab729b7650f21f01f934d6ed9528ce410166214 authored almost 15 years ago
Backport r9975 from trunk into the qt branch:

Win32 cross build scripts: Add http://www.il.fontys.nl/~giel/warzone/devpkg/ as mirror for packa...

9b04bddc51d8fd81774f59c04fc18160fabddbec authored almost 15 years ago
Update the xcode project to work with newnet.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/newnet@10044 4a...

7d396c951c70b2702126be1b18e9f89d8bc47077 authored almost 15 years ago
Merge remote branch 'origin/master' into newnet

Conflicts:
lib/netplay/netplay.c

b5153f4661243a492ec98b796f27e5b74cdf5b68 authored almost 15 years ago
Merge remote branches 'origin/qt' and 'origin/master' into qt

Conflicts:
macosx/Warzone.xcodeproj/project.pbxproj

49ab41d6dfd460f06aef19a84ae846637703f04e authored almost 15 years ago
newnet: Fix crash due to "forgetting" to pass a parameter to a function. Remove some ridiculous duplication of function declarations instead of including the headers.

84275d52b0f6e1f53f365f03be6a55b1e2c95d20 authored almost 15 years ago
Use less complex zip calls or mingw32-make will fail.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10016 4a71c877-e1c...

991b158f65f4adab4b59be739dedba6c7ce68da3 authored almost 15 years ago
Sync NSIS project with 2.3 version.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10021 4a71c877-e1c...

09a38375264b889033ca80ffc3419d9a2dffd0d9 authored almost 15 years ago
Save space on releases by compressing everything we can.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10018 4a71c877-e1c...

7e93e965246b97d4b6d74e40bfbfc00cc253691e authored almost 15 years ago
Experiment with increasing zoom out distance slightly. Report back all feelings of

nausea and discomfort for further study.

git-svn-id: https://warzone2100.svn.sourceforge.net/sv...

f8d50ddbc623eb5a60544e917a13a27e75569722 authored almost 15 years ago
Shave 64 unused bits off each A* node.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10015 4a71c877-e1...

89b90ec8dc80da7afbef143b59465b5925883a53 authored almost 15 years ago
newnet: Fix crash on kicking, due to writing over constant string with itself in read-only memory.

6f223ae8e743b0ac28e0a7e78edb370fe87cfb83 authored almost 15 years ago
newnet: When droids are taken over, don't send droid count, since droid count isn't read, making the message unparsable. Take over droids before waiting for the message (which makes the message redundant, anyway).

70d4c5fc92698240d117e6b95ec4c89588329509 authored almost 15 years ago
newnet: Make AI research synchronised. Games with AIs now seem to stay in synch.

94a555329a15ae9060f8654daa62aa4b9dc9e331 authored almost 15 years ago
newnet: Make DROID_EMBARK and DROID_DISEMBARK synchronised.

Make unloading cyborgs synchronised, but can only unload all at once, not one at a time...

6f4b9f515db8b1da12c27a16c39dcfeba599cf6e authored almost 15 years ago
newnet: Make GAME_LASSAT synchronised.

723cad56ed3ed6405ffdf5917ad457170cc7fb85 authored almost 15 years ago
newnet: Don't helpfully "synchronise" droids when sending/receiving GAME_GROUPORDER.

25b33c0fb326593d9c71a91f873c01f6ab55b1f4 authored almost 15 years ago
newnet: Remove GAME_VTOL, the VTOLs are happy without it.

f4bd5e257a1710cc8c09397fe1e79011572ae2ad authored almost 15 years ago
newnet: Don't helpfully "synchronise" the body points and position when sending/receiving GAME_SECONDARY.

e2067f447077480b1b656e6bbdef00f18f9d64fe authored almost 15 years ago
newnet: Mark GAME_DEMOLISH done, since it had no effect on the game either way. Remove GAME_SECONDARY_ALL, which wasn't useful for anything.

6d1727949fed0e5a7a05ea1b3d9d642f8f5a9697 authored almost 15 years ago
newnet: Don't wait for GAME_DROIDDEST or GAME_STRUCTDEST before destroying, since all players will do it at the same time, anyway.

GAME_DROIDDEST and GAME_STRUCTDEST are a bit redundant, now... (Except for debug mode use...)

e2eff7dfc9d86ce052e27857571ae46ede62d5f5 authored almost 15 years ago
newnet: Triple max droid limit, since the game is self-synchronised now.

f0f5214a27570039c8e406a5d1ccde664ad5c108 authored almost 15 years ago
Warzone 2100 is the full name of the game, so use that for the default display name on the mac.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10011 4a71c877-e1c...

7057faba66c9ef8a99679f6a030bc0fac0245033 authored almost 15 years ago
newnet: Make GAME_TEMPLATEDEST synchronised. Hope nothing explodes.

Wouldn't surprise me, if something exploded, though.

cd7d35b757cbd2ed7658fc427206f23c22ddd48b authored almost 15 years ago
newnet: Fix power desynch on cancelling production. Make GAME_CHECK_POWER send a float, so it can actually recover from a power desynch.

6a2560303247d47bd8c77919dae2c25c30289ce7 authored almost 15 years ago
newnet: Add some debugSync calls, so that if anything goes out of synch, it may be possible to figure out why.

5c0d6f05ab9f2491ae0a8d8036b96be1e67e548d authored almost 15 years ago
newnet: Send CRCs of syncDebug strings, not the strings themselves.

syncDebug should now be useful, even over a slow network.

bfb9250937747394e2ced429c322528476f8d296 authored almost 15 years ago
Committed wrong patch for r9992.

When host drops at that point, just close up shop, and set lobby error.

Thanks to Cyp for notic...

c402fb2f2a1489983d021a3e3010ef4cd0204e9a authored almost 15 years ago
Handle socket clean up, then player cleanup, and then re-init the player who left.

Fixes the issue of seeing leave messages with the default AI color names, instead of the person ...

8ec55a5579ff2292506be329d358737b58742f4a authored almost 15 years ago
newnet: Fix crash on setResearchStats getting NULL pointer.

The code is confusing...

115146146b5b3d33982b2969b5f35988cd4779f9 authored almost 15 years ago
newnet: Reenable production/research starting/stopping, but synchronised.

37b09601230f24466b84a7c28db1914788df1676 authored almost 15 years ago
newnet: Remove SendDroidMove call which was causing desynch. Remove entire SendDroidMove and recvDroidMove functions, and GAME_DROIDMOVE, which are all no longer used.

Was possible to actually play one side of a whole Sk-Rush full-bases game, without going out of ...

f7129d69ad9a5861c412be02204a0a11c27b079c authored almost 15 years ago
newnet: Fix possible desynch on executing queued orders.

69435aa87e66e5623de695c2f8932eb8cd8eeb39 authored almost 15 years ago
Merge branch 'master' into qt

5cd62e8252dae89be687670620576ad0e43a05b3 authored almost 15 years ago
qt: Revert "Explicitly link with -lX11 when running on an X11 system because we directly use X11 in lib/widget/scrap.c"

This reverts commit svn -r9980 / df20d815f6d4322860b323e6e508a7953af5796b.

Reason: Qt branch do...

0c49446df2f3b403371e5bdc77f7f976f7660392 authored almost 15 years ago
Merge remote branch 'origin/master' into newnet

Conflicts:
lib/netplay/netplay.c
src/multiopt.c

7d129cf4b51f7164b6f03d08070582d54397a56f authored almost 15 years ago
newnet: Really synchronise GAME_GIFT and GAME_ALLIANCE.

48faffd5438e964a6ab7d2c6a68ebe2d7a59ca47 authored almost 15 years ago
Make sure the localOptionsReceived flag is set correctly when the refresh widget is hit

(would cause people to enter a game, and only see all AI's, instead of the actual players)

(2.3...

3433d5fb58bd143a78c334dca7363139cf84896b authored almost 15 years ago
Broadcast NET_HOST_DROPPED on host dropped in NET_fillBUffer()

(2.3 r9992)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@10001...

66d2fb68ec00e2e8c1f6bae5dd6d56b1b36892cd authored almost 15 years ago
broadcast all player's stats.

This should fix the issue where, on joins, people would sometimes see different medals (pacifier...

ae3e6e80a70ad5f7419af2a88062042da3ae92e2 authored almost 15 years ago
If we run out of temp sockets, then we should error out, not "fix" the issue by reusing MAX_TMP_SOCKETS -1.

(2.3 r9988)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9998 ...

8a785d511c6f2390d40aec33392cea0d3dfcf7cd authored almost 15 years ago
To prevent closing the socket before the receiving end can receive the 'quit' message, add a delay of 1s.

This should fix the issue of players dropping, and nobody would notice that they left until they...

519db7a374481cbfedb1cc8792bc9c648e90083d authored almost 15 years ago
Add more LOG_NET debugging love.

No code changes (besides adding debug(LOG_NET...))

Change some LOG_WARNINGS to either LOG_ERROR...

15b25dcdfe82c29b0663e84e368ff5076f0d8144 authored almost 15 years ago
When we leave, only tell the host that we are leaving, and have the host tell everyone else about the player leaving.

(2.3 r9986)

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9996 4...

a485fa69c611c7d0fad69a4fc1838abe86cac493 authored almost 15 years ago
Make sure we mark the socket invalid in the socket set when we are about to close the socket.

This will fix (hopefully) the remaining segfault issues in checkSockets().
(2.3 r9985)

git-svn-...

e8ff3ec7bfe58e787eb1e77e4442aedb27fbaba7 authored almost 15 years ago
newnet: Don't modify droid when queueing orders, and there are no orders to queue after.

757d1b84248a0637391bbcf67c85998ab7fbf8a1 authored almost 15 years ago
newnet: Synchronise GAME_GIFT and GAME_ALLIANCE.

c33ea0f8f4fe535dc5e1e2fba89153ecc0697e4a authored almost 15 years ago
newnet: Fix small but fatal typo in line build.

48737800826dbbe8f4eb7c5844550782dedaffc7 authored almost 15 years ago
newnet: Fix sending research, was some duplicate code left, which was causing synch errors.

7a1f06efab787518d40fd6369724618b10614e7d authored almost 15 years ago
newnet: Fix production queues.

Rename quantity variable which was used for two completely different things in a confusing manne...

7eed990301d970c4280054b6ba49870e36fcb348 authored almost 15 years ago
make dist: Include whole macosx directory instead of listing every file.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9982 4a71c877-e1ca...

eeeb45313908aa511cd50e1705c1305ef32f62d2 authored almost 15 years ago
newnet: Synchronise production. Breaks the production queue somehow, needs fixing.

073e367e20f6fe15c53ede68dc12c76df1589f86 authored almost 15 years ago
newnet: Fix research causing power desynch, and due to power usage being random, random number desynch as well.

de637f9a9994e2a80f4d16a874c6461b777a6737 authored almost 15 years ago
newnet: Fix some selectedPlayer abuse.

853d87580bc4efd58102605fb65c49403ea0920d authored almost 15 years ago
newnet: Try to synch GAME_RESEARCHSTATUS and GAME_RESEARCH.

c42c9a276a7da122a6fa93b44a4120c9ffaef4da authored almost 15 years ago
newnet: Remove some multiplayer hacks to stop droids from updating orders. Fix duplicate player names.

75dc05226c3850639ab31240922cdf5eb810ee2c authored almost 15 years ago
newnet: Synchronise GAME_STRUCTDEST and GAME_FEATUREDEST.

4cd5f7ee3e4d15786650e56c8247b3b1ca26a406 authored almost 15 years ago
newnet: Synchronise build orders, against the will of whomever that wrote "//don't send BUILD orders in multiplayer".

Disarm the GAME_BUILD and GAME_BUILDFINISHED messages, which are now for synch only.

f5beafd27e1985b7179fefd78373243c050d1808 authored almost 15 years ago
newnet: Print if messages are unhandled. Remove meaningless NET_SCORESUBMIT.

7ac7ef1d1f7de079780b59ed01e7c0357c2a467c authored almost 15 years ago
newnet: Remove self-described "horrible check" which told droids to behave in an unsynchronised manner.

fc03507ad4f1b742660889c2702f6fc38f7809d4 authored almost 15 years ago
Explicitly link with -lX11 when running on an X11 system because we directly use X11 in lib/widget/scrap.c

This fixes #1098 also reported as DebianBug:556919.

git-svn-id: https://warzone2100.svn.sourcef...

a6a1ffbaa0bfea51453cd44227db9e70e55c9de7 authored almost 15 years ago
newnet: Make GAME_DROIDDEST synchronised, improve synch recovery.

8077c761e44020dfb42b85c9f0224c9b1318e40a authored almost 15 years ago
newnet: Make GAME_DROID synchronised, now possible to build lots of trucks and stuff without going out of synch.

af28145369fb0234ce5f1c28eb6f6dabd2d2bf5b authored almost 15 years ago
Merge remote branch 'origin/master' into newnet

Conflicts:
lib/netplay/netplay.c
src/multiint.c
src/multiopt.c

8f2e94bb48b12560effec8686f73ce17b2db75e3 authored almost 15 years ago
Merge remote branch 'origin/master' into qt

Conflicts:
macosx/Warzone.xcodeproj/project.pbxproj

fde9d54c45afe5a952af5407c4432c02169e10d6 authored almost 15 years ago
Clean up droidUpdateDroidRepair. Add droid->body <= droid->originalBody assert in CHECK_DROID.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9979 4a71c877-e1ca...

8f8cc308476f6bc0121ebe2e0c7e12f6c0be9cb0 authored almost 15 years ago