Commit Graph

3008 Commits (ed753ff8c455fa5838799dab46f40120c2debde1)

Author SHA1 Message Date
cybersphinx ed753ff8c4 Fix Windows cross-build. 2011-07-05 02:43:43 +02:00
Per Inge Mathisen c07093a209 Remove complaint when WzConfig fails to open file that does not exist for reading. This is
(unfortunately) what QSettings occasionally does to check if a file exists.
2011-07-02 14:30:51 +02:00
dak180 1ef935e646 Get the qtgame project working in the mac build. 2011-07-01 19:50:49 -04:00
Per Inge Mathisen 4b8679b591 Fix mac compile errors and warnings. 2011-07-02 01:36:33 +02:00
Per Inge Mathisen d5001ccd54 Try again to fix mac/win compiles of qtgame 2011-07-02 01:21:23 +02:00
Per Inge Mathisen 89a758f280 Fix platform macros for qtgame module. Should now compile on Mac/Windows too. 2011-07-02 01:05:17 +02:00
Per Inge Mathisen 10a78a4a7e Merge in qtgame project and make use of its trap cursor support. 2011-07-02 00:25:14 +02:00
Buginator be2c105b7a Update build for Release builds & using STLport.
Update release builds to SSE2 + STLport.
2011-06-25 19:48:46 -04:00
Buginator b17aa1e7c8 Fix broken compile for MSVC
re: f02f606913
2011-06-20 22:27:41 -04:00
safety0ff c4539a463e Remove now unused functions to prevent future misuse.
Graphics functions should not be used for deterministic code.
2011-06-12 17:33:13 +00:00
safety0ff f02f606913 Make a fixed point 3D affine transformation class and use it to do muzzle calculations.
Fixes #2724.
2011-06-12 17:33:06 +00:00
Per Inge Mathisen 94c94304fb Simple cleanup of actionX|Y droid fields. Patch reviewed by stiv. 2011-06-12 16:24:48 +02:00
Per Inge Mathisen 060345a5e4 Fix pitch and yaw of loaded units, when loading maps. 2011-06-12 13:41:47 +02:00
Per Inge Mathisen 918594f00a Do not assert fail when a value is not present in savegame ini loading vectors. 2011-06-11 19:15:28 +02:00
Buginator 690b2ccfde Fix MSVC project files that were broken after the miniupnc move. 2011-05-27 20:44:58 -04:00
Per Inge Mathisen 10249e5095 Fix int overflow in radar blip drawing. Closes ticket:2731, reviewed by Safety0ff. 2011-05-22 14:37:53 +02:00
Per Inge Mathisen 8aca9437a4 Add support for normal map loading. (Note that normal map rendering is still not supported by shaders.) Patch reviewed by Safety0ff. 2011-05-22 13:59:30 +02:00
Rene Jochum 9930be667e Fix cross compile after the miniupnc move. 2011-05-22 04:32:13 +02:00
Rene Jochum 29bbd8fb3a Move lib/netplay/miniupnpc to 3rdparty/miniupnc on autotools and ...
hopefully MSVC.
2011-05-22 04:10:04 +02:00
dak180 888720d38e Move miniupnpc into 3rdparty and set up the xcode project. 2011-05-21 19:44:55 -04:00
Rene Jochum a17c8a3a19 Final fix for the radix character. 2011-05-18 23:55:09 +02:00
cybersphinx 4d21048973 Merge branch 't/master/sequencestuff' 2011-05-14 18:52:27 +02:00
cybersphinx 2ef1cb2939 Use better (?) locale names.
Hopefully fixes #1778.
2011-05-14 17:05:47 +02:00
cybersphinx b3c2fabf16 Scale the video subtitle font with the resolution used. 2011-05-13 22:55:17 +02:00
Per Inge Mathisen 2d1b6aa05a Remove dead code from fastplay 2011-05-08 14:10:48 +02:00
cybersphinx 2a637d009c Make YUV to RGB conversion work on big endian as well.
Refs #816.
2011-05-06 16:10:08 +02:00
cybersphinx 46695905ac Calculate the 50% scanlines with bit-fiddling. 2011-05-06 16:09:43 +02:00
cybersphinx f934b1bfc3 Add an option for scanlines when playing videos.
Shows either no, 50% dimmed or black scanlines. Disabled if the video texture
is too small (needs 2 * video height), or the video is shown so small that the
scanlines can't be noticed.

