8aa016a884
Changes graphics card name detection on Windows to use OpenGL, as a workaround for certain WMI related crashes on Nvidia Optimus and netbook systems. Fixes #1952 , #1575
...
This was SVN commit r13536.
2013-07-06 18:30:29 +00:00
02b98f3acd
Fixes build with x11 and SDL2
...
This was SVN commit r13485.
2013-06-17 01:43:57 +00:00
e75877b52f
Adds comment about xorg-x11's glXGetProcAddress not returning NULL for unsupported functions, closes #171
...
This was SVN commit r13480.
2013-06-14 23:49:20 +00:00
2567fee329
Write mod data correctly. Fixes #1940 .
...
This was SVN commit r13472.
2013-06-11 20:50:09 +00:00
b3391ebe39
Fix build warnings. Patch by Markus. Refs #1851 .
...
This was SVN commit r13469.
2013-06-11 00:05:57 +00:00
d2b0d25457
Fixes macro redefinition of FACILITY_VISUALCPP in VC2012 (it's defined in winerror.h).
...
Removes obsolete hack for old Boost and VC2005 (broke VC2005 build with
modern Boost).
This was SVN commit r13433.
2013-05-28 01:14:41 +00:00
a8a968d32c
Catch exceptions by reference (by convention), based on patch from Markus, refs #1852
...
This was SVN commit r13421.
2013-05-22 22:27:53 +00:00
284e9cd230
Improves frame rate counter to give smoother results, patch by sbte. Fixes #1016
...
This was SVN commit r13204.
2013-02-26 21:50:38 +00:00
2f19cf86d3
Fix mod priority. Add user mod support. Fixes #1838 .
...
This was SVN commit r13167.
2013-02-14 00:40:02 +00:00
3e8bdebc6d
Add Clang detection and add BSD to the collected stats.
...
This was SVN commit r13111.
2013-01-23 16:01:17 +00:00
c037e3f78e
Add detection of Win8 in wversion, to help stats collection
...
This was SVN commit r13100.
2013-01-21 20:32:07 +00:00
d65c7751a5
Updates bundled libpng to v1.5.13, built with VC2008 - requires update-workspaces. Refs #864
...
This was SVN commit r13035.
2013-01-03 17:22:14 +00:00
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
e91a918164
Fixes race condition in EnsureMonotonic on 32-bit builds, which was causing unreliable timer behavior, fixes #1729
...
This was SVN commit r12927.
2012-12-03 13:24:12 +00:00
9d0da11eab
Fixes compile error introduced in 3787f17e4d
...
This was SVN commit r12909.
2012-12-01 20:34:35 +00:00
308db6627a
fix synchronization of TimerState (refs #1729 )
...
This was SVN commit r12908.
2012-12-01 06:33:30 +00:00
3787f17e4d
merge with local codebase: fix PopulationCount
...
This was SVN commit r12907.
2012-12-01 03:06:24 +00:00
9001cba02c
fix: remove unnecessary failure check concerning window class atom. fixes #1729
...
This was SVN commit r12906.
2012-12-01 02:34:19 +00:00
1fb7889539
Postproc manager
...
This was SVN commit r12755.
2012-10-15 10:34:23 +00:00
5cff74f4e7
Replaces FAM file monitoring with inotify on Linux, based on patch by noKid. Fixes #1316 , refs #1687 .
...
Removes FAM dependency.
This was SVN commit r12726.
2012-10-02 00:03:14 +00:00
fcf09598d9
Temporarily disabling FAM for Alpha 11 because it can cause problems on Ubuntu and hotloading doesn't seem to work anyway at the moment.
...
Known problems with FAM:
- System hangs at shutdown
- Assertion failure at startup in debug mode
This was SVN commit r12550.
2012-08-29 21:22:57 +00:00
e485fb9e2c
Implements copy/paste for OS X using NSPasteboard including pre-10.6 API support. Fixes #1326
...
This was SVN commit r12464.
2012-08-18 19:47:55 +00:00
011ba8255e
New sound system implementation by stwf, refs #1223 , #961 .
...
Enables audio on OS X, refs #685 , #931 .
Fixes music not playing after a game, refs #946 .
This was SVN commit r12428.
2012-08-15 00:10:44 +00:00
20d75a3880
Free cursors before shutting down SDL. Fixes #1355 .
...
This was SVN commit r12271.
2012-08-03 16:48:02 +00:00
2c8adb1aea
Adds support for Boost.Filesystem v3, the only option in Boost 1.50. Fixes #1527 . Refs #1360
...
This was SVN commit r12229.
2012-07-29 23:04:22 +00:00
574f4db8ab
Fixes font texture handling to use format auto-detection when possible, based on patch by Deiz/F00. Fixes #1508
...
This was SVN commit r12073.
2012-07-05 01:05:09 +00:00
637c09b204
Add support for OpenBSD. Fixes #1463 .
...
Backport os_getversion from premake4.4-beta4 and extend it to support
POSIX-compilant systems.
Add some missing newlines at the end of file as these cause warnings on
OpenBSD.
Update the config paths.
This was SVN commit r11970.
2012-06-13 20:43:56 +00:00
fbc3cbad7c
Fix handling of non-ASCII paths on Unix
...
This was SVN commit r11839.
2012-05-11 14:30:15 +00:00
37a5bedb81
Adds partial support for Debian GNU/kFreeBSD, based on patch by vincent. Refs #1322 .
...
This was SVN commit r11781.
2012-05-07 01:53:35 +00:00
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
ffc89ee1af
Adds some OS X availability macros to support 10.5 SDK. Not foolproof but good enough for now.
...
This was SVN commit r11757.
2012-05-05 03:18:22 +00:00
b101f5ad01
Adds hardware cursors for Linux and OS X. Requires libxcursor on Linux. Fixes #748 .
...
Adds explicit links to frameworks we need on OS X.
This was SVN commit r11596.
2012-04-21 07:53:53 +00:00
769350a3e7
Compute camera height and zoom limits based on smoothed terrain heightmap. Fixes #794 , based on patch by Dietger.
...
This was SVN commit r11556.
2012-04-18 20:39:00 +00:00
ce215cace3
Add support for custom vertex attributes and array-of-matrix uniforms in GLSL.
...
This was SVN commit r11489.
2012-04-12 14:10:02 +00:00
0fda0019d1
Updates data paths on OS X and Windows. On OS X only write to locations inside ~/Library. On Windows make the distinction between local and roaming appdata, and use folder inside My Documents for user-created data. Fixes #1145 .
...
Adds proper OS X app bundle support.
Updates Windows installer script.
This was SVN commit r11389.
2012-03-22 00:23:31 +00:00
36107cb7e1
GLES compatibility for particles and shadows.
...
Fix invalid enum errors.
Fix shader texture binding.
This was SVN commit r11372.
2012-03-19 21:10:14 +00:00
8c6231f940
Fix black-square cursor on 16bpp Windows
...
This was SVN commit r11371.
2012-03-19 20:46:12 +00:00
6fc508f662
Fix non-PCH build.
...
Fix typo.
This was SVN commit r11327.
2012-03-13 21:39:01 +00:00
2afc4d9d8f
Fix #1140 (signedness warning on some platforms).
...
This was SVN commit r11251.
2012-03-05 17:05:02 +00:00
7fa6afac37
Corrects some Doxygen comments and adds a few others of interest.
...
This was SVN commit r11209.
2012-03-01 03:55:05 +00:00
5009636e39
Improve Android compatibility.
...
Basic touchscreen input for testing.
Better GLSL support for map rendering.
This was SVN commit r11155.
2012-02-25 17:29:27 +00:00
4c43d1f9c5
Fixing building with older versions of Boost
...
This was SVN commit r11083.
2012-02-16 18:01:10 +00:00
7656ffa265
Be more informative about errors in CreateDirectories
...
This was SVN commit r11082.
2012-02-16 13:50:31 +00:00
832a51da80
GLSL text support
...
This was SVN commit r11080.
2012-02-15 21:53:13 +00:00
20d23eb340
Sysdep code for Android/ARM
...
This was SVN commit r11075.
2012-02-15 15:40:31 +00:00
f4625e69af
Partial Android compatibility.
...
Remove unnecessary VM allocation (which seemingly causes problems on
Android due to mmap during static initialization).
Allow building without NVTT.
This was SVN commit r11074.
2012-02-15 13:58:58 +00:00
9972eb8cae
Enough GLES compatibility to reach the menu screen
...
This was SVN commit r11064.
2012-02-13 20:53:24 +00:00
677ccf53e6
Yet more GLES compatibility
...
This was SVN commit r11061.
2012-02-13 16:41:17 +00:00
a9eca31bad
Even more GLES compatibility
...
This was SVN commit r11060.
2012-02-13 15:06:25 +00:00
4bf59b9a7d
More GLES compatibility, mainly around terrain rendering.
...
This was SVN commit r11059.
2012-02-13 14:02:14 +00:00
baff889321
Fix invalid varargs
...
This was SVN commit r11054.
2012-02-12 21:05:13 +00:00
531b40578a
More GLES compatibility.
...
Add config option to disable hardware cursors on Windows.
This was SVN commit r11053.
2012-02-12 20:45:31 +00:00
db85833655
More GLES compatibility.
...
Move more rendering code to shader API.
This was SVN commit r11050.
2012-02-12 13:20:49 +00:00
a3f168b887
Initial support for GLSL generic vertex attributes in shader API, for GLES compatibility.
...
Specify GLSL version in shader files, for better error detection.
This was SVN commit r11040.
2012-02-09 17:55:25 +00:00
3fab2729b5
Partial SDL2 compatibility
...
This was SVN commit r11033.
2012-02-06 22:47:35 +00:00
0f4928bd0a
Use dummy IO tracer, to avoid overhead of storing data that will never be used. (See #1143.)
...
This was SVN commit r11007.
2012-02-02 23:12:36 +00:00
41e3bad341
More build fixes for FreeBSD.
...
Adds BSD sysdep.
Adds support for MAKE variable, overriding make command in our build
scripts.
Fixes more files not ending with newline.
This was SVN commit r10994.
2012-01-31 00:06:56 +00:00
5cdb2ebd70
Fix cursor winding
...
This was SVN commit r10992.
2012-01-30 12:13:43 +00:00
fc27a5c0ea
More FreeBSD build fixes.
...
Fixes some warnings about files that don't end with newline.
This was SVN commit r10991.
2012-01-30 06:21:11 +00:00
cc5a0fba4e
Use shader API for GUI text.
...
Flip GUI quads so we don't have to disable back-face culling.
This was SVN commit r10989.
2012-01-30 00:27:23 +00:00
8be430eb30
Remove obsolete ogl_shader
...
This was SVN commit r10984.
2012-01-29 12:23:16 +00:00
adbd7633dd
# Initial GLSL rendering support
...
This was SVN commit r10978.
2012-01-29 01:22:22 +00:00
63e151fbd5
Slightly more Android compatibility
...
This was SVN commit r10975.
2012-01-28 16:38:21 +00:00
d068c1dd09
Fix build with old versions of Mesa
...
This was SVN commit r10936.
2012-01-19 18:23:54 +00:00
95e6673ed4
Fixes include in wsdl.
...
This was SVN commit r10932.
2012-01-18 22:51:49 +00:00
8099388bec
final sync with work - add VECTOR_ALIGNED, fix wsdl to match new SDL include path
...
This was SVN commit r10926.
2012-01-18 15:36:44 +00:00
182bf2b4af
Vague start at hypothetical Android support
...
This was SVN commit r10923.
2012-01-17 22:05:43 +00:00
e64a3d3946
Experiment a little with OpenGL ES
...
This was SVN commit r10915.
2012-01-15 23:15:31 +00:00
1389e754de
Include *.DELETED files when building archives. See #1110 .
...
This was SVN commit r10907.
2012-01-14 18:46:20 +00:00
893cb2668e
Renames our sdl.h to libsdl.h, to avoid case sensitivity errors when it includes SDL.h.
...
This was SVN commit r10904.
2012-01-12 23:32:27 +00:00
ed237ff1a6
Implements GetVideoMode on OS X (10.6+ compatible), based on patch by Echelon9. Fixes #847 .
...
This was SVN commit r10897.
2012-01-11 23:41:59 +00:00
6bb54ee1d4
Fix Windows build
...
This was SVN commit r10896.
2012-01-11 23:04:33 +00:00
d07eac218c
SDL 1.3 build fixes.
...
Support SDL_CONFIG environment variable in update-workspaces to pick
non-default sdl-config.
Avoid non-standard use of SDL/ in include paths.
This was SVN commit r10895.
2012-01-11 22:50:39 +00:00
6f2eec3c2e
Fix warnings
...
This was SVN commit r10867.
2012-01-04 13:19:38 +00:00
8b6a3923d3
instead of wcscasecmp, use std::string operator< (i.e. case-sensitive comparison)
...
closes #1036 (see rationale/discussion there)
This was SVN commit r10862.
2012-01-04 00:25:34 +00:00
785b6efa4b
by default, don't attempt to start the aken driver
...
addresses security concerns
[http://www.wildfiregames.com/forum/index.php?showtopic=15482 ]
This was SVN commit r10858.
2012-01-02 23:38:46 +00:00
0ec4242962
Detect and fix printf signedness errors. Fixes #1086 , #1087 .
...
This was SVN commit r10846.
2012-01-01 16:43:10 +00:00
cc405939c2
Fix #1085 (incorrect buffer size), based on patch by Echelon9
...
This was SVN commit r10845.
2012-01-01 14:42:58 +00:00
325c344ddd
increase size of error message buffer, don't complain about "invalid image hash" (known issue with aken.sys on Win7 x86).
...
fixes #1083
This was SVN commit r10834.
2011-12-29 20:15:47 +00:00
78ba79209d
more minor fixes. rename uname.machine to x64 (less confusing than amd64)
...
This was SVN commit r10827.
2011-12-29 09:47:42 +00:00
23308f0259
wsdl: add error checks, add support for bpp in sdl_surface
...
This was SVN commit r10826.
2011-12-29 09:01:09 +00:00
1e210165f2
Fix some MSVC static analysis warnings
...
This was SVN commit r10825.
2011-12-29 02:06:09 +00:00
9ef1cd8ba8
Avoid the deprecated (and fallible) SHGetMalloc, per current MSDN documentation
...
This was SVN commit r10824.
2011-12-29 01:50:18 +00:00
6ac6d4f1ec
Fix #1062 (incorrect check for empty string), based on patch by Echelon9
...
This was SVN commit r10821.
2011-12-29 01:07:20 +00:00
52756535f3
Fix crash in GL_EXT_timer_query profiler
...
This was SVN commit r10819.
2011-12-28 22:00:52 +00:00
c134221739
minor fixes
...
waio: ensure error is disk_full on failure
cache_adt: scaffolding code wrongly used std::remove_if instead of
list::remove. thanks to Echelon9 for catching this! fixes #1063
This was SVN commit r10818.
2011-12-28 11:21:05 +00:00
0d05c96be2
[gcc] compile fix.
...
fixes #1074
thanks to Echelon9!
This was SVN commit r10816.
2011-12-27 18:56:20 +00:00
3537ae31d5
sync with work:
...
x86_x64: update MSR definitions to include model 2F (westmere ex);
update bus clock computation for sandy bridge; remove unused
cpu_Serialize; use namespace, add model names
mahaf: cope with stricter security for services/drivers
ApicId -> GetApicId, move to apic module
aken: add batch file to install driver (optional)
This was SVN commit r10815.
2011-12-27 14:12:31 +00:00
587487811b
Fixes typo in pool allocator stats, based on patch from Echelon9. Fixes #1061 .
...
This was SVN commit r10799.
2011-12-23 03:54:36 +00:00
2bc2666e4e
sync with work - minor fixes
...
This was SVN commit r10770.
2011-12-19 11:55:30 +00:00
286ce58b1c
more restrictive permissions required by tightened vista/win7 security (still unable to launch services without admin - but could install them once)
...
This was SVN commit r10762.
2011-12-18 12:21:57 +00:00
36ef0a376d
workaround hardware/BIOS craziness
...
fixes #1047
This was SVN commit r10754.
2011-12-17 20:41:32 +00:00
f4e46d166d
sync with work; minor fixes (wsdl must report gfx memory in KB to match sdl)
...
This was SVN commit r10678.
2011-12-06 09:17:39 +00:00
24aa71b566
safely handle the case where an archive required for populating a directory cannot be opened (e.g. because it is open within 7-zip, which apparently wants exclusive access)
...
fixes #1021
This was SVN commit r10631.
2011-11-29 16:51:58 +00:00
b1fa90b8ef
Use a deterministic order when loading multiple archive files from within a single mod
...
This was SVN commit r10620.
2011-11-27 17:33:42 +00:00
301854702c
add support for removing individual files from VFS and a mechanism for automatically doing so (add filename.extension.DELETED to the same directory/archive), as discussed in meeting.
...
refactor: split up Invalidate into RemoveFile+RepopulateDirectory
GameSetup: fix: ensure the first mod always overrides game files,
irrespective of timestamp.
This was SVN commit r10610.
2011-11-26 18:37:53 +00:00
fbff0aa98d
Fix printf argument types
...
This was SVN commit r10529.
2011-11-13 18:31:06 +00:00
f865401136
Detect allocation failure
...
This was SVN commit r10520.
2011-11-12 23:57:33 +00:00
70224e7940
Fix missing symbols in old glext
...
This was SVN commit r10515.
2011-11-11 11:56:51 +00:00
cfb79c3062
# Add GPU performance profiling support.
...
Add some profiler region attributes.
Render events in profile visualiser.
Change profiler from GPL to MIT.
This was SVN commit r10492.
2011-11-09 13:09:01 +00:00