Commit Graph

3128 Commits (d1e2f1a2cb4ca989956e92d6f6009985773f0997)

Author SHA1 Message Date
Cyp 0aeda2baa2 Use version_getVersionString() for net version.
Since any change that affects game state breaks synchronisation,  and most changes
break  synch,  and it's not  convenient for  most commits  to bump  the version in
netplay.cpp, it's probably a good idea to announce the exact version when hosting.
2011-12-08 12:36:24 +01:00
Cyp 5461ef45bd Reorder GAME_* messages.
The GAME_* messages should now be better sorted by whether or not they are useful.
2011-12-08 12:04:37 +01:00
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 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
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 fb78afcdae Remove unused global loopTileCount 2011-12-02 14:29:21 +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 a370b0b6a6 Simplify pie_DrawShadow(), and make it more efficient. 2011-11-27 13:44:35 +01: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
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
Per Inge Mathisen 2e5451cb71 Make sure that F12 move-position-to-last-message does not reset map in (0, 0) position
when sound is turned off.
2011-11-12 17:22:21 +01:00
vexed 41515b089b More fixes to the MSVC build system 2011-11-08 21:41:58 -05:00
vexed de28a736ef Updates for the red headed stepsister.
Refs #2936.
2011-11-08 14:01:40 +01:00
cybersphinx 8581c9a29f Use automake's builtin lex/yacc handling.
Original patch by cazfi
(http://forums.wz2100.net/viewtopic.php?p=88749#p88749).

Refs #2936.
2011-11-08 14:01:06 +01:00
Cyp a63604fd15 power: Display power needed to start production in interface. 2011-11-07 21:10:37 +01:00
Cyp b780ec8d25 power: Spend all power at start of construction, instead of during. 2011-11-07 21:10:37 +01:00
cybersphinx 588978ae40 Set keyboard/mouse state to KEY_UP when losing input focus.
See 4f0429e212a43697a8b25ab7ed8722fc82db98ee which got lost somewhere in
the qt merge. Refs #515, closes #2887.
2011-10-30 22:26:35 +01:00
Cyp f4dba73b0c Add ETA to production and research progress bars.
Should make it easier to answer, when people ask you “How long until ripples are ready?”.

Clarity-enhancing suggestions by cybersphinx.
2011-10-30 16:32:10 +01:00
cybersphinx 73c1d98637 Make texture compression optional.
Two variants:

1. Use the --notexturecompression command line option.

2. Put "notexturecompression=1" into the config file. Can be overridden
with the --texturecompression command line option.

Closes #2864.
2011-10-30 14:41:10 +01:00
dak180 5c700b8a2b Get rid of unnecessary files.
Change the way the xcode project runs moc to not require additional files.
2011-10-29 16:47:27 -04:00
Per Inge Mathisen da765d2670 Fix problems with saving and loading wzscript in ini format. 2011-10-23 23:14:17 -04:00
Per Inge Mathisen 3a89d6e2cc This should fix the problems with scripts being broken due to different interpretations
of the bool size. And should make debugging script save issues somewhat easier. The savegame
format itself is not very pretty, but it is not meant to last. This breaks all existing
savegames. Closes ticket:2923.
2011-10-22 20:28:51 -04:00
Per Inge Mathisen ec99463ebf wzscript cleanup 2011-10-22 13:38:04 -04:00
Per Inge Mathisen 0555f02411 wzscript cleanup 2011-10-22 13:25:41 -04:00
Per Inge Mathisen c0fec82d43 Slight cleanup of fog setting code 2011-10-16 20:01:30 -04:00
Per Inge Mathisen 55a6259b12 Add support for ECM jammers. ECM jammers will significantly shorten the range
of vision of enemy units and buildings. Not enabled by default. This simplifies
the vision code, merging terrain discovery and object vision, fixing ticket:2917
in the process. Closes ticket:340. Radar detector changed, no longer does
targetting, but allows discovery over 5x longer range instead, and can discover
ECM emissions.
2011-10-16 15:01:58 -04:00
safety0ff 8f8b9e75f7 Fix bug with Affine3F::translation(). 2011-10-13 22:23:28 -04:00
Per Inge Mathisen 13be294b85 Increase the max number of textures in the game from 128 to 255, as requested by our esteemed artists. 2011-10-13 00:09:51 -04:00
dak180 19f7851c00 Make sure that PACKAGE stings get defined even without the presence config.h.
This should make MSVC builds work again.

Fixes #2897.
2011-09-25 14:29:06 -04:00
cybersphinx 2dbd06e9b1 Get rid of the unmaintained makefile.win32s.
Closes #2900.
2011-09-25 19:58:13 +02:00
NanoTech 4d589a95b3 Settable screen resolution on Mac OS X.
Also, only show resolutions available for
the main window's screen.
2011-09-23 22:38:01 -06:00
NanoTech 28b31b22d6 Set a window title. 2011-09-22 00:32:36 -06:00
cybersphinx 118a58b070 Include wzapp.h.qwth/qtgame.h.qwth from the right Makefile.ams. 2011-09-15 23:54:15 +02:00
cybersphinx 7b13a1e0fa Remove stray backslash. 2011-09-15 23:19:38 +02:00
dak180 30a429ce0d Make sure that Mac builds work from the tarball. 2011-09-15 12:29:26 -04:00
NanoTech b30d3ae526 cocoa_wrapper, macosx_screen_resolutions: Move to EXTRA_DIST 2011-09-14 21:38:44 -06:00
NanoTech 03681c62a4 Fix typo in lib/qtgame/Makefile.am. 2011-09-14 19:05:50 -06:00
NanoTech a9925074c7 Move cocoaAppendAvailableScreenResolutions to lib/qtgame. 2011-09-14 17:09:48 -06:00
NanoTech 6feee75494 Fix compilation of OS X screen resolution code with the 10.5 SDK. 2011-09-14 16:43:29 -06:00
NanoTech 5efce67461 Add cocoa_wrapper.* to lib/framework/Makefile.am 2011-09-13 15:35:42 -06:00
NanoTech 5eadd17340 Detect available screen resolutions on Mac OS X. 2011-09-12 01:09:40 -06:00
cybersphinx 9a72ebd45f Really don't include moc'ed files in the tarballs.
Really fixes #2846.
2011-09-07 21:15:05 +02:00
Per Inge Mathisen b6112ae391 Remove some unused code 2011-09-03 21:26:20 -04:00
vexed f31e223626 Fix all builds, they should now all compile assuming everything is set up correctly.
You have both Debug & Release builds, using MS's STL, and the you have Debug & Release builds using STLport.
The STLport version is prefered.
2011-09-03 00:21:40 -04:00
vexed 0e50bcb29e update MSVC project files 2011-09-02 22:52:47 -04:00
Cyp 16c8d06caf Fix number pad on non-macs. 2011-09-02 18:46:50 +02:00
Cyp 86c9451525 Show planned structure blueprints to allies. 2011-09-02 18:35:01 +02:00