Commit Graph

11013 Commits (17596232cc207da5007d2120aec849b8db5ea943)

Author SHA1 Message Date
cybersphinx 17596232cc Better repo detection for autorevision.sh.
Closes #3096.
2012-02-01 06:18:15 +01:00
cybersphinx b8278a8064 Revert "Remove hg stuff from autorevision.sh."
This reverts commit a1e6011516.

Sorry, didn't actually intend to push this.
2012-02-01 05:32:53 +01:00
cybersphinx 8294e0b1de Merge branch 'bugfixes'
* bugfixes:
  Remove hg stuff from autorevision.sh.
  Remove redundant dependency for version.o.
  Move WZ_WRITEDIR to frame.h and use it for the crashdumps as well.
  Disentangle some Mac includes.
  Actually initialize SDL paste system somewhere.
  Update ChangeLog.
2012-02-01 03:45:25 +01:00
cybersphinx a1e6011516 Remove hg stuff from autorevision.sh.
Can possibly break stuff as mentioned in
http://forums.wz2100.net/viewtopic.php?p=93700#p93700, and any hashes
are meaningless and possibly confusing anyway since we use git.
2012-02-01 03:44:12 +01:00
cybersphinx 26cfcb8d0d Remove redundant dependency for version.o.
Prevents autorevision.h from being built twice.
2012-02-01 03:44:12 +01:00
cybersphinx 5506daef71 Move WZ_WRITEDIR to frame.h and use it for the crashdumps as well.
Closes #3095.
2012-02-01 03:43:50 +01:00
cybersphinx 395cb1bf50 Disentangle some Mac includes. 2012-01-31 23:11:24 +01:00
cybersphinx de3a4112d9 Actually initialize SDL paste system somewhere.
Got lost with the move into lib/sdl. Fixes #3091.
2012-01-31 23:11:23 +01:00
Per Inge Mathisen 406d744b01 Fix crash in semperfi-js 2012-01-30 07:54:35 +01:00
cybersphinx cdb0d61ad1 Update ChangeLog. 2012-01-29 23:06:40 +01:00
Cyp bd38bfd28d Make pathfinding find straighter paths on average.
Given 4 points, the distance from A to D is often shorter than the distance
from A to D via either B or C, and can be estimated based on the distances
from A to B and from A to C. Use this information, when pathfinding on the
grid.
2012-01-29 22:46:37 +01:00
cybersphinx 5a6f8a65c3 Add ChangeLog date. 2012-01-29 22:40:58 +01:00
cybersphinx 0e382794a5 Update team colours to correspond to their names better.
Refs #2972, tc2.patch. No teal for now, since that would introduce new
strings.
2012-01-29 20:41:23 +01:00
cybersphinx 8ae0358d88 Update ChangeLog. 2012-01-29 20:30:22 +01:00
cybersphinx 23d33f6fff Polish translation update by Emdek.
Closes #1347.
2012-01-29 19:56:42 +01:00
cybersphinx 01b0f9556b Update custom translations. 2012-01-29 19:35:53 +01:00
cybersphinx 1b39b6d441 Update translations. 2012-01-29 18:12:43 +01:00
Cyp 1a08636d33 Skip dead objects when applying splash and incendary damage.
Fixes an assertion due to re-destroying dead structures.

Introduced in 4657de6ee7.
2012-01-29 16:13:06 +01:00
Guangcong Luo cbb6a05769 Remove CB functionality from WSS droids - it was causing several bugs.
(cherry picked from commit 5dc9817159e28ff50f316d757e4763e5ac864b50)

Fixes ticket:3057.
2012-01-29 14:20:37 +01:00
Cyp 1fc057644d Make [Password required] [No Tanks] [No Cyborgs] [No VTOLs] display more consistent.
Reported by Emdek.
2012-01-29 13:48:01 +01:00
Cyp 4b53782254 Update secondary order in UI before synchronisation.
Fixes confusion over whether orders were accepted or not.

Clicking patrol and circle in the UI now makes the next order a patrol or circle
order, even if clicking before the patrol and circle secondary orders are
synchronised. Although, patrol and circle really shouldn't be secondary orders,
in the first place. Previous behaviour was to just go to the destination without
patrolling or circling, on clicking and then giving the order fast when in laggy
games.
2012-01-29 13:42:07 +01:00
Cyp 6e00044711 Eliminate quantisation errors from the button rotation rate.
Added a realTimeAverage() function which returns an integer which is correct on average.

