Ecosyste.ms: OpenCollective

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

github.com/Warzone2100/warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://github.com/Warzone2100/warzone2100

* Update EditWorld's TODO file

* Add list of files requiring porting from MFC to wxWidgets

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

79ea5bb1995ff4a833729e460dc008f691f6deab authored over 17 years ago
* #include required header <ostream>

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

b543a89e1313d47c957c2519ebebf0b61225965c authored over 17 years ago
Cleanup:

* Rename class CKeyHandler to KeyHandler (I don't want freaking MFC style classnames being prefi...

20d790a4fac810148709c514ec3b8ad144cfec7c authored over 17 years ago
* Remove unused files debug.[ch]

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

6634aa66fa29c1bafcc55f07386e6b4d9dcb4318 authored over 17 years ago
* Make debugprint.c a C++ file instead of C

* Use std::ostream instead of FILE* for debug printing

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

f10cdeb1574274e9b5edeee57ca3c3082febe23c authored over 17 years ago
* Use stack allocated objects instead of heap allocated; since they're safer (don't require explicit deallocation), and it's obvious that the only reason why they where heap allocated is probably that whoever wrote that piece of code was addicted to the "operator new"

* Use std::ostream instead of FILE* for PCXHandler::WritePCX
* Change utility functions EncodeL...

595c4838ac93811a5171894482fe579de4204063 authored over 17 years ago
* Use std::istream instead of FILE* for PCXHandler::ReadPCX

* Change private member functions of PCXHandler; EncodedGet, EncodeLine and EncodedPut into stat...

2fcc6e82c2d0430f50f778a90e48ae689fe3a92f authored over 17 years ago
Revisit data loading (image/texture related) and remove unecessary fVertex pietype.

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

6b8e636fc39084aaee37603261330ef3c7ac2e8e authored over 17 years ago
Fix crash in design screen if we draw a weapon component that is really really big.

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

ad5900b2edd29d5f180f29b44dfa7abb8646c650 authored over 17 years ago
Remove some useless comments for iIMDShape, also remove some unnecessary fields and variables.

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

75d5e135c52b57515b45a88d892b561350ef26c7 authored over 17 years ago
Move a lot of code around for cleanup.

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

898b9c5d728d4f3c6530924c46d5b68dd3732e6c authored over 17 years ago
* Revert r2167 since this workaround is no longer required anymore with NSIS versions > 2.25

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

ecbd74b04f73a7c0bb42216f433ec31bbe877e75 authored over 17 years ago
* Less violation of encapsulation: use private instead of protected (since we don't need access to these members anyway; plus we don't inherit from these classes ATM)

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

06afa3c7a0658a70016670e724cf7a2542f253bf authored over 17 years ago
More cleanup. More debug log message. Send player ID as a single char instead

of the old pointer casting with alignment issues.

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

c6190a85f2a2876ed763743523a5c4254ce7b25c authored over 17 years ago
Clean up source and add comments to explain what is going on.

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

0cb6023b76eaa2a35388bec6a98e6faad35a587b authored over 17 years ago
* Remove files gateinterface.* which basically where a C<->C++ interface to the gateway* files (these are now C++ files)

* Move previous interface functions into gateway.cpp

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

f54618b6c4ddf1c5174594373ac9f95d333206be authored over 17 years ago
* Fix yet some more dependencies in header files

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

5a9cc58788d9d679b2f7dcde5c82fc2a69ee1bba authored over 17 years ago
Remove NETsetMessageSize

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

5d0a52460dbc02ab52484ee21016818656fe2e6b authored over 17 years ago
Remove final pieces of encryption code. Warning: This touches some seriously

unstable code. Bugs may follow!

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2184 4a71c8...

1df2199ce8d2f31a585c2e8701bc28bfe4d14582 authored over 17 years ago
* Fix some header dependencies

* Indent class CHeightMap in a more readable manner

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

2e28b1926ac31c3983be3007e532fae04a6f8439 authored over 17 years ago
* Fix compile error by including dependent header (<windows.h>: ugh)

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

c05b65d53251880995ef9d2981439cdfd699610a authored over 17 years ago
Cleanup

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

4c7f823d2fdc6ff820d325d11bace230efcbde64 authored over 17 years ago
* Modify function IsPower2 into a static inline

* Make IsPower2 take advantage of the mathematical properties that a number which is a power of ...

91b10bd4dbc8937463544246d52fbc115b2261f0 authored over 17 years ago
* Make C file gatewaysup.c a C++ file gatewaysup.cpp

* Remove macro MALLOC
* Use reinterpret_cast for the malloc stuff

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

d48c7f67a405402d81baf47311453e94e60c97d2 authored over 17 years ago
* Remove all stuff which wasn't compiled when EDITORWORLD is not defined; also remove the macro EDITORWORLD itself

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

