Ykkrosh
dbc6d27411
Optimise obstruction grid updates in the common case when terrain hasn't changed
...
This was SVN commit r9001.
2011-02-28 01:24:12 +00:00
Ykkrosh
794584ea11
Optimise tile-based pathfinder, particularly for large maps.
...
This was SVN commit r9000.
2011-02-28 00:35:53 +00:00
Ykkrosh
cb0e322a61
# Minor AI fixes.
...
Avoid script errors on Miletus.
Use pre-existing female citizens as workers.
Fix autostart.
This was SVN commit r8999.
2011-02-27 19:20:36 +00:00
Ykkrosh
d045258c29
Let exceptions in GUI script events triggered by script setters propagate out of the setter, so error messages aren't useless.
...
This was SVN commit r8997.
2011-02-27 17:57:32 +00:00
Ykkrosh
eb163c8d24
Improve reporting of extensions promoted into GL 1.2
...
This was SVN commit r8996.
2011-02-27 14:25:04 +00:00
Ykkrosh
407b1ef80f
Bump hwdetect version, to identify reports that include recent bugfixes
...
This was SVN commit r8992.
2011-02-26 19:41:01 +00:00
janwas
bb562ce179
fixes:
...
avoid reporting a (not-present) third-level cache for Athlon X2 that
don't have one
add better documentation of cache information
ensure we're running on the same CPU while retrieving cache/TLB
descriptors
wgfx: always check all known graphics driver names (more robust in the
face of changing gfx_card strings), correct the intel driver name
This was SVN commit r8991.
2011-02-26 19:22:02 +00:00
janwas
567a698628
check all file names known to belong to a GPU's drivers instead of trying to rule out 32/64 bit variants
...
fixes #737
This was SVN commit r8990.
2011-02-26 17:10:09 +00:00
Ykkrosh
6d7c27edfe
Fix occasionally rendering just terrain and no models when starting a game
...
This was SVN commit r8988.
2011-02-26 00:07:16 +00:00
Ykkrosh
92e84a9112
Fix keys like F11 triggering two events when sent from Atlas to the game engine
...
This was SVN commit r8987.
2011-02-25 23:53:09 +00:00
Ykkrosh
f0ea32cb8d
Import user-report server side code
...
This was SVN commit r8986.
2011-02-25 19:46:01 +00:00
janwas
4e8c305c6e
sync with work - export app_hooks_update; add boost replacement FileExists and FileSize; avoid conflict with stdint.h;
...
remove asm rintf implementation (sse is faster); avoid the need for an
external 64-bit asm file with vc2008/vc2010; allow arbitrarily long
command line args
This was SVN commit r8985.
2011-02-25 16:31:42 +00:00
janwas
d805ef356e
FileExists -> VfsFileExists (see next commit)
...
scriptInterface: fix bool cast warning
This was SVN commit r8984.
2011-02-25 16:30:55 +00:00
Ykkrosh
77fe5c9e40
Disable shadows and fancy-water by default on some slower graphics devices.
...
See #623 .
This was SVN commit r8983.
2011-02-25 02:00:57 +00:00
Ykkrosh
a903b4c9d3
Fix #684 (disable S3TC on R600 drivers).
...
Clean up hwdetect a tiny bit.
This was SVN commit r8982.
2011-02-25 01:31:00 +00:00
Ykkrosh
0378500bdc
Fix #712 (remove S3TC warning).
...
Add timer to S3TC decoder so it's still easy to determine if it was
used.
This was SVN commit r8981.
2011-02-25 01:28:46 +00:00
Ykkrosh
f4f36af852
Block new buildings being placed on top of existing not-yet-started foundations. Fixes #740 .
...
This was SVN commit r8980.
2011-02-24 21:49:24 +00:00
Ykkrosh
e16681f0e5
Fix destruction queue warnings when using some GUI features with time-warp enabled
...
This was SVN commit r8976.
2011-02-24 02:05:06 +00:00
Ykkrosh
f6c1d98c9a
Fix #739 (test failures).
...
Use JSON in debug serializer output unless it fails due to e.g. cyclic
values, in which case use toSource.
Disable file stats code by default, since its output isn't used.
This was SVN commit r8975.
2011-02-24 00:32:38 +00:00
Ykkrosh
059a53dd37
Fix startup hang on OS X, caused by using timers before initialising them
...
This was SVN commit r8974.
2011-02-23 09:19:41 +00:00
Ykkrosh
6b783aebd6
Try to fix build errors
...
This was SVN commit r8973.
2011-02-22 21:50:26 +00:00
Ykkrosh
0c1e05d672
Fix typo
...
This was SVN commit r8972.
2011-02-22 20:15:59 +00:00
Ykkrosh
e370223d1d
Fix register handle leak
...
This was SVN commit r8971.
2011-02-21 22:25:51 +00:00
Ykkrosh
abe07e096a
Build fix
...
This was SVN commit r8970.
2011-02-21 22:22:49 +00:00
Ykkrosh
9bbda8b80b
HTTP proxy discovery for Windows
...
This was SVN commit r8969.
2011-02-21 21:54:47 +00:00
Ykkrosh
25039d3aff
Fix build errors with old glext.h.
...
Report full cache details, and lsb-release when available.
This was SVN commit r8968.
2011-02-21 18:56:23 +00:00
Ykkrosh
ee8b193cdb
Fix profiler crash differently
...
This was SVN commit r8967.
2011-02-21 11:57:01 +00:00
janwas
a155809447
avoid crash due to null pointer in profiler (triggered by returning from the root node)
...
This was SVN commit r8966.
2011-02-21 09:41:11 +00:00
janwas
8f59d52697
sync with work; fix compile error due to lack of boost/serialization in 0ad svn
...
This was SVN commit r8965.
2011-02-21 09:23:51 +00:00
Ykkrosh
d75d9c3b75
Make the script profiler more useful, by giving the filename/line for anonymous functions.
...
Fix the turn-based profiler a bit.
This was SVN commit r8964.
2011-02-21 02:16:12 +00:00
Ykkrosh
807663cd54
Fix uninitialised value
...
This was SVN commit r8961.
2011-02-20 20:52:35 +00:00
Ykkrosh
d7a243343d
Add per-turn counts to profiler, as well as per-frame.
...
Remove percent-of-parent and percent-of-frame timings since they're not
particularly useful.
Simplify profiler update code by using RingBuf.
Handle profiler keys via character codes rather than keysyms, to
hopefully work with different keyboard layouts.
Make console intercept all keys, to stop digits, shift-D, etc having
unexpected side-effects.
Disable console copy/paste when console is inactive.
This was SVN commit r8960.
2011-02-20 20:50:26 +00:00
Ykkrosh
b24396740c
Disable XML validation when loading templates for AI, to save startup time
...
This was SVN commit r8959.
2011-02-20 20:45:39 +00:00
Ykkrosh
6ba12dd2ff
Pretty-print JS values in debug serializer
...
This was SVN commit r8958.
2011-02-20 20:44:36 +00:00
Ykkrosh
720bb3c87d
Remove unnecessary rooting
...
This was SVN commit r8957.
2011-02-20 20:44:13 +00:00
Ykkrosh
e8a650bc30
Const-correctness
...
This was SVN commit r8956.
2011-02-20 20:42:54 +00:00
Ykkrosh
5f64937d02
Skip detecting some not-very-useful GL values that cause errors in some drivers
...
This was SVN commit r8953.
2011-02-20 11:46:48 +00:00
Ykkrosh
c29f2d26b3
Add some more stuff to hwdetect, because there can never be too much
...
This was SVN commit r8951.
2011-02-20 00:54:36 +00:00
Ykkrosh
e91434a23d
Extend isImplementedInCore up to GL 3.0
...
This was SVN commit r8950.
2011-02-20 00:52:50 +00:00
Ykkrosh
b2f5dd1b62
Non-PCH build fixes
...
This was SVN commit r8949.
2011-02-19 22:30:34 +00:00
janwas
1a2a7677fd
replace set/map with boost::unordered_* to reduce the number of expensive filesystem::basic_path::operator< calls based on a patch by ortalo (thanks!)
...
This was SVN commit r8947.
2011-02-19 21:24:39 +00:00
janwas
a02a5d8e5e
refactor graphics driver detect code, ensure both variants return name.dll(version)
...
This was SVN commit r8945.
2011-02-19 20:46:43 +00:00
janwas
83569c8f13
detect when detecting OpenGL driver version failed because the driver didn't describe itself in the registry;
...
fall back to detecting the version of the driver DLL (whose name we
guess)
This was SVN commit r8944.
2011-02-19 20:24:38 +00:00
janwas
7445342b61
wdll_ver: avoid errors while reading DLL version due to (lack of) FS redirection
...
UserReport: avoid windows iterator debugging warning due to invalid
operator[]
This was SVN commit r8942.
2011-02-19 19:15:00 +00:00
janwas
1b1230ca3e
wgl compile fix: add types required by new wglext.h
...
wutsname fix (noticed by Philip from hwdetect information, thanks!):
uname.release wasn't always set.
BinarySerializer.h: warning fix
This was SVN commit r8940.
2011-02-19 18:00:09 +00:00
Ykkrosh
f3372bf11d
Add some rough performance reporting.
...
Make the profiler converge a bit faster.
This was SVN commit r8939.
2011-02-19 03:14:37 +00:00
Ykkrosh
3e13c300cc
Fix non-PCH build error
...
This was SVN commit r8938.
2011-02-19 00:46:14 +00:00
Ykkrosh
ceb4bc9b94
Report more hardware details
...
This was SVN commit r8937.
2011-02-19 00:39:32 +00:00
Ykkrosh
3e1f09a58f
Fix missing newline in GL error reporting
...
This was SVN commit r8936.
2011-02-19 00:38:08 +00:00
Ykkrosh
c7f647ae73
Don't bother initialising shadow map textures with data that will never be used.
...
Add some profiling in the shadow rendering code.
This was SVN commit r8934.
2011-02-18 23:41:27 +00:00