Commit Graph

2723 Commits (f6a9f7c864520a7c6d2fb2990a5a5d71dcf8161f)

Author SHA1 Message Date
Dennis Schridde 46ee786db6 We never use Ogg nor Vorbis directly, so we should only implicitly depend on it via vorbisfile.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3363 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:42:23 +00:00
Dennis Schridde e5babd8ba5 Most of the current WIN32_LIBS and WIN32_PRE_LIBS are only required because we choose to compile statically.
So they should be pulled in where static compilation is choosen: Via settings LIBS for configure in the __BUILD_SCRIPT, eg.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3362 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:41:39 +00:00
Dennis Schridde 8e115eca6e Tutorial fixes
- Fix a bug where you could build an oil-derrick too early.
- Prevent factory from being built before the voice has asked for it.


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3361 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 20:33:48 +00:00
Roman C 5def5be2ff Added new templates necessary for the new version of Aivolution.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3360 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 19:57:52 +00:00
Roman C 09ee432cca Commiting old scripting engine changes: this commit adds several new fields for droids necessary for threat avoidance as well as some new scripting functions.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3359 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 19:42:43 +00:00
Giel van Schijndel d288708bab * Don't write unused (i.e. it isn't ever read by EditWorld or Warzone) taglist.tag anymore when exporting maps (complements r3357)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3358 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 16:20:09 +00:00
Per Inge Mathisen 44714f6de5 Remove unused taglist.tag
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3357 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 16:09:56 +00:00
Freddie Witherden 347c8645dd Commit the final part of patch #913 that ports send/recvResearchStatus over to the new netcode API.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3356 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 15:55:54 +00:00
Per Inge Mathisen 3f996d8a85 Fix bad rotation time for weapon turrets introduced by me in r3282.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3355 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 15:15:57 +00:00
Per Inge Mathisen ae19f5bd54 Move PHYSFS_APPEND and PHYSFS_PREPEND macros to lib/framework/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3354 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 14:50:16 +00:00
Per Inge Mathisen eddebc7f81 Move some initialization code from src/ into lib/framework
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3353 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 13:50:34 +00:00
Giel van Schijndel 2e76e8d1f9 * Fixes bug #3 (trac-ticket), apparently in r3343 I forgot to change the Makefiles to include the tagdefinitions directory in the warzone.wz zipfile (the directory testdata was still used)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3352 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 13:37:49 +00:00
Ari Johnson 0cb44b75ca Update Xcode project to pack up tagdefinitions/ instead of testdata/
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3351 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 00:22:58 +00:00
Ari Johnson 55ecef381b Fixed error message
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3350 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 00:22:23 +00:00
Ari Johnson e424aed624 Added /* */ around a comment to permit Warzone to compile again
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3349 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-05 00:06:40 +00:00
Giel van Schijndel d249ac2188 * By default perform truncation detection in strlcat and strlcpy (i.e. return the length that would be the resulting length if no truncation occurred)
* Add a Doxygen comment for strlcpy & strlcat

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3348 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 23:16:29 +00:00
Giel van Schijndel 65961cbb45 * Use a variable to store the tagfile unittest definition files' names in (rather than copy-pasting those in the tagOpenRead & tagOpenWrite calls)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3347 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 20:01:54 +00:00
Giel van Schijndel 0ae7c6a88a * Slightly adjust code-formatting to increase readability
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3346 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 19:55:01 +00:00
Giel van Schijndel 34d26a6719 * Don't do "if (ptr != NULL) { ... } if (ptr == NULL) { ... }" instead use an if-else construction: "if (ptr != NULL) { ... } else { ... }"
* Use slcatprintf instead of snprintf into a local buffer (on the stack) followed by concatenating to our target string

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3345 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 19:11:16 +00:00
Giel van Schijndel 17faff7281 * Remove unused member functions AssertValid and Dump from some MFC classes (less porting for me!)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3344 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 18:39:22 +00:00
Giel van Schijndel 87a55581f0 * Move the tag definition files over to data/tagdefinitions and move the savegame definitions into data/tagdefinitions/savegame
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3343 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 16:10:51 +00:00
Giel van Schijndel 9e790e79ab * Reduce the amount of copy-pasting of filenames..
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3342 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 15:55:55 +00:00
Giel van Schijndel 4d8da13cb4 * Use the tagfile format for score.bjo (and rename it to score.tag)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3341 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 15:24:22 +00:00
Giel van Schijndel e722d7ec39 Add some more comments
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3340 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 15:12:01 +00:00
Giel van Schijndel f3499cc232 Replace asserts on invalid tags with CHECK_TAG_INVALID
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3339 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 14:59:19 +00:00
Freddie Witherden fcfcf0f2cf Commit part 4 of patch #913 which ports recvResearch to the new netcode API.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3338 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:50:33 +00:00
Freddie Witherden 3a997a083d Commit the third part of patch #913 which removes send/recvDestroyExtra.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3337 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:43:44 +00:00
Freddie Witherden f4e1004604 Fix a bug which prevented r3335 from compiling.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3336 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:40:17 +00:00
Freddie Witherden 9a312a7991 Commit the second part of patch #913 which removes (the defunct) AUDIOMSG system.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3335 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:38:19 +00:00
Giel van Schijndel 1d83be8064 * s/tagWriteSeparator/tagWriteNext/g for consistency's sake (to match the tagReadNext function, which is the reading equivalent)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3334 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:37:42 +00:00
Freddie Witherden c95c1bbd43 Commit the first part of patch #913 porting send/recvTemplateDestroy to the new netcode API.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3333 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 13:37:10 +00:00
Freddie Witherden a6c4f7b786 Port multioptions + structure limits dialog over to the new netcode API.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3332 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 12:59:42 +00:00
Freddie Witherden daad83d316 Make NETend(); return TRUE when we are finished decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3331 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 10:32:59 +00:00
Ari Johnson d84aaa6701 Updates to Xcode project
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3330 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-04 00:02:10 +00:00
Freddie Witherden a98a563e71 Fix a bug in the recvPing function that was causing people to have high pings. This bug was also responsible for units 'jumping' in MP games.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3329 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 22:52:53 +00:00
Roman C b0b7c25198 Apply more balancing on mainstream weapons.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3328 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 21:38:12 +00:00
Giel van Schijndel 71bc4ff8be * Remove useless cdspan code (was only a wrapping function for audio_PlayStream)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3327 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 19:38:06 +00:00
Roman C 34e7fdf4c3 -Tracks propulsion is not pre-researched in T1 anymore
-HMG HP is enabled in T1 "Advanced bases" settings (the way it was intended to be)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3326 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 18:44:56 +00:00
Giel van Schijndel 149b351d3c * Port functions readFXData and writeFXData over to the tagfile API (and change the files they read&write to a ".tag" extension
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3325 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:37:59 +00:00
Giel van Schijndel 48f32faccf * Add function resGetNamefromData which complements resGetNamefromData and allows you to retrieve the resource ID (usually filename) for a resource (IMD, IMG, TEXPAGE, WAV, etc.)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3324 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:35:57 +00:00
Giel van Schijndel 96e737fb03 - Bring command.bjo to tagged format (and rename it to firesupport.tag).
- Use new NULL_ID instead of UDWORD_MAX to indicate invalid ids.
- Fix if-complication


git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3323 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:30:51 +00:00
Giel van Schijndel b60b1b121c * Use const-correct functions for the tagWrite.* stuff
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3322 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:30:17 +00:00
Giel van Schijndel 785eb69c8b * Add a forward declaration for tagReads32v into tagfile.h
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3321 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-03 00:29:10 +00:00
Per Inge Mathisen 5ca6073e97 Fix a crash bug in recvDroidCheck and move variable declarations into innermost scope.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3320 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 22:04:54 +00:00
Roman C ee9dd1108a Fixed bug #10443.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3319 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:32:14 +00:00
Per Inge Mathisen 2c7b375170 Remove whiteboard feature in multiplayer join dialog.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3318 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:20:43 +00:00
Freddie Witherden c5f5a74e5c Remove some dead code in structure.c.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3317 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:19:07 +00:00
Giel van Schijndel 69ad91c56b * Enable debugmode (allows cheating) by default on DEBUG builds
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3316 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 21:06:00 +00:00
Roman C 1f10acfaf5 Balancing tweaks:
-Python body is a pre-requisite for Tracks now

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3315 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:16:18 +00:00
Per Inge Mathisen 2ca1351c13 Add another field to the IMG csv files that describe what it does.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@3314 4a71c877-e1ca-e34f-864e-861f7616d084
2008-01-02 19:15:45 +00:00