b06b660b6ad1cbb871440dd13cfbac9449a04791 authored over 17 years ago
* Turn C file gateway.c into C++ file gateway.cpp

* Turn linked list macro LIST_REMOVE into inline function list_remove
* Remove macro MALLOC and...

9a630f45f53b313715eeace69915a68f9cb6449a authored over 17 years ago
* Fix warning about implicit declaration of memset

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

763d707f020436a516be613403bb0788f3d20539 authored over 17 years ago
* Add svn:keywords

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

2b00b2e4c1f65b5e90c920097516a547546f2def authored over 17 years ago
* Add GPL header (which apparently I forgot on this file)

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

20a03d68cc54cf8e03f335f0ff2d3b82e1f0f6d5 authored over 17 years ago
* Remove unused parameter `bool Flip` from BMPHandler::WriteBMP (only it's default value "false") was used

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

1ec5cc8fb23bb7326638902a2aa239fd27609912 authored over 17 years ago
* Remove unused member functions from class BMPHandler: ReadBMP, Clear, GetBitmapWidth and GetBitmapHeight

* Remove unused BMP palette code, since obviously we're not using it
* Remove two other unused ...

7873df53f1288836a8f44411aa7956d5346725d2 authored over 17 years ago
* Forgotten in last commit: removal of parameter from calling function

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

e94d4a1e5a380a7774ce917af92f55fc26c5530e authored over 17 years ago
* Change protected section of class BMPHandler to a private section

* Remove unused parameter PALETTEENTRY* Palette from function BMPHandler::Create
* Change BMPHa...

76fe009e442069153e17317bb5138629ca7a2704 authored over 17 years ago
New weapon connectors on the dragon body for two weapons by Grim Moroe.

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

84a6541f538e004ca56ffd8ad4887ec094ae361b authored over 17 years ago
* Fix spelling error in MSVC project file (got there due to my manual conversion probably)

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

3f342f72a94f77d29a830476f2888647f3859741 authored over 17 years ago
* Use forward slashes for commandline arguments to makensis.exe because NSIS uses forward slashes on windows, while it uses dashes on GNU/Linux; (doh! inconsistencies aren't good!)

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

e89edb7fbb52135fd0eb9cfc517c6c6762083fbe authored over 17 years ago
* The raw makefile system (wrongly) depended upon the GNU FileUtils ("rm" to be precise);

* we now use "$(RMF)" (which expands to "del /f") instead of "$(RM)" (which expands to "rm -f")
...

ed12db0b4f39e575339e737096476ad35bff3a06 authored over 17 years ago
* Don't use (void) as argument list for functions anymore; with C++ this is implicit when using (), a variadic function has to be explicitly declared using (x, y, ...)

* Replace BOOL, TRUE and FALSE with bool, true and false respectively
* Use the initializer lis...

d3628a0d1151fa36b3abf85377390d92ca94a992 authored over 17 years ago
Fix oil animation. Enable "kill" and "get off my land" cheats in single

player skirmish.

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

2e24b34ef7e2f1bb4082d86e21a133da931bf8a0 authored over 17 years ago
Remove some overzealous asserts

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

59768447c6a187f5576803af7e4d8720561bba60 authored over 17 years ago
Remove unused POWER_STATS

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

ca6d31dc6c7c94e651816e9e209869cc4b9b2265 authored over 17 years ago
Hide share research and share vision buttons in intelligence dialog when in

locked teams mode. Patch #773.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2161 4a71c87...

fcc8c41fe9a4a414235c658e8c588e1e34bc0a65 authored over 17 years ago
Fix bug in removal of baba player in campaign if too many human players.

Also add some fallback in case server sends us a bad player number.

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

dcfe1026997e1563cf849725c7d548f2b476da8a authored over 17 years ago
Remove force editor. Nice widget, but nobody knew what to do with it.

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

d94d7ea9ea829fc2b04cb89cdbad770860db121f authored over 17 years ago
Rename multiplayer game mode "Campaign" to "Mayhem" mode. Remove possibility

of alliances in this mode, and always add scavengers. Note that this mode
will not work if there ...

f9a3adeabac92b815db4a1530b01bf2c6ae7d465 authored over 17 years ago
Remove templay related code in scripts. Sorry for breaking skirmish for a few minutes :)

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

cc17f21df557b284dfa2a677761e54802c9fc3f5 authored over 17 years ago
Remove unused "death match" game mode code.

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

45b4dfb7b782eef36f83620cb5869a7a8dc2f19f authored over 17 years ago
Remove separate "team play" game mode. We now have proper team play

functionality in the skirmish game mode, so it is not necessary.

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

ac131d745f4cd74260e035cd4131c69c51b3b480 authored over 17 years ago
Allow to disable all AIs in a multiplayer game with more than 1 human.

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

2cce50c2ad55327075b08cdead609e5f418e9983 authored over 17 years ago
* Remove some rather useless debugging printf statements

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

46a2f0ade2955d9269e62399e26f848ef57eb42b authored over 17 years ago
Fix the second file checking end condition from the mp folder.

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

8fdfad5a675cd2b9f39ce5c5e5cb510985a46cd4 authored over 17 years ago
Fix end condition checking for the multiplayer campaign game mode.

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

74c29b312fa30a900a0f8ae6de032caeac7c33f1 authored over 17 years ago
Clean up missionDestroyObjects() and ensure that projectiles are free()d there.

Make sure that "let me win" cheat works again by fixing assert when grid is
updated with the base...

74af7fefa106bac18df4103a49c76d0890c79ca1 authored over 17 years ago
Fix crash when loading savegames and animations are not properly cleaned up first.

This is similar to the fix in r2050.

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

e3b98734d5f55dc9e94d11a5ef67965e963a086d authored over 17 years ago
Fix bug #9542. Check that projectiles are within the map before updating them.

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

77bc1dfd1d103fb0258c084e31cf466d5dfaea44 authored over 17 years ago
Added some commander templates for the ai.

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

a23b19137f6b447b65fc77d410b1dc912dd4c377 authored over 17 years ago
Scripting Engine:

-Added necessary scripting function to enable commander support for the scripts.
-Added a "group"...

996502340cae583b43d8ad5e270ef89814884011 authored over 17 years ago
Replace magic numbers scattered around the code by defines.

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

d39bee295500f8b58efd0b3c89aeb09bf812e8e2 authored over 17 years ago
* Don't #include <boost/utility.hpp> and inherit from boost::noncopyable;

* Instead declare our copy constructor and copy assignment operator private, also we don't provi...

c8b99f0ae0669277d955e2fb6f1058699cc46310 authored over 17 years ago
Remove bad assert. psAttacker could be a PROJECTILE, which is not yet a full BASE_OBJECT.

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

86bee823723f369110d81739b71fb8e996df7808 authored over 17 years ago
More vector math, by EvilGuru. Minor changes by me (brackets around the ()^2 and swap RHS,LHS in the comment, so Kate's highlighting doesn't go nuts (yes, I know this is stupid...))

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

9dafbd404fea0e3c2026b1e732cee37cd01087f2 authored over 17 years ago
strings.txt removal by Martin Koller.

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

84f1d476e48725528e090c5e2a26960483efaeec authored over 17 years ago
Localised data, patch by Martin Koller, slightly modified by me.

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

d9529e9d1c82007a9a17f67291aee34e2d6b945b authored over 17 years ago
Cleanup:

* Merge a nested if by using && to combine their conditions

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

73401c14c973caf179daca1407375639adbc91d0 authored over 17 years ago
warnings.patch dated 20070716 by Martin Koller.

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

7fb85e80a64372fe8edcfec64946e239d0cba9d1 authored over 17 years ago
frame.h has to be always included before any other headers!

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

0a5464c1912a1585b3ef1713f8aaf49987f7c244 authored over 17 years ago
Fix signedness warning

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

00b0b8c322073ab4012a89d8018f79c66c1c8127 authored over 17 years ago
- Added calcDroidPower() scripting function to calculate power required to build a droid.

- Updated scripting manual.

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

a161bf8d00d9601405a311c297e634334256ed1f authored over 17 years ago
Fix network bug that would send truncated float on the network, because

the network expected uint16. Introduced in r1524.

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

451c5fdd8b6fabcae1208b69662d20d452f5f127 authored over 17 years ago
Add network statistics logging, to figure out which parts of the code consume

the most network bandwidth. Look in in the netplay.log file for this info.

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

6a25589a625049757829b0147a432ecb540d2d89 authored over 17 years ago
1.10 AI:

Make sure cyborg engineers end up in the construction group and are used for construction.

git-...

f0fd2363da56b81f1d5ef444937a73c44bcc8634 authored over 17 years ago
Make cyborg mechanic and cyborg engineer droid types constants available for the scripts.

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

fb5b691c3a342fe5958d72a75875af9449d2f62a authored over 17 years ago
Fixed AI templates that had too many weapons.

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

ccf43f38cb925221ba6d27272d0c45f07cfa0fa6 authored over 17 years ago
Clean out some unused code from netplay.c|h

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

e509767d23d73351daeaa1213fb665b6316c52ac authored over 17 years ago
Show correct line number of the error in the input script file when using script includes.

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

73371715951506edc5e723f1d9b0910dcea06ba2 authored over 17 years ago
Remove unused packet vtolrearm

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

851cd033674138c4bb5043dad42ba33f00418a0d authored over 17 years ago
Fix MSVC issue.

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

e5b9869719af2b8e1b028d3454c9f30de3d836f9 authored over 17 years ago
Only bodies marked as HEAVY in body.txt are allowed to have 2 weapons. LIGHT and MEDIUM bodies can only have 1 weapon attached.

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

cd126ac034cd54c98aa7620fdd93f066ee28416c authored over 17 years ago
- Further improve moveGetDirection.

- Extend the Vector library.
- Cleanup (more Vectors).

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

807f41a85229f43b334f78bf5e6971c9335f7b80 authored over 17 years ago
* Remove duplicated function sound_TrackAudibleRadius (was an unused duplicate of sound_GetTrackAudibleRadius)

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

6b912bc40de3b127f9c87c178e9f7eef11725377 authored over 17 years ago
* Remove some unused macros

* Remove a dual check of psTrack == NULL in sound_Play2DTrack (is already tested by invoked func...

ebff194ba7e0f144954f1e1df246c9eaae6bd145 authored over 17 years ago
Clean up drive code, and add missing header guard.

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

b1a42e88ee8004de082a5644cab6bd5cedf665d6 authored over 17 years ago
* Add a workaround for a crash in OpenAL triggered when shooting the first scavengers in the campaign

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

27bbae281be5c4e3b0c2aa8fee7b6dfc087fe94b authored over 17 years ago
1.10 AI Update:

-AI will now also build cyborg engineers
-fixed bug #9503

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

0a9388ca0f2828ce428201879be8d5a8cd45927c authored over 17 years ago
Fix lassat crash where its target would not be updated. Turn some asserts

for AI building defense buildings in the wrong place into log messages. Fix
those more properly l...

a31285a651dc635a1f51661f5ddaa5a68a407e13 authored over 17 years ago
Fix segfault with lassat in recently added assert

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

5f0a7626695dd723e090973115687007d43aaee3 authored over 17 years ago
Fix crash in pie_Draw3DShape2() when starting skirmish twice without quitting.

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

175b7cf4d64e88a8c04307117196a3f718ccbb7d authored over 17 years ago
* Check whether g_apTrack == NULL since that is a valid state when audio is disabled

* Add some additional info about which track is being asked about into the assert

git-svn-id: s...

2bb8afe647afeff39bacb0766bd353775826c660 authored over 17 years ago
Fix bug introduced in r2086 which would give droids trouble avoiding obstacles.

Thanks to Troman for pointing out the problem.

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

d1b82698ced309e7b503e618074054e0416b2497 authored over 17 years ago
autogame feature update: after enabling autogame feature, make ai use droids built while autogame feature was off

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

db66f6c05389cea2982050b0ca542264b59d036b authored over 17 years ago
Fix MSVC to have C99 isfinite().

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

c08c2ba7ebe91ba68f6faaf611af207a26f4d052 authored over 17 years ago
MSVC does not support finitef() either, so remove assert instead.

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

998ebd166b8ec0e49e4fca3a23768e0ed4737fca authored over 17 years ago
Use finitef() instead of isfinite() because isfinite() is C99 and therefore

not MSVC compatible.

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

416504797ba94b8e835729af33d0074602c35ab4 authored over 17 years ago
Fix moveCalcTurn bug. If we are standing exactly on our last waypoint, our

driving angle will be infinite. Instead, make it (0, 0), which is more sane.

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

d416f786506f7bfcbe7d266d43a50d155fe770a6 authored over 17 years ago
Clean up moveGetDirection(). Next step: Fix the bug in it.

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

bd49bb3bc33bb371f0191991b76a460f010b5b26 authored over 17 years ago
Remove a ton of unused movement code

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

4e86088118f091a32ffb91961f19818e0486a1e8 authored over 17 years ago
Remove a ton of useless MAKEFRACT casts used in the old pseudo-float code.

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

939003a47fc57ab2517473d5c1349048c15001fb authored over 17 years ago
PIE-Blender v1.0 by Kage.

Amoung a lot of changes here come:
- Handling of polygons referencing the same vertex more than o...

d4feb045d95e4038558d0945987fde90b9b524ca authored over 17 years ago
* Make audio_SetTrackVals return the track ID number rather than write it into a pointer given as parameter (failure is now indicated by a zero value instead; non-zero indicates success)

* Move a large portion of code from audio_SetTrackVals into sound_SetTrackVals (audio_SetTrackVa...

83ef0a6e3c6428358a0f0b4a9bdeeaa7a3f7d34b authored over 17 years ago
* Don't use (void) as parameter list for the function implementation (this is only required for function declarations, not implementations)

* in sound_GetAvailableID start looking for available IDs starting from ID_SOUND_NEXT, not zero ...

9de99e7d33359e8360e128748cc1f42bf1cb872f authored over 17 years ago