Refs #2095, #2686.
2011-05-04 23:47:08 +02:00
cybersphinx 0eae4cfc9a Optimize YUV to RGB conversion.
Refs #816.
2011-05-04 23:47:08 +02:00
cybersphinx 9c6eb54f54 Use quad instead of triangle strip to show videos. 2011-05-04 23:47:08 +02:00
cybersphinx 730371881c Make video display blurred instead of blocky. 2011-05-04 23:47:08 +02:00
cybersphinx 2e5b58d213 Make sure to deallocate video texture. 2011-05-04 23:47:08 +02:00
cybersphinx 36a2fe771c Increase video texture size to 1024x1024.
Refs #2682.
2011-05-04 23:46:44 +02:00
Rene Jochum ae62ec9be5 Remove debug line. 2011-05-04 01:58:10 +02:00
Rene Jochum 3f868107f3 Fix dead keys on Mac OS-X, research by dak180.
Fixes #2676
2011-05-04 01:54:32 +02:00
Buginator 199a6d3c27 Move GLEW out of the project, and put it into the dev-package instead. 2011-05-02 20:02:12 -04:00
Cyp 99394b816a Fix unneeded rounding errors. 2011-04-29 09:47:07 +02:00
Rene Jochum 4793a6a645 Fixes keybindings for numpad keys, arrow keys are numpad on the mac. 2011-04-29 00:48:58 +02:00
Buginator f8cc92dfd7 Demote Asserts() to LOG_INFO from LOG_ERROR, to prevent some end-user confusion.
We have 956 lines of LOG_ERRORs currently.
2011-04-26 22:49:39 -04:00
Buginator ce10843e02 Add a FSAA menu option.
NOTE: It is impossible to tell what the max level the card (drivers) supports,
without actually testing for said level.
2011-04-26 22:41:49 -04:00
Per Inge Mathisen 2769798d3d saveConfig() omits some values from saving, what leads to certain values ​​are reset to their default value. Initial patch by Fastdeath. Closes ticket 2670. 2011-04-26 22:51:35 +02:00
Per Inge Mathisen 4c673ebb09 Rearrange init sequence so that QApplication is run before i18n init. Fixes ticket 2566. 2011-04-26 22:44:03 +02:00
Buginator 140e707e5c Fix autohell's builds for mingw32
--fix by pabs3.
2011-04-25 22:16:53 -04:00
Buginator 75003517f9 This typo it brought to you by autohell'r'us, where the more difficult we can make it for the developer, the more they want to stick with us! 2011-04-25 21:38:21 -04:00
Buginator 2536b5f89f Might help if the copy & paste was what I wanted, not what it did. :P
Spotted by Safety0ff again.
2011-04-25 21:28:41 -04:00
Buginator a1bfd1f4c1 Fix {} to () spotted by Safety0ff. 2011-04-25 21:20:30 -04:00
Buginator fa91ccebb4 Only add the STATICLIB & _WIN32_WINNT defines for mingw builds
I would like to thank autohell for this commit.
2011-04-25 20:51:51 -04:00
Buginator 1c9bdd6f1b remove SDL flags, and add -D_WIN32_WINNT=0x0501 2011-04-25 20:06:37 -04:00
Buginator 5829d0a7ae MSVC fixes for miniupnp 2011-04-25 19:47:55 -04:00
Buginator 4680765ea9 Add lib iphlpapi for miniupnp
Fix define to STATICBUILD
2011-04-25 19:47:54 -04:00