Commit Graph

10617 Commits (a58591d74cfd851b0d23db51205722e08034e1b6)

Author SHA1 Message Date
Cyp a58591d74c Add debugBacktrace() for easier debugging. 2011-12-04 23:03:03 +01:00
dak180 e5d7318b0c Speed boosts (for the mac build times).
Also PBXBuildRules simplification.
2011-12-04 14:23:43 -05:00
Cyp 48eda8df50 Preview maps when hovering over them. 2011-12-04 11:09:48 +01:00
Cyp 5718af7bd7 Show preview of the right map, in single-player skirmish. 2011-12-04 09:38:34 +01:00
cybersphinx 695fe5fbd2 Update translations. 2011-12-03 19:47:58 +01:00
Cyp f2ff7ead52 Fix desynch on deleting templates.
Introduced in 9474ae3715
2011-12-03 19:20:29 +01:00
Per Inge Mathisen a0f13ff73e Fix error using uninitialized variable if error was detected, when trying to report said error. Error in error reporting reported by Cyp. 2011-12-03 19:13:39 +01:00
Per Inge Mathisen 482600d10a Add some more logging to debug problems with building placements in scripts 2011-12-03 18:47:37 +01:00
Per Inge Mathisen 5885b05129 Add comment to explain why structures are sometimes drawn as blips 2011-12-03 18:35:39 +01:00
Cyp 33ab0461bd Magically fix weird random lighting with -Os and g++-4.5.3.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51392
2011-12-03 11:17:06 +01:00
Cyp 9474ae3715 Reduce dependence on MAX_FACTORY.
Fixes some assertions on some maps.
2011-12-03 11:15:32 +01:00
dak180 8ee9e6747e Change The copyright dates that get displayed. 2011-12-02 16:04:04 -05:00
cybersphinx 7649bfe276 Fix make aborting when wkhtml is not found.
Patch by cazfi. Closes #2956.
2011-12-02 21:59:26 +01:00
Cyp 7e19420a7d Add early out for inQuad. 2011-12-02 17:48:00 +01:00
Per Inge Mathisen b1fec2e8ad Remove assert failures if templates do not have string names. 2011-12-02 16:43:42 +01:00
Per Inge Mathisen e15eaa349f Make sure Nexus and Semperfi land AIs research half-tracks early on.
Closes ticket:2953 reported by NoQ.
2011-12-02 16:20:03 +01:00
Per Inge Mathisen d818ff5a19 Remove hard-coded limits on number of research items and their properties.
The fields that require you to specify beforehand how many properties of each
kind each research item will have in research.txt are no longer used. Patch
reviewed by Cyp.
2011-12-02 14:29:21 +01:00
Per Inge Mathisen fb78afcdae Remove unused global loopTileCount 2011-12-02 14:29:21 +01:00
Per Inge Mathisen ba3b19b159 Remove unused moveUpdateBaseSpeed(), redundant with logical updates. 2011-12-02 14:29:20 +01:00
Per Inge Mathisen 9426f17963 Simplify the framerate calculation 2011-12-02 14:29:20 +01:00
Cyp eab15fdbd4 Use glcMeasureString instead of glcMeasureCountedString to avoid excessive valgrind warnings.
Triggered when typing unicode (and pressing Enter).
2011-12-02 10:58:15 +01:00
Cyp 71a614caeb Show module blueprints with the same orientation as the structure.
Even if the structure is rotated.
2011-12-01 22:39:35 +01:00
cybersphinx 1f194e78f3 Fix wall and vtol factory models. 2011-12-01 21:32:56 +01:00
Cyp aa8b290324 walls: Add ┴ and ┘ shaped walls.
You can now build walls shaped like
┌─┐ │
│ ├─┘
│ │
instead of
┼─┼ │
│ ┼─┼
│ │
like it used to be.

