Commit Graph

8469 Commits (e46b08f8e1f3b7de9eb20b4a8173e0ce093986bd)

Author SHA1 Message Date
Cyp 12e8e5bc80 Rename *.lex.c to *.lex.cpp and *.tab.c to *.tab.cpp. 2010-12-16 23:28:56 +01:00
Cyp 0646b37603 Rename *.c to *.cpp. 2010-12-16 23:28:56 +01:00
Cyp a2cd7b0592 Make everything compile successfully with g++, without -fpermissive. 2010-12-16 23:24:40 +01:00
Cyp 2bcb709cf4 Move broken dependency hack out of most Makefile.am's, except the for the root. 2010-12-16 23:14:38 +01:00
Cyp 10c8ebdd51 Fix strict-aliasing error when compiling. 2010-12-16 23:14:38 +01:00
dak180 ab1e0c269e Add actiondef.h to the xcode project. 2010-12-16 16:32:50 -05:00
Cyp 0fe191778b Actually check the mouse position when clicking, instead of just assuming people clicked wherever the mouse moves to later.
In theory, this should make the UI usable, even on machines that don't consistently get 10000 FPS.

Because WZ widgets are weird, just make the widgets pretend that the mouse stopped moving after clicking or releasing in a given frame.

If you click twice in the same frame, the second widget will still greedily steal the mouse click from the first widget.

Changelog: Try to improve UI responsiveness under low framerates.
2010-12-16 22:20:09 +01:00
Cyp 477cc3385e Fix weird delivery point placement for cyborg factories and repair facilities.
Changelog: Fixed delivery point placement for cyborg factories and repair facilities.
2010-12-16 22:20:09 +01:00
Per Inge Mathisen 17b834b2cf Merge store enums as enums changes from cyp/cpp to master. 2010-12-16 20:02:26 +01:00
Per Inge Mathisen 0e6cb3ef93 Fix apsOilList, splitting out apsExtractorLists, and using the latter in a few places. 2010-12-15 23:25:24 +01:00
Per Inge Mathisen 0ac282eca9 Revert "Remove all traces of the utterly useless apsOilList."
This reverts commit 71d5f82078.
2010-12-15 22:25:52 +01:00
dak180 f945dfc029 Be sure to use the right python. 2010-12-14 01:10:43 -05:00
dak180 117e50ef20 Some times being able to see the diffs for xcode files can be useful; continue treat them as binary for merges though 2010-12-13 20:11:37 -05:00
Cyp acf2d44f59 Make order lists synchronised.
After completing an order, droids now perform the next order in the list without network delay. Also, should fix missing orders when adding orders too fast.
2010-12-13 21:53:44 +01:00
Cyp ba1bd6b6d6 Revert removal of loading of psStats->incenTime, since it was actually used.
Was especially noticable in the case of plasmite bombs.

(Was part of 6bace8bdf5df6fb19df48bda4adce41704467aad.)
2010-12-12 17:33:40 +01:00
dak180 1e6bce9594 Merge remote branch 'refs/remotes/nanotech/master' 2010-12-11 11:52:33 -05:00
cybersphinx 25ba555351 Polish translation update by Emdek.
Closes #1347.
2010-12-11 17:00:36 +01:00
cybersphinx 4d31e379b5 Brazilian translation update by Tucalipe.
Closes #2387.
2010-12-11 16:53:55 +01:00
cybersphinx dd4391990d Get rid of a few unnecessary Makefile.ams. 2010-12-11 16:41:57 +01:00
cybersphinx f378c9eb2d Move download.pl from build_tools to win32. 2010-12-11 16:21:08 +01:00
cybersphinx f5db3a4b93 Update translations. 2010-12-11 16:05:29 +01:00
cybersphinx 7a672cab30 Fix includes for generated files. 2010-12-11 15:58:39 +01:00
NanoTech 3ccc629eab Replace legacy Carbon dialogs with Cocoa NSAlerts.
Also don't link the main binary with Carbon at all anymore.
2010-12-10 23:39:22 -06:00
NanoTech 8dc031917f Update the libpng download url. 2010-12-10 18:29:36 -06:00
dak180 28e3d447ee Merge commit '71d5f82078c251ac75125e60b7a63931516dfea2' 2010-12-10 15:18:48 -05:00
dak180 2ee40a6f91 Update Ogg to 1.2.2. 2010-12-10 15:08:30 -05:00
Cyp 71d5f82078 Remove all traces of the utterly useless apsOilList.
This deletion spree was inspired by the fact that the condition psStruct->type == REF_RESOURCE_EXTRACTOR can never be true for structures, since OBJ_STRUCTURE ≠ REF_RESOURCE_EXTRACTOR.
2010-12-10 16:38:25 +01:00
buginator 6f1584d262 update .gitignore again
refs ticket:2340
(cherry picked from commit 0a0fdadcb216ca21a6fcd95905d63a9dce6e5d1f)
2010-12-09 22:33:02 -05:00
buginator b1495d43b6 Trap the ASCII_NEWLINE to only work in non MP games, to prevent abuse. 2010-12-09 00:52:44 -05:00
Cyp d7af165df6 Try to prevent stuttering when scrolling, by re-adding a dedicated timer just for scrolling.
Don't ask why deltaRealTime isn't good enough for scrolling.
2010-12-09 03:34:54 +01:00
Cyp f6867f8775 Unify the two completely different subsystems for droids picking up oil barrels and droids picking up artefacts.
Fixes a desynch on picking up artefacts.
2010-12-08 18:07:02 +01:00
Cyp e39b23a437 Implement syncDebugFeature, to check that features are also in synch. 2010-12-08 18:06:33 +01:00
Cyp f5893a7fe5 Don't include backtraces in syncDebug CRCs.
This should allow using syncDebugBacktrace() without causing a desynch if some clients don't support them or print them differently.
2010-12-08 18:00:08 +01:00
buginator 707e7d45ee Update the player list on player name change.
fixes ticket:2338
2010-12-07 20:19:15 -05:00
buginator c687c16ee9 Tell people they will see glitches, instead of thinking that they have selective
color blindness for units / structures and don't have a openGL 2.0 card.
2010-12-07 20:17:50 -05:00
buginator f38d2d9d1a Don't pass a out of range reseachIndex to prevent array corruption.
Why it became out of range in the first place is unknown.

Closes ticket:2377
2010-12-07 19:09:27 -05:00
Per Inge Mathisen adea03a17c semperfi: Make several global variables local. 2010-12-07 22:10:21 +01:00
Per Inge Mathisen e2d83d483d Fix AI script event not triggering on production done. Also fix lack of UI updates when AI produces something. Thanks to Cyp for infinite reviews. 2010-12-07 21:58:37 +01:00
buginator 3161d5aabf Remove float from this side of the pond.
map_TileHeight() uses ints.
2010-12-06 21:51:31 -05:00
buginator ac6b928ad7 Fix map preview screen redrawing, broken in f2ae61805c
Add entries to palette.txt for the new colors used in map preview.
Draw location of oil features.

Changelog: Enhance map preview to show oil locations.
2010-12-06 21:14:06 -05:00
buginator 33d309ce92 Clarify the the numbers below the flag are for position, not player numbers. (cherry picked from commit 2b39ab4dea0860ac3251f94c15215b6084ad5b35)
Conflicts:

	src/multiint.c
2010-12-06 21:14:04 -05:00
buginator fe824ed1c0 Changelog: Show tooltips for player & tech level buttons.
We can't show tooltips on a unrelated context / form.
The side-efect of this is that if tabs are used, then the items rendered on
the first 'page' of the form don't get rendered on each addition page.
(cherry picked from commit 0c77b898c2ba0e6087099f9cc67e56755c83115c)
2010-12-06 21:14:02 -05:00
buginator c560f8a3e9 Fix typo 2010-12-06 21:14:00 -05:00
buginator 70d8c8d100 Fix SP color picking so it correctly uses the user's saved preferences (cherry picked from commit 29107a96d78b9b2ee1d24ee926f827b8b6467ea5)
Conflicts:

	src/frontend.c
2010-12-06 21:13:58 -05:00
buginator 03444f5cc5 Fix the single player color saving / loading. (cherry picked from commit 86cd2249e16019f03732160e3c6f8b33c0f8877e)
Conflicts:

	src/frontend.c
2010-12-06 21:13:56 -05:00
buginator 00c92cbdd7 Fix bug introduced in 09ea0be7c30236809536db332be78b2967d3114d Changelog: Fix kicking of non-hosts who didn't have default color values.
Only change colors if you are the host on the setup screen.
Fixes ticket:2329
(cherry picked from commit fd2843e6431e43cc72b635c422fd18bb19d42c47)

Conflicts:

	lib/netplay/netplay.c
2010-12-06 21:13:54 -05:00
buginator 0049223ccb Use the host's SP color as the default color when hosting games. (cherry picked from commit 09ea0be7c30236809536db332be78b2967d3114d)
Conflicts:

	lib/netplay/netplay.c
2010-12-06 21:13:52 -05:00
buginator 011546edce Never, EVER, allow users to control the transport in the campaign. It will screw up the scripts. (cherry picked from commit 92256b2e8906c15acd418417a6628e8c38e4a918) 2010-12-06 21:13:50 -05:00
buginator 1427fe59f6 Fix setting the game type for jump starting campaign levels (cherry picked from commit c02d49f82d047eaddd725939a959269d11f6e7e5) 2010-12-06 21:13:48 -05:00
buginator a5558f4bc3 Don't send stats for players that are not in game. (cherry picked from commit 2c68a674d33048a9927ac46d7c6f38a2c98fea75) 2010-12-06 21:13:46 -05:00