Fixes ticket:3082.
2012-01-29 08:55:22 +01:00
cybersphinx b7f812e423 Update ChangeLog. 2012-01-28 23:32:52 +01:00
cybersphinx f625706f54 Changelog update, headache edition.
I.e. it's probably missing all the important stuff.
2012-01-28 23:31:10 +01:00
Per Inge Mathisen 07487e74f6 Remove (3.2+ only) tags from docs. 2012-01-28 23:19:56 +01:00
safety0ff f2104c1836 Fix patrolling bugs introduced in 8dc9d09904. 2012-01-27 18:46:38 -05:00
Cyp 29ec35a6f6 Merge branch '3.1-master' 2012-01-28 00:17:27 +01:00
dak180 675266657e Update the docs for the xcode builds. 2012-01-27 18:09:07 -05:00
Cyp 89e0a8f538 Fix trucks trying to drive into completed buildings instead of towards the building site.
More generally, check that the returned pathfinding result is for the correct
destination, rather than an old pathfinding job to a previous destination, leading
to the droid thinking it was going to the new destination when it really wasn't.

Droids were doing pathfinding, and occasionally they would pathfind to a building,
which happens to get completed in the same update, so next update they would try
to pathfind to the new building in the queue, but receive the path to the completed
building. They would then continue to drive into the old building, until arriving
at the new building (which never happens).

Probably fixes other issues with droids mysteriously going the wrong way.

Fixes ticket:3050 again (different bug, but similar symptom).
2012-01-27 23:29:08 +01:00
Cyp 666ea1050e Simplify incendary damage, fix incendary armour.
Apply incendary armour before converting from damage-per-second to damage-per-update,
such that incendary armour is now a per-second value, rather than a per-update value.

Dropped BASE_OBJECT::inFire, the value of which could be determined from BASE_OBJECT::burnStart.

Fixes ticket:3078.
2012-01-27 18:36:53 +01:00
Cyp 4657de6ee7 Simplify splash and incendary damage.
Use gridIterate() instead of checking all droids, structures and features on the map for splash damage.
Use gridIterate() instead of checking all droids and structures on the map (except your own) for splash damage.

Incendary damage did not affect yourself, and no longer affects allies either.
Incendary damage now affects features.
2012-01-27 18:36:03 +01:00
i-nod 4af296f79a Update the ticketvalidemail plugin to work as part of the spam filter.
Update the url info and add some logging.
2012-01-26 22:54:09 -05:00
vexed 03189536cf Fix a warning for certain compilers.
NOTE: ssize_t can be 32 or 64 bit (depending on platform), so just casting
that to a int in this case since we aren't going to read in > 2^32-1 bytes.
close ticket:3080
2012-01-26 21:29:22 -05:00
vexed 4093734463 Should fix text that would overlap borders in lobby screen.
Fixes ticket:3072
2012-01-26 21:15:36 -05:00
vexed 4ed75e90dc Clean up sockets. This should fix not being able to host immediately after you look for a game in the lobby. 2012-01-26 21:15:36 -05:00
vexed 47c66501c1 Clarify what we are doing with the server. (no logic changes) 2012-01-26 21:15:35 -05:00
safety0ff aea38d9d7a Fix more loading screen flickering. 2012-01-26 12:11:50 -05:00
Per Inge Mathisen a9cf6a2aec qtscript: Trigger eventObjectTransfer also for take-over of buildings.
Document how it relates to the built events.
2012-01-25 23:30:47 +01:00
Per Inge Mathisen 2f9a556715 qtscript: Send event if object is transferred between players, and
add .damageable property to features to tell if they can be destroyed
or not.
2012-01-25 22:58:04 +01:00
safety0ff 1a9d8ca024 Reset depth test settings after screen upload.
Remove random depth test state change.

Fixes #2358.
2012-01-25 01:48:30 -05:00
safety0ff 5ad1ad6140 Swap buffers after drawing instead of before.
Fix loading screen flicker.
Change silly invalid backdrop texture id.
Make loading screen appearance more uniform and more like in 1.10.

Closes #3059.
2012-01-24 23:34:41 -05:00
Per Inge Mathisen d8be40c772 qtscript: Document that some new enums are only available in master. 2012-01-24 21:35:16 +01:00
Per Inge Mathisen bff87b1319 qtscript: stattype of the lassat building is now LASSAT. Added embark and disembark orders. 2012-01-24 20:41:59 +01:00
vexed e6c4730062 Fix case where we are getting a connection, but no data is transfered.
This is a partial revert of 5eac7e75e6
since it seems this was the main issue everyone was having while
hosting a game. (It would show odd version mismatch errors in the log)

A full revert may be needed, more testing of hosting & connecting to games
both via lobby and direct IP needed.
2012-01-23 23:13:21 -05:00
vexed a59a06ec6c Update project files broken from:
2f84b60214
2012-01-23 18:38:11 -05:00
cybersphinx 605076bf2d Disable compiler warnings for quesoglc. 2012-01-21 21:59:44 +01:00
dak180 4299a568b2 Fix an error when building from the tarball. 2012-01-21 13:44:46 -05:00
Per Inge Mathisen 9994072739 Fix bug that I introduced that makes multiplayer games impossible to start. 2012-01-21 19:09:08 +01:00
cybersphinx fadffc0556 Hungarian translation update by mtomi78.
Closes #3031.
2012-01-21 18:58:43 +01:00
cybersphinx 22e50cc5c0 Update translations. 2012-01-21 18:53:16 +01:00