The blwallh_[tl].pie files will need cleaning up.
2011-12-01 16:35:30 +01:00
Cyp ae2896fcb1 Fix loading/saving of rearm functionality. 2011-12-01 16:34:57 +01:00
Cyp 999b559af3 When building a module, don't visually rebuild the whole building. 2011-12-01 13:33:31 +01:00
Cyp af8088f61f Add code for displaying VTOL factory modules on VTOL factories.
The new vtolfactory[12].pie files need updating, since they are currently just the regular factory modules.
2011-12-01 13:00:32 +01:00
Cyp e0362c3639 Don't pathfind through unfinished gates, since they can't open. 2011-12-01 12:29:50 +01:00
cybersphinx de1a96e2f2 More model fixing. 2011-12-01 02:03:25 +01:00
Cyp 9f497c6e1b Revert "Use a grayscale texture for lightmap."
This reverts commit ee40d2147b.

This broke the red effects on the terrain from lassat and flamers.
2011-12-01 00:51:40 +01:00
cybersphinx 84eb46fa53 Fix factory, research and power generator models. 2011-11-30 23:45:04 +01:00
safety0ff ee40d2147b Use a grayscale texture for lightmap.
Patch reviewed by per.
2011-11-30 16:05:26 -05:00
Cyp e02cb38ac0 Simplify module model code, display correct module in blueprints.
The new module pie files will need cleaning up.

Fixes ticket:2954.
2011-11-30 19:13:46 +01:00
Cyp 4b08dd0b0c Make droids spin on spot when turning large angles.
Original patch by Per.

Closes ticket:1691.
2011-11-29 09:59:05 +01:00
cybersphinx a21c620ba8 Fix oil derrick textures. 2011-11-29 02:22:07 +01:00
cybersphinx eae0650a57 Keep built files out of the main directory. 2011-11-28 22:45:50 +01:00
cybersphinx b902940eee Update ChangeLog. 2011-11-28 02:03:10 +01:00
Cyp 0a13e91cf7 Don't warn the user that they might be previewing a map. 2011-11-27 22:07:29 +01:00
Cyp a370b0b6a6 Simplify pie_DrawShadow(), and make it more efficient. 2011-11-27 13:44:35 +01:00
cybersphinx dd4b5322e9 Make simplipie not output spaces at the end of vertex lines. 2011-11-27 02:22:43 +01:00
cybersphinx a617fb99bb Fix texturing of the Power Module. 2011-11-27 02:22:43 +01:00
dak180 06a61f011b Small correction to the sed revision processing. 2011-11-26 16:11:10 -05:00
Cyp 5cb84fc273 Try to fix displaced window content on 2% of startups.
Don't know why this seems to work.
2011-11-26 21:49:28 +01:00
Cyp 2f816f5bf4 Re-add and fix up fallback for 1.4 ≤ OpenGL < 2.0.
Patch by some linear combination of safety0ff, cybersphinx and Cyp.
2011-11-26 19:48:04 +01:00
cybersphinx f5a4ceca79 Teamcolourify the Cyborg Factory.
Also fix up the normal Factory a bit since it uses the same textures.
2011-11-26 18:57:10 +01:00
Cyp 828fea7ba0 Try to improve obstacle avoidance.
Droids still try to ram each other, though.
2011-11-26 17:37:46 +01:00
safety0ff 454c86348e pie_SetTexturePage is implemented for 1 texture unit, don't use it to bind textures to other ones. 2011-11-25 16:51:55 -05:00
Cyp 2b928d2f29 Update lightmap even when game is paused.
Lightmap was updating every game tick, instead of up to once every 80ms of real time as was intended.
2011-11-25 10:23:42 +01:00
Cyp db864047f7 Make newly-built structures and droids instantly visible to allies.
This prevents ally blueprints from disappearing before the structure is visible.

And fix DROID::seenThisTick uninitialised due to wrong memset, might have been a possible cause of desynch.
2011-11-24 17:32:01 +01:00
Per Inge Mathisen 7c3f9ba363 Fix null dereference crash, closes ticket:2949 2011-11-23 19:05:10 +01:00