Commit Graph

8715 Commits (b79d86046c10136071113fa54b3e22d916376906)

Author SHA1 Message Date
safety0ff 3dd8ff3e49 Add more informative link in pointtree comments. 2011-03-12 14:24:10 -05:00
safety0ff 5ac26462f1 Fix use of uninitialized variable in exception handler. 2011-03-12 12:23:56 -05:00
safety0ff 8ce810cda3 Use %u in printf statements instead of %hhu since Mingw (by default) uses Msvcrt's C99 non-compliant version.
Using Mingw's C99 compliant replacement printf is possible but may be slow.
2011-03-12 11:33:50 -05:00
Cyp f1ab1f092a Don't assert when firing lassat. 2011-03-11 21:10:17 +01:00
cybersphinx cce4f76dfc Proper dependencies for rebuilding of version.o. 2011-03-09 23:29:41 +01:00
cybersphinx c024ef4df2 Beautify. 2011-03-09 23:29:41 +01:00
cybersphinx e50b650c6c Just run autorevision unconditionally. 2011-03-09 23:29:41 +01:00
cybersphinx adc6999799 Make autorevision.h generation more robust (though uglier). 2011-03-09 02:06:34 +01:00
cybersphinx 34d9c07b63 Make sure autorevision.h is up to date.
Use a temporary file so the timestamp isn't updated when the file hasn't changed.
2011-03-09 00:39:14 +01:00
cybersphinx b1c3d25a07 Update translations. 2011-03-08 16:11:29 +01:00
Cyp 8b4e67c019 Fix gates belonging to certain players shown as grey by setting TYPE 10200 in blgateh.pie. 2011-03-08 11:10:24 +01:00
dak180 add956d337 Use the autorevision script instead of the program.
Refs #2401.
2011-03-06 20:24:04 -05:00
cybersphinx 6d7572131e Make the shell and C++ autorevision output the same. 2011-03-07 01:30:45 +01:00
cybersphinx 0af9d47a34 Call autorevision.sh instead of compiling and running the C++ autorevision. 2011-03-07 01:18:18 +01:00
cybersphinx 1d358beb19 Move _cstr creation into version.cpp. 2011-03-07 01:04:52 +01:00
cybersphinx 3490bf21d7 Make autorevision only output the things we actually need. 2011-03-07 00:24:25 +01:00
cybersphinx 9626edb7f5 Simplify version_modified(). 2011-03-06 19:39:47 +01:00
cybersphinx 784fe5f629 Always use static strings in autorevision.h. 2011-03-06 19:31:14 +01:00
cybersphinx a30a8d21ce Replace svn with vcs. 2011-03-06 19:23:33 +01:00
cybersphinx d2eb159216 Get rid of the SVN_WC_SWITCHED stuff. 2011-03-06 18:57:12 +01:00
cybersphinx 809d0ac456 Get rid of the SVN_LOW_REV stuff. 2011-03-06 18:46:38 +01:00
safety0ff c5928e8cf3 Fix MSVC builds broken in f1495ac. 2011-03-05 16:54:52 -05:00
safety0ff 509fe7bb83 Use WIN32_LIBS instead of IBERTY_LIBS when configuring libbfd.
Fixes statically linking libbfd. Closes #2514.
2011-03-04 12:43:00 -05:00
safety0ff d3e993da31 Use patch instead of sed to fix extraneous comma in quesoglc pkg-config file. 2011-03-04 12:33:06 -05:00
Cyp 12e5d2a2b8 Make droids go exactly where the mouse was clicked.
Useful for people that are very picky with where their droids go.
Previous behaviour was to go to the centre of the tile that was clicked on.
2011-03-03 23:23:42 +01:00
Cyp afb524e923 Fix occasional failure to find the tile under the mouse.
The problem was integer truncation during division in inQuad.
2011-03-03 23:23:42 +01:00
Cyp d1f7e50c7f Fix tanks on blocking tiles unable to move.
Tanks shouldn't really end up on blocking tiles, though.

Fixes ticket:2478 and ticket:2512.
2011-03-03 23:23:42 +01:00
dak180 c9f97fe8d8 Provide a backup download location. 2011-03-03 14:40:14 -05:00
dak180 e6fd3c3c90 Remove -Wc++-compat, to keep pace with Cyp. 2011-03-03 12:53:11 -05:00
Cyp 92db46314f Remove -Wc++-compat, since everything that will be C++ is now already C++. 2011-03-03 17:51:22 +01:00
safety0ff 635643e101 Add openal cflags to sequence lib build, fixes linking with static openal-soft. 2011-03-02 22:36:11 -05:00
Cyp 23f46a51ac Open gates before bumping nose. 2011-03-02 12:59:56 +01:00
Cyp 50c02e9944 Fix all droids passing through all structures not allied to host.
Hopefully now both gates and regular structures should work correctly now.
2011-03-02 12:35:59 +01:00
Cyp 2875a59981 Simplify mapFloodFill.
Reduced memory usage by an order of magnitude and allocations by several orders of magnitude. And the function should be easier to understand, now.
2011-03-02 11:55:16 +01:00
dak180 6afff6e0c0 Use PhysFS 2.0.2 for the mac builds.
Refs #1066.
2011-03-01 21:08:17 -05:00
safety0ff f1495ac6ef Convert command line options to utf-8 and use unicode directory routines (Windows).
Closes #1066.
2011-03-01 20:48:33 -05:00
safety0ff eb60d35864 Add physfs 2+ cross compilation. 2011-03-01 20:45:29 -05:00
Cyp a6e2291025 Update ally research information in real-time.
Old behaviour was to wait for you to click on something (for example, to start the research), before showing that the ally was already researching.
2011-02-28 23:33:57 +01:00
Cyp 9d4c9f89ed Fix research sharing.
Fixes ticket:2508.
2011-02-28 23:21:04 +01:00
Cyp 48f0020455 Fix gates.
It is now possible to go through gates when, and only when, they are open, and friendly gates are always ignored by pathfinding.

Fixes ticket:2486.
2011-02-28 22:58:19 +01:00
Cyp f18f984522 Fix cyborgs and inital truck design being displayed as free.
Fixes ticket:2510.
2011-02-28 20:51:14 +01:00
Cyp e3ac1cef9c Don't allow body points to become negative when demolishing. 2011-02-28 20:28:18 +01:00
Cyp eeb413d9e3 Don't send GAME_BUILDFINISHED when in synch.
Was causing the second module to instantly finish, with the structure at 10% body points, if queueing two module build orders in a row for the same structure.

Fixes ticket:2480.
2011-02-28 20:16:30 +01:00
Cyp 676f453332 Do memset of NetPlay.games array, not MAX_PLAYERS elements of NetPlay.games.
MAX_PLAYERS was less than MaxGames, so it wouldn't memset too much, at least.
2011-02-28 20:06:30 +01:00
Cyp 239eebec00 Remove GAME_SECONDARY in favour of GAME_DROIDINFO, which is sent more efficiently for multiple droids.
Instead of one message per droid, it sends one message for all droids, with the list of droids encoded as droid ID deltas.
2011-02-27 20:20:43 +01:00
Cyp 31c6586f9c Fix crash in moveBestTarget when sMove.Position == 0.
The moveBestTarget function could be called while sMove.Position == 0, if moveCalcBlockingSlide detected a gate and changed the status to MOVEPAUSE.

To reproduce the crash (before this commit), add a bunch of gates and a bunch of droids, and have the droids patrol near the gates, and wait a while.

Renamed sMove.Position to sMove.pathIndex to reduce confusion and to verify all uses of it.
2011-02-27 12:10:40 +01:00
Cyp 97097da97a Try to prevent patrolling/scouting droids from forgetting to stop when encountering something. 2011-02-27 11:19:10 +01:00
Per Inge Mathisen 639f735b27 Add some kind of checking, so that things don't get lasatted by bunkers. 2011-02-27 10:56:01 +01:00
Per Inge Mathisen 88788ad501 Move kick button back into its proper place. Closes ticket:2506 2011-02-27 10:26:26 +01:00
safety0ff bfe900b78e Use QuesoGLC's pkg-config file for build configuration.
Closes #2458.
2011-02-26 14:38:04 -05:00