dcd192cb60
refactor path interface:
...
- use wrapper class instead of std::wstring (reduces mixing of
strings/paths; allows safe+easy join via operator/ and convenient
case-insensitive comparison via operator==, avoids NativePathFromString,
similar to boost::filesystem)
- NativePath -> OsPath
- add hash and To/FromJSVal for Path
- add TS_ASSERT_PATH_EQUALS
- replace _wfopen_s with sys_OpenFile
- remove obsolete SortFiles/Directories
This was SVN commit r9107.
2011-03-23 13:36:20 +00:00
f618605477
Changes default random map sizes.
...
Tweaks random map resources.
Adds support for circular maps to rmgen library.
Various fixes in map generator.
On Miletus map, change player 2 civ, as Romans are not fully implemented
(fixes #758 )
This was SVN commit r9104.
2011-03-23 08:12:04 +00:00
575e3b0a69
Don't enable JITs when they can interfere with profiling.
...
Fix dangerous trailing slashes.
This was SVN commit r9103.
2011-03-23 00:36:34 +00:00
e825a98671
Fix flag filtering of transparent models
...
This was SVN commit r9102.
2011-03-22 23:09:38 +00:00
c4cd85bb98
Build fixes
...
This was SVN commit r9100.
2011-03-22 18:46:39 +00:00
0e0ed94926
Implements random map system, fixes #6 .
...
Includes default library "rmgen" w/ API based on rmgen tool.
Modifies rmgen scripts Cantabrian Highlands, Neareastern Badlands, and
Latium.
Old map support dropped from MapReader.
Fixes a few bugs in existing game setup and initialization scripts.
This was SVN commit r9096.
2011-03-22 01:34:45 +00:00
c0a105432e
Use path types and conversions more consistently.
...
This was SVN commit r9094.
2011-03-21 22:59:00 +00:00
5b7ea2371f
Fix some line endings.
...
This was SVN commit r9093.
2011-03-21 22:47:02 +00:00
83271ec816
Fix build errors.
...
Fix VFS root directory failing IsDirectory, which breaks the search for
textures.xml.
Fix incompatible change to loose cache name determination.
This was SVN commit r9092.
2011-03-21 21:06:08 +00:00
c3405e6f50
path improvements/fixes:
...
- replace more std::wstring with Native or VfsPath; wstring_from_utf8 ->
NativePathFromString
- replace sequences of Join(Path(), Basename+extension) with
ChangeExtension in wsdl, CacheLoader
- add Path::IsDirectory to replace .empty() / path_is_dir_sep(.back()).
also changed behavior to reflect the fact that "" is the VFS root
_directory_
- Path::Join now allows 2 identical path types (e.g. VfsPath) or one
char* literal (prevents inadvertently introducing non-safe characters).
to convert from wstring or wchar_t, use an explicit ctor (e.g.
VfsPath(wchar_t_string))
This was SVN commit r9091.
2011-03-21 19:54:08 +00:00
6d25329412
# towards locale-independent pathnames on Linux
...
c.f.
http://www.wildfiregames.com/forum/index.php?showtopic=14541&st=0&p=217250&#entry217250
and 2011-03-19 meeting
This was SVN commit r9090.
2011-03-21 17:53:13 +00:00
9a22dc1351
warning fixes
...
This was SVN commit r9088.
2011-03-21 11:55:49 +00:00
cec05f02ea
fix insidious OpenAL issue: the spec doesn't guarantee 0 isn't a valid source name => we need to use an out-of-band mechanism for specifying whether the source is valid.
...
refs #557
This was SVN commit r9087.
2011-03-20 16:40:36 +00:00
2392eb6720
Skip reporting caches that were initialised but never filled in
...
This was SVN commit r9086.
2011-03-19 15:17:14 +00:00
44e1a863e1
Fix cache detection assertion failure
...
This was SVN commit r9085.
2011-03-19 15:16:14 +00:00
0af8cdc54a
Fix likely cache table typos, based on Intel Software Developer's Manual.
...
This was SVN commit r9084.
2011-03-19 15:03:25 +00:00
fb499ff0d0
further refactoring of new cache detect code
...
- add invariant - level/type are always valid, numEntries indicates
whether the cache is actually present and not disabled
- handle pseudo-descriptors 0xF0 and F1 (avoids warning)
This was SVN commit r9083.
2011-03-19 12:48:56 +00:00
89b7b6b52d
Avoid divide-by-zero on AMDs with missing caches
...
This was SVN commit r9081.
2011-03-18 19:48:54 +00:00
25524dc99f
Fix tests
...
This was SVN commit r9080.
2011-03-18 19:35:31 +00:00
22a651bb86
Fix assertion failure when no L3 cache.
...
Fix typo.
This was SVN commit r9078.
2011-03-18 18:42:10 +00:00
ecbd0ae31b
Fix Windows build.
...
Improve compatibility with GL1.3.
This was SVN commit r9077.
2011-03-18 18:07:18 +00:00
d805e764c5
# Render unit silhouettes when behind buildings.
...
Fixes #144 .
Start using stencil buffer.
Simplify materials a little.
This was SVN commit r9076.
2011-03-18 16:57:54 +00:00
5b91e2d7ab
move cache detection into separate file.
...
add support for CPUID.2 cache descriptors (many Bothans died to bring us
this information)
simplify the API - use one structure to describe cache and TLB; only one
accessor for both.
HWDetect: version change, since dtlbs and itlbs are no longer
distinguished
fixes #752
This was SVN commit r9074.
2011-03-18 16:44:03 +00:00
9659ec298b
Fix off-by-one error in date logging, and rearrange to standard format.
...
This was SVN commit r9065.
2011-03-15 20:29:29 +00:00
e70fae8d80
Stop using glMultiDrawElements since it's too buggy
...
This was SVN commit r9064.
2011-03-14 21:57:09 +00:00
099dbdb24a
Fix use of uninitialised variable
...
This was SVN commit r9063.
2011-03-14 21:54:44 +00:00
5fa577ea25
Attempt to fix shadowAlphaFix to generate FBOs in a more widely supported format
...
This was SVN commit r9062.
2011-03-14 02:50:43 +00:00
612539f109
Don't bother creating shadow textures if shadows are disabled
...
This was SVN commit r9061.
2011-03-14 02:49:53 +00:00
8bb5f2e480
Add missed file
...
This was SVN commit r9057.
2011-03-13 19:44:06 +00:00
d24c93237c
# Initial version of terrain decal textures.
...
Rejig CModel to support non-mesh-based props.
Avoid redundant recomputation for non-moving CRenderableObjects.
This was SVN commit r9055.
2011-03-13 19:22:05 +00:00
ba8163e248
# Explicitly triangulate terrain tiles.
...
Store blend splats as indexed triangles.
Remove unnecessary copy of vertex data.
Fixes #169 .
This was SVN commit r9054.
2011-03-13 19:10:38 +00:00
fc2c54c39f
# Optimise terrain renderer.
...
Batch patch splats by texture match.
Use VBOs for patch indices.
Fixes #722 .
This was SVN commit r9053.
2011-03-13 19:06:33 +00:00
2f28b07356
Support storing index data in VBOs.
...
Use index VBOs in model renderers, for performance.
Be more explicit about static/dynamic VBOs.
Add VBO usage to renderer stats.
Clean up some obsolete unused code.
This was SVN commit r9052.
2011-03-13 18:58:09 +00:00
b70a0a5b5a
Latest version of user-report server code
...
This was SVN commit r9051.
2011-03-12 02:36:20 +00:00
a0a245d0ec
sync with work. add u8_from_larger, sys_IsDebuggerPresent, wdll_main.h;
...
robustify waio file mode and remove a safety check (since
OVERLAPPED.Internal is documented to be subject to change)
This was SVN commit r9050.
2011-03-11 16:29:27 +00:00
51b58328f7
Fix negative 'unlogged' time in profiler at start of game.
...
Remove redundant Reset call.
This was SVN commit r9047.
2011-03-08 16:58:07 +00:00
18f44bebbc
Add workaround for missing tree shadows on certain graphics drivers
...
This was SVN commit r9042.
2011-03-07 00:34:03 +00:00
b4d9ab336b
Simplify hiding of system cursor on non-Windows.
...
Fixes #683 .
This was SVN commit r9038.
2011-03-06 00:48:26 +00:00
7d6cfe58de
Fix non-PCH build
...
This was SVN commit r9037.
2011-03-06 00:01:23 +00:00
6f9da85d9f
Improve performance of full state hash computation, by skipping script components that are known to have no data.
...
Switch to much quicker (and less comprehensive) per-turn hashing in
multiplayer games.
This was SVN commit r9036.
2011-03-05 22:30:32 +00:00
18cdbd9eab
Increase tile-based pathfinder maximum search range, so it's at least enough to reach from one side of Acropolis to the other
...
This was SVN commit r9026.
2011-03-05 14:38:08 +00:00
d3929b6af1
Actually, delete the cpuid() inline asm entirely since it still causes various problems in various compilers
...
This was SVN commit r9024.
2011-03-05 14:11:57 +00:00
712a92caa1
Save PIC register in cpuid() to fix "can't find a register in class 'BREG'" error in some versions of GCC
...
This was SVN commit r9023.
2011-03-05 13:53:02 +00:00
18798c3f8d
OS X build fix
...
This was SVN commit r9022.
2011-03-05 13:49:36 +00:00
e608d9269a
Load entity templates for the AI via the progressive loader.
...
Display message while loading the map list for the setup screen.
This was SVN commit r9019.
2011-03-05 01:56:59 +00:00
2229c10e05
Delete rint/rintf emulation for Windows, since it got broken (the tests fail) and we don't use it any more
...
This was SVN commit r9015.
2011-03-04 23:16:04 +00:00
3a5ca7fdbc
Improve camera restraints at edge of map to be independent of zoom, and to work on circular maps.
...
Fixes #573 .
This was SVN commit r9011.
2011-03-04 20:02:05 +00:00
bec4c6437b
Make non-combat units flee when under melee attack, and not attack enemies automatically.
...
Fixes #703 .
This was SVN commit r9010.
2011-03-04 14:36:41 +00:00
2ef1b9a867
Make projectiles that miss their target continue until hitting the terrain.
...
Fixes #706 .
This was SVN commit r9008.
2011-03-04 00:43:48 +00:00
6bcce22a88
Tell the profiler about a few more bits of code
...
This was SVN commit r9007.
2011-03-03 22:38:01 +00:00
58ae08522f
Let local.cfg override the hardware-dependent defaults set by hwdetect
...
This was SVN commit r9005.
2011-03-03 01:49:49 +00:00
1c1564daaf
Make profiler JSON output much more concise.
...
Right-align values in in-game profile viewer.
Add alternating row shading in profile viewer, to make it easier to
read.
This was SVN commit r9004.
2011-03-03 01:09:19 +00:00
16a4eb36dd
Various minor optimisations.
...
Enable SpiderMonkey method JIT in Release mode.
Add Engine.ProfileStart/Engine.ProfileStop functions for scripts.
Fix AI to clone initial entity data and shared metadata.
This was SVN commit r9003.
2011-03-03 00:16:14 +00:00
8d2d4a8505
Fix profile parser
...
This was SVN commit r9002.
2011-03-03 00:14:23 +00:00
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
794584ea11
Optimise tile-based pathfinder, particularly for large maps.
...
This was SVN commit r9000.
2011-02-28 00:35:53 +00:00
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
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
eb163c8d24
Improve reporting of extensions promoted into GL 1.2
...
This was SVN commit r8996.
2011-02-27 14:25:04 +00:00
407b1ef80f
Bump hwdetect version, to identify reports that include recent bugfixes
...
This was SVN commit r8992.
2011-02-26 19:41:01 +00:00
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
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
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
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
f0ea32cb8d
Import user-report server side code
...
This was SVN commit r8986.
2011-02-25 19:46:01 +00:00
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
d805ef356e
FileExists -> VfsFileExists (see next commit)
...
scriptInterface: fix bool cast warning
This was SVN commit r8984.
2011-02-25 16:30:55 +00:00
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
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
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
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
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
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
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
6b783aebd6
Try to fix build errors
...
This was SVN commit r8973.
2011-02-22 21:50:26 +00:00
0c1e05d672
Fix typo
...
This was SVN commit r8972.
2011-02-22 20:15:59 +00:00
e370223d1d
Fix register handle leak
...
This was SVN commit r8971.
2011-02-21 22:25:51 +00:00
abe07e096a
Build fix
...
This was SVN commit r8970.
2011-02-21 22:22:49 +00:00
9bbda8b80b
HTTP proxy discovery for Windows
...
This was SVN commit r8969.
2011-02-21 21:54:47 +00:00
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
ee8b193cdb
Fix profiler crash differently
...
This was SVN commit r8967.
2011-02-21 11:57:01 +00:00
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
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
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
807663cd54
Fix uninitialised value
...
This was SVN commit r8961.
2011-02-20 20:52:35 +00:00
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
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
6ba12dd2ff
Pretty-print JS values in debug serializer
...
This was SVN commit r8958.
2011-02-20 20:44:36 +00:00
720bb3c87d
Remove unnecessary rooting
...
This was SVN commit r8957.
2011-02-20 20:44:13 +00:00
e8a650bc30
Const-correctness
...
This was SVN commit r8956.
2011-02-20 20:42:54 +00:00
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
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
e91434a23d
Extend isImplementedInCore up to GL 3.0
...
This was SVN commit r8950.
2011-02-20 00:52:50 +00:00
b2f5dd1b62
Non-PCH build fixes
...
This was SVN commit r8949.
2011-02-19 22:30:34 +00:00
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
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
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
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
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
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
3e13c300cc
Fix non-PCH build error
...
This was SVN commit r8938.
2011-02-19 00:46:14 +00:00
ceb4bc9b94
Report more hardware details
...
This was SVN commit r8937.
2011-02-19 00:39:32 +00:00
3e1f09a58f
Fix missing newline in GL error reporting
...
This was SVN commit r8936.
2011-02-19 00:38:08 +00:00
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
04dcbd294c
Push the near clip plane further out, to reduce z-fighting
...
This was SVN commit r8933.
2011-02-18 23:38:28 +00:00
d600a400fe
Fix GUI text input box scrollbars not moving when the window is resized.
...
This was SVN commit r8932.
2011-02-18 22:49:24 +00:00
387b801aed
Fix tooltip crash/corruption, caused by inconsistently changing types.
...
This was SVN commit r8931.
2011-02-18 22:36:39 +00:00
1c7e33b528
Remove a load of implicit CStr type conversions, since they're error-prone and can cause silent data loss.
...
Handle most CStr8/CStrW conversions via UTF-8 instead of effectively
assuming Latin-1.
Return UTF-8 strings from Xeromyces API.
This was SVN commit r8929.
2011-02-17 20:08:20 +00:00
4f724056d5
Remove some unused bits from CRenderer
...
This was SVN commit r8927.
2011-02-16 22:40:15 +00:00
3d997365d8
Fix CStr numeric constructors on 32-bit platforms.
...
Remove unnecessary assignment operators.
This was SVN commit r8926.
2011-02-16 21:14:08 +00:00
0da7e822ff
# Add opt-in automatic feedback system.
...
Add GL implementation limits to hwdetect.
Make the in-game manual support multiple text files.
Remove unnecessary instruction on how to close the manual window.
Make guitextobject.caption return the original value without stripping
formatting tags.
Remove unused non-VFS support from config system.
Support writing config files back to their original path.
Remove unnecessary user profile directory; use normal config directory.
This was SVN commit r8925.
2011-02-16 20:40:15 +00:00
1c3c962ea1
Import libcurl for Windows
...
This was SVN commit r8924.
2011-02-16 11:22:34 +00:00
3d992ffea6
GCC build fix
...
This was SVN commit r8923.
2011-02-15 16:40:23 +00:00
ddba0cc311
topology.cpp: fix for non-contiguous APIC IDs
...
wcpu: avoid undefined shift right on 64-CPU systems (caught via
assertion)
filesystem: add wrename
path_util: add std::wstring variants of common boost::filesystem
routines
This was SVN commit r8922.
2011-02-15 10:38:11 +00:00
fca69efd76
Fix build for GCC 4.5
...
This was SVN commit r8920.
2011-02-13 18:38:22 +00:00
11837204b6
Fix archive builder to not compress the recently-renamed terrain blend textures
...
This was SVN commit r8919.
2011-02-13 17:37:33 +00:00
dbd3de82ff
Fix #705 (tooltips go off screen when displayed near a corner), based on patch from Leonard
...
This was SVN commit r8916.
2011-02-13 12:16:31 +00:00
c7056490b2
Restrict the initial window size to the screen size (hopefully fixes #532 ).
...
This was SVN commit r8915.
2011-02-12 21:21:07 +00:00
eb074ba28c
Fix #495 (warn when locale is bogus), based on patch from darrenhoffman and sergiovier
...
This was SVN commit r8913.
2011-02-12 00:19:59 +00:00
aa8c3a9ea9
Fixed #582 (add camera reset command in Atlas), based on patch from stilz
...
This was SVN commit r8911.
2011-02-11 23:56:55 +00:00
9b25df5958
Fix #591 (Disable sounds for units in FoW/SoD), based on patch from Bogi
...
This was SVN commit r8910.
2011-02-11 23:02:19 +00:00
804e817cf5
Fix rendering of main menu buttons after leaving a game
...
This was SVN commit r8907.
2011-02-10 23:58:33 +00:00
11bc751fd3
Save replay log's commands.txt in new locations when playing multiple games in a single session
...
This was SVN commit r8906.
2011-02-10 23:57:19 +00:00
b73c544f2a
Fix warning
...
This was SVN commit r8903.
2011-02-10 22:55:41 +00:00
b8925fbbc9
# Support AI construction of buildings.
...
Pass terrain passability data to AI scripts.
Expand pathfinder passability data to 16 bits per tile, to allow more
classes.
Support 16-bit ints in serializer.
Partially support JS typed arrays.
Allow foundations to be placed on top of units (fixes #499 ).
Stop farms and fishes blocking movement (fixes #534 ).
Add obstruction flags to allow finer control over what they block.
Associate entity IDs with obstruction shapes, to allow finding colliding
entities.
Support moving to the edge of a target entity with inactive obstruction.
Support foundation entities in AI.
Support playing as non-hele civs.
This was SVN commit r8899.
2011-02-10 16:06:28 +00:00
64f02d5b47
Remove misleadingly obsolete package scripts
...
This was SVN commit r8895.
2011-02-09 16:36:08 +00:00
66f2bc6d57
Flip iteration order in LOS texture blur to improve performance
...
This was SVN commit r8892.
2011-02-06 11:39:06 +00:00
57e5bb878a
Initial terrible AI player scripts.
...
This was SVN commit r8891.
2011-02-05 20:35:34 +00:00
aa1fcfd20c
Change fog-of-war blur to use a better filter.
...
This was SVN commit r8889.
2011-02-05 18:19:28 +00:00
bf3d5c75f0
Be more robust to broken terrain property files.
...
This was SVN commit r8888.
2011-02-05 13:13:57 +00:00
caad072347
Expand pathfinder boundaries to stop units disappearing off the edge of the visible map.
...
This was SVN commit r8887.
2011-02-03 19:40:41 +00:00
02e7eb69ff
# Add solid black sides to the map, to hide underwater terrain.
...
This was SVN commit r8886.
2011-02-03 14:36:54 +00:00
c710e718aa
Windows fixes
...
This was SVN commit r8884.
2011-02-03 02:33:37 +00:00
cb78822f19
Delete some unused bits.
...
This was SVN commit r8883.
2011-02-03 01:17:16 +00:00
fe21c5e023
# Rewrite fog-of-war rendering.
...
Disable shadows when only 2 TMUs available.
Clean up some other rendering code.
This was SVN commit r8882.
2011-02-03 01:12:24 +00:00
1e02fe70a7
Add texture limits to hwdetect
...
This was SVN commit r8881.
2011-01-31 18:59:37 +00:00
18189ef4fc
Simplify terrain blend rendering to use non-indexed arrays
...
This was SVN commit r8878.
2011-01-30 14:43:35 +00:00
566bbf0fa0
Fix assertion failure when running pre-game GUI
...
This was SVN commit r8877.
2011-01-30 02:14:44 +00:00
5e618e1526
Remove redundant bounds check
...
This was SVN commit r8875.
2011-01-29 21:14:49 +00:00
6af877a1cb
Fix Windows crash caused by calling js_free (which calls free from the wrong CRT).
...
Fix some warnings.
This was SVN commit r8873.
2011-01-29 17:50:42 +00:00
03c75100ab
# Fix terrain blending logic.
...
Add terrain priority rendering mode in Atlas.
Fix terrain painting in Atlas to be less profligate with priority
values.
Support hotloading of blend textures.
Clean up some trivial things.
This was SVN commit r8872.
2011-01-29 16:31:48 +00:00
63bd39d4a5
Fix perspective calculation in CCamera::GetScreenCoordinates.
...
Fixes #99 .
This was SVN commit r8870.
2011-01-28 21:51:59 +00:00
fd46b9e370
fixes/improvements from work:
...
file/wfilesystem: avoid error dialog when opening a file that doesn't
exist
precompiled/pch_warnings: remove push/pop that prevented our warning
disables to applying to other code. update comments
topology: refactor APIC field access and add support for constructing
APIC ID from topology
waio: add file_attribute_normal
wsysdep: slightly safer sys_generate_random_bytes implementation
This was SVN commit r8869.
2011-01-28 13:40:07 +00:00
0d8ffa58dc
AoE3Ed build fixes
...
This was SVN commit r8868.
2011-01-17 13:29:45 +00:00
c3b734775b
Simplify component interface: remove explicit context parameter, use GetSimContext() instead.
...
This was SVN commit r8867.
2011-01-16 14:08:38 +00:00
f39f279132
Add AI script code to provide a cleaner API around the engine interface.
...
Handle AIProxy entirely through scripts.
Support structured clones of script values.
Improve performance.
Support multiple script contexts sharing a runtime.
Use a separate context per AI player.
This was SVN commit r8866.
2011-01-15 23:35:20 +00:00
dd501b2a5a
# Add initial basic player AI framework.
...
Support direct access to serializer streams, so serializers can be
nested.
Make component script "this.template" read-only.
Stop globally-subscribed component scripts receiving messages posted to
local components, to reduce out-of-sync risks.
Move pathfinder data out of entity template directory.
Fix GuiInterface deserialization.
This was SVN commit r8865.
2011-01-12 12:29:00 +00:00
d8cd31d4b6
Add probably-unnecessary script serialization test.
...
This was SVN commit r8862.
2011-01-12 12:13:11 +00:00
19548a7379
Fix use of uninitialised variable.
...
This was SVN commit r8861.
2011-01-12 12:11:31 +00:00
aaef1b0d74
Add script for generating mostly-useless component interaction graphs.
...
Fix some components to use more standard syntax.
This was SVN commit r8857.
2011-01-07 20:31:48 +00:00
002e3f5606
minor fixes from work; also add sys_WideFromArgv
...
This was SVN commit r8856.
2011-01-04 19:53:38 +00:00
2fa3c554de
Windows build fixes
...
This was SVN commit r8845.
2010-12-30 20:10:04 +00:00
40933c06e1
Primitive support for gamepad camera movement
...
This was SVN commit r8844.
2010-12-30 19:45:13 +00:00
5e3049f6b2
BuildLimits. Needs some configuration changes to work
...
This was SVN commit r8836.
2010-12-11 23:19:17 +00:00
2fd6e2e8cc
Fix some more warnings
...
This was SVN commit r8835.
2010-12-11 12:35:50 +00:00
802f22485b
Fix some warnings on Windows
...
This was SVN commit r8834.
2010-12-11 12:33:02 +00:00
ad3f33dd27
Build fix for very old SDL
...
This was SVN commit r8833.
2010-12-11 02:25:21 +00:00
ba2a9d7af3
improvements from work: [update-workspaces required]
...
- split precompiled.h into several headers (simplifies reuse)
- enable additional warnings not in W4
- split ErrorReaction into ErrorReactionInternal - clarifies which
values can actually be returned by debug_DisplayError
- wsdl: slightly safer HDC usage via CS_OWNDC, avoid dipping into DC
cache via ValidateRect instead of BeginPaint; remove unused thread
create
- StdDeserializer - wasn't including byte_order => BYTE_ORDER was
undefined
- wsysdep: clean up error dialog message handling
This was SVN commit r8828.
2010-12-09 11:16:21 +00:00
2540e17f45
Fix non-PCH builds
...
This was SVN commit r8816.
2010-12-08 18:54:05 +00:00
f04c2561b7
Various resource shuttling improvements. Fixes #672 .
...
This was SVN commit r8811.
2010-12-08 16:12:04 +00:00
0b0b11d2e0
Fix occasional assertion failure in time warp mode
...
This was SVN commit r8810.
2010-12-08 16:09:53 +00:00
8ddef2fee0
Add fast-forward/rewind commands, to help with testing.
...
This was SVN commit r8803.
2010-12-06 19:58:06 +00:00
1201956b93
Additional cleaning up of logging: removed LOG_CATEGORY macro definitions.
...
This was SVN commit r8792.
2010-12-05 08:50:33 +00:00
19dbbb816d
Changed all references from old CLogger API to use the new API. Removed old API. Fixes #247
...
This was SVN commit r8791.
2010-12-05 08:41:55 +00:00
95da3789cd
Handle SDL_ACTIVEEVENT which notifies us of mouse focus change. If mouse focus is lost don't render cursor, reverting back to OS style. When focus is regained, render cursor again. Fixes #626
...
This was SVN commit r8789.
2010-12-05 05:17:28 +00:00
819bacd538
Automatically disable audio on OS X since it's stupid and broken.
...
This was SVN commit r8788.
2010-12-04 19:42:50 +00:00
5df240d97d
Disable broken GUI error reporter on OS X
...
This was SVN commit r8787.
2010-12-04 19:09:41 +00:00
53b1447007
Fix what looks like miscompilation with GCC 4.0 on OS X
...
This was SVN commit r8786.
2010-12-04 19:06:13 +00:00
4575c26616
Disable compression of public.zip ( fixes #671 ).
...
This was SVN commit r8785.
2010-12-04 15:57:55 +00:00
4b37898ab9
Fix tests.
...
This was SVN commit r8784.
2010-12-04 15:08:18 +00:00
74114bf09a
Handle XMB caching with the same system as texture caching.
...
Fixes #694 .
This was SVN commit r8782.
2010-12-04 00:08:26 +00:00
ead65712eb
Delete obsolete archbuild tool
...
This was SVN commit r8761.
2010-12-02 18:05:16 +00:00
6b4478209b
Fix accidental use of hard-coded constant.
...
Don't bother recomputing terrain speeds multiple times per turn.
This was SVN commit r8753.
2010-11-30 14:48:04 +00:00
ab186c2b16
Update UnitMotion logic, to partially simplify it.
...
Do all pathfinding asynchronously.
Recalculate paths when the target has moved.
Fix vertex pathfinder start point heuristic, to avoid finding
zero-length paths.
When units fail to reach a resource to gather, look for another resource
of the same type.
This was SVN commit r8751.
2010-11-30 12:31:54 +00:00
3b405efc6b
Increase serializer reserved buffer space to cope with huge maps.
...
This was SVN commit r8748.
2010-11-30 12:24:46 +00:00
f959390d0b
Mostly fix hypothetical thread/fork interaction dangers
...
This was SVN commit r8689.
2010-11-25 16:11:16 +00:00
404f7d4caa
Don't put 64-bit OS X code in the 32-bit-only file. Do put it in the 64-bit-only file.
...
This was SVN commit r8687.
2010-11-24 17:08:00 +00:00
94dca529b1
Fix OS X build errors
...
This was SVN commit r8684.
2010-11-23 19:20:03 +00:00
f378a63d94
Add some tests for UnitAI.
...
Fix said tests for UnitAI.
Hopefully fix #647 too.
Document HFSM interface a bit.
Add Engine.DumpSimState() console command for debugging.
This was SVN commit r8681.
2010-11-22 20:12:04 +00:00
e4d356c3bf
Map exploration counter for summary screen
...
This was SVN commit r8679.
2010-11-21 19:42:26 +00:00
47246c8155
Fixes #572 . Changed MoveCameraToTarget so that for minimap scrolling it will ignore changes in Y position, to maintain previous zoom level as expected (constraint keeps the new view from being inappropriate)
...
This was SVN commit r8676.
2010-11-21 04:59:59 +00:00
2963422173
Add screenshot location logging w/ rendered console message. Rendered messages are hidden before screenshot is taken. Fixes #675
...
This was SVN commit r8675.
2010-11-21 01:25:16 +00:00
80888a7325
Avoid buffer overflow assertion failures when dumping stack trace on Windows.
...
Try to be marginally less likely to get stuck in infinite recursion.
This was SVN commit r8669.
2010-11-20 21:26:22 +00:00
1d8972a540
Add automatic 'root' prop point when loading old PMDs
...
This was SVN commit r8666.
2010-11-20 20:16:06 +00:00
c36fc2b8d7
Add script-based system for doing messy stuff based on system configuration.
...
Display warning for certain broken NVIDIA drivers.
This was SVN commit r8663.
2010-11-20 19:46:49 +00:00
74c19b5015
Add xmessage-based GUI dialog box for debug messages on Linux ( fixes #663 ).
...
Switch out of fullscreen before displaying dialog boxes.
Add Engine.DebugWarn for testing.
This was SVN commit r8661.
2010-11-20 17:14:45 +00:00
64bd264fc0
Attempt to fix GUI script interaction with JITs.
...
Simplify some other GUI script interface code.
This was SVN commit r8657.
2010-11-20 00:45:58 +00:00
2c8e683214
Fix toString on non-loaded sounds
...
This was SVN commit r8656.
2010-11-20 00:44:35 +00:00
f0476b61fb
Fix #476 (Use JS_New for ScriptInterface::CallConstructor)
...
This was SVN commit r8638.
2010-11-17 16:56:11 +00:00
404456ee8e
Fix int8_t redefinition errors in VC2010
...
This was SVN commit r8635.
2010-11-17 03:02:04 +00:00
f286ce0b13
Fix crash when loading zero-length config files
...
This was SVN commit r8634.
2010-11-17 01:39:14 +00:00
bd3bd084c0
Support new SpiderMonkey API.
...
wposix: Define int8_t compatibly with SpiderMonkey.
Remove unused camera, lightenv JS interfaces.
Remove most of vector JS interface.
Remove some of the redundant JS string conversion functions.
Remove unneeded vmem, _lodBias functions.
Clean up some formatting.
This was SVN commit r8629.
2010-11-16 23:00:52 +00:00
9c521ceb3b
Add minimum range to range queries
...
This was SVN commit r8627.
2010-11-16 20:43:15 +00:00
13d2e44ff5
Run GC frequently in the simulation script context, to keep memory usage down
...
This was SVN commit r8622.
2010-11-15 15:03:40 +00:00
6a74b798ab
Support prop_ prefix in Collada files, as well as prop-
...
This was SVN commit r8616.
2010-11-15 02:18:49 +00:00
816c810791
Windows fix
...
This was SVN commit r8614.
2010-11-15 00:48:34 +00:00
4a1bc8e11a
Optimise LOS visibility updates
...
This was SVN commit r8613.
2010-11-15 00:36:15 +00:00
293e5e33ec
Changed GUI mouse event handling so that button events use the mouse position at the time of the button state change. Fixed minimap message handling to respect out-of-order events. Fixes #669
...
This was SVN commit r8610.
2010-11-14 22:47:39 +00:00
042972e298
Renamed "session_new" to "session"
...
This was SVN commit r8608.
2010-11-14 20:32:38 +00:00
58b33af168
Support X mouse buttons on Windows
...
This was SVN commit r8591.
2010-11-13 19:51:15 +00:00
4100a13e0a
# Add resource shuttling.
...
Add resource-carrying animations/props to an actor for testing.
Warn more quietly about invalid cursor names.
This was SVN commit r8589.
2010-11-13 19:15:29 +00:00
25cd781641
Support horizontal scroll wheels for camera rotation
...
This was SVN commit r8582.
2010-11-13 01:00:54 +00:00
6e74c53ee9
fix file/dir mode bits
...
fixes #648
also fix self-test on ICC 12
This was SVN commit r8558.
2010-11-08 15:02:05 +00:00
6935a03743
remove no-longer needed GLU dependency; avoids delay-load warning.
...
This was SVN commit r8555.
2010-11-08 10:42:34 +00:00
24f1a00190
avoid setting executable bit in files/dirs we create
...
thanks to fabio for reporting + a suggested fix.
fixes #648
This was SVN commit r8554.
2010-11-08 10:39:52 +00:00
6b4d5091b3
fixes from work: use ICC bswap intrinsics instead of fallbacks; update UNUSED2 to work with ICC; update mahaf for Win7
...
This was SVN commit r8553.
2010-11-08 10:01:12 +00:00
e43eb0c18b
# Various hotkey fixes and cleanups.
...
Support ctrl for removing entities from selection.
Move big screenshot hotkey to shift+F2.
Increase mouse wheel rotation speed.
Fix HotkeyIsPressed when a more specific hotkey was matched instead.
Support multiple hotkeys with the same binding.
Use hotkeys instead of raw key events in GUI.
Delete some obsolete hotkey definitions.
Remove unused broken EntitySelection toggle method.
This was SVN commit r8546.
2010-11-07 20:42:52 +00:00
a13836bd68
safely handle zero-sized XMB files ensuing from a crash while loading
...
fixes #662
This was SVN commit r8545.
2010-11-07 16:14:13 +00:00
644b9aedea
# Add double-click and triple-click selection modes, based on patch by Christoph and evans.
...
Fixes #515 .
This was SVN commit r8544.
2010-11-07 00:12:55 +00:00
f45c74c368
thread-safety fixes to debug.cpp - most functions were already reentrant, just CAS-ified the assert suppression flags.
...
(NB: the debug_filter stuff remains non-reentrant because it's usually
only called from main() or at least the main thread)
closes #654
This was SVN commit r8543.
2010-11-06 19:14:16 +00:00
3407983e98
remove no-longer needed (and non-reentrant) MICROLOG as per today's meeting
...
This was SVN commit r8542.
2010-11-06 19:11:40 +00:00
818ea52c3b
Delete obsolete non-working i18n code
...
This was SVN commit r8527.
2010-11-03 17:52:07 +00:00
81f5e0ac5f
Allow continuing playing when a client leaves a multiplayer game ( fixes #620 ).
...
Fix multiplayer autostart.
Make NETTURN_LOG syntax differently ugly.
This was SVN commit r8525.
2010-11-03 00:21:52 +00:00
383cf7b220
cleanup:
...
use intrinsics for cpu_AtomicAdd and cpu_CAS, get rid of the
corresponding assembly implementations. (wrapper functions are necessary
at work because mere declarations aren't enough to export the functions
from DLL)
also remove no longer needed fminf
This was SVN commit r8521.
2010-11-02 13:38:56 +00:00
540925aa32
Add a rubbish experimental FPS camera view
...
This was SVN commit r8520.
2010-11-01 21:40:29 +00:00
52851faeb6
cleanup - remove old cpu_memcpy and cpu_i64FromDouble that are no longer needed
...
This was SVN commit r8517.
2010-11-01 11:09:03 +00:00
b27d6d38e3
thread-safe timer monotonicity check. fixes #653
...
(agree that DBL_EPSILON is an unnecessary hack, since division by
(t+eps)-(t) will yield a number not much more useful than infinity)
This was SVN commit r8516.
2010-11-01 10:19:22 +00:00
657ec9aa45
WIP timer thread safety:
...
CAS functions now implemented directly in external asm files (avoids
wrapper functions)
reinstated cpu_CAS64 (checking ARCH_IA32 at every call site is onerous)
(temporarily disable timer monotonicity check)
This was SVN commit r8515.
2010-11-01 09:54:03 +00:00
2b9774aa05
fix: alt+enter -> resize window -> maximize window failed to generate a resize event
...
This was SVN commit r8514.
2010-11-01 09:04:55 +00:00
aefc87f226
Windows fixes
...
This was SVN commit r8513.
2010-10-31 22:26:41 +00:00
602b99c397
Fix water rendering in "reveal map" mode.
...
This was SVN commit r8512.
2010-10-31 22:07:57 +00:00
5d764f1435
Run network server in a separate thread, to minimise latency.
...
Make some parts of logger and console thread-safe.
Simplify console: remove special commands; remove prefix for script
commands.
Remove LOG_ONCE, to simplify logger.
Change some code to use the new logger interface.
Fix OOS when revealing map.
Clean up some formatting.
This was SVN commit r8511.
2010-10-31 22:00:28 +00:00
034504f536
Remove misleading wposix declaration of unimplemented gettimeofday.
...
This was SVN commit r8510.
2010-10-31 21:58:30 +00:00
8dc7eca77a
Autobuilder fixes
...
This was SVN commit r8502.
2010-10-30 20:39:23 +00:00
1840bb3507
Stop units walking outside the edges of circular maps.
...
Switch the GUI between square/circular minimap automatically.
This was SVN commit r8500.
2010-10-30 18:25:34 +00:00
10c5dbcba4
Fix Atlas and autostart.
...
Fix non-POD in varargs.
Remove misleading max_players config variable (the engine doesn't care
about it, all the limits are hard-coded).
Remove civ-center-based player civ initialisation hack.
Add dummy player_defaults.json.
Clean up formatting a bit.
This was SVN commit r8498.
2010-10-30 13:27:23 +00:00
9ee44bd9b8
Game setup changes, including showing name, civ, team, and some options loaded from the scenarios. Civ data added. Civ info window to preview civs. Icon tooltips. Support for random map implementation. Fixes #590 .
...
This was SVN commit r8494.
2010-10-30 04:02:42 +00:00
97019c3a5a
Fix launching Atlas from the main menu
...
This was SVN commit r8491.
2010-10-29 21:04:59 +00:00
dd5ff36363
Fix Linux build error ( fixes #651 ).
...
This was SVN commit r8487.
2010-10-29 15:48:46 +00:00
0c3d69ae29
fixes from work: clarify that cpu_MemoryBarrier has no runtime cost by renaming to COMPILER_FENCE and moving to code_annotation.h; fix 32-bit Parallel Studio 2011 warning.
...
This was SVN commit r8486.
2010-10-29 12:54:51 +00:00
825bbf8f51
parallel studio 2011 warning fixes
...
This was SVN commit r8484.
2010-10-28 12:22:11 +00:00
02aa8499ed
Partial experimental version of circular maps
...
This was SVN commit r8470.
2010-10-25 21:59:52 +00:00
bcc5c87045
Fix bandbox selection of out-of-world entities
...
This was SVN commit r8450.
2010-10-23 21:48:18 +00:00
e13196e7a2
Fix serialization of most components
...
This was SVN commit r8449.
2010-10-23 19:59:40 +00:00
73286885d9
Fix race condition when enabling S3TC in Atlas
...
This was SVN commit r8448.
2010-10-23 19:58:45 +00:00
9e499cdec5
# Fix hotkey bugs.
...
Simplify hotkey system to use strings consistently.
Restrict scope of GUI hotkey bindings to the associated page.
Avoid hard-coding list of hotkeys.
Clean up the code a little bit and fix some bugs.
Remove unused "!" prefix for key negation.
Fixes #567 .
This was SVN commit r8444.
2010-10-23 02:37:00 +00:00
3eed24a338
Fix Mesa S3TC-enabling to work in Atlas
...
This was SVN commit r8433.
2010-10-21 23:44:54 +00:00
eb8ca841cd
Add special "colour:r g b a" sprite syntax to GUI. Fixes #616 , based on patch from historic_bruno.
...
This was SVN commit r8431.
2010-10-21 21:22:40 +00:00
e188683bab
Preserve cursor-grabbing across alt-tabs on Windows (probably fixes #508 ).
...
This was SVN commit r8430.
2010-10-21 21:09:41 +00:00
a596323ea6
Avoid bogus GCC warnings about uninitialised values
...
This was SVN commit r8429.
2010-10-21 20:33:27 +00:00
c0a7a36f7a
Use JSFastNative API in more places, for improved compatibility with future SpiderMonkey versions.
...
Remove some unnecessary script-exposed functions, and move some more
into the Engine namespace.
This was SVN commit r8428.
2010-10-21 19:54:59 +00:00
4b3f1e8aaa
Allow camera closer to edge of map when zoomed in
...
This was SVN commit r8401.
2010-10-17 16:26:02 +00:00
6a15b78c98
Increase multiplayer turn length to mask the effects of latency.
...
This was SVN commit r8400.
2010-10-17 16:07:43 +00:00
d11bc41d9a
move support for GL swap control into wsdl (based on patch from wacko)
...
fixes #523
This was SVN commit r8399.
2010-10-17 08:55:47 +00:00
0666dd6074
Uglily initialise player civ assignments to match their starting civ centre
...
This was SVN commit r8384.
2010-10-16 23:07:20 +00:00
fe5bd12301
Fix --without-pch build
...
This was SVN commit r8375.
2010-10-16 17:10:00 +00:00
ee55b92667
Avoid wasting address space on currently-broken cache (see #611 ).
...
This was SVN commit r8371.
2010-10-15 23:20:28 +00:00
094ccc6a98
Fix playing of sound files in archives (by disabling proper streaming).
...
This was SVN commit r8370.
2010-10-15 23:06:14 +00:00
835609df20
Change S3TC warning yet again, to point to a web page with more information. Also stop hard-coding the message.
...
This was SVN commit r8367.
2010-10-15 12:29:20 +00:00
a1a7264aec
Set force_s3tc_enable automatically for greater chance of compressed texture support on Linux (see #575 ).
...
This was SVN commit r8356.
2010-10-15 00:06:48 +00:00
2270961d14
VC2010 fix
...
This was SVN commit r8353.
2010-10-14 09:39:41 +00:00
3d2b17f1bf
Fix some warnings on Windows
...
This was SVN commit r8352.
2010-10-13 21:58:31 +00:00
7b59550cc3
Fix #612 (passing a program object to glDeleteShader via pglDeleteObjectARB)
...
This was SVN commit r8344.
2010-10-13 16:45:27 +00:00
6f62ef3f3c
better ChooseCacheSize: always clamp to 500 MB, remove assertion (refs #611 )
...
This was SVN commit r8329.
2010-10-11 07:03:53 +00:00
ab6702ffaa
Fix typo in comment
...
This was SVN commit r8326.
2010-10-10 19:14:22 +00:00
fecac5a7be
# add support for streaming sounds, not just loading them entirely into memory (avoids stalls when switching music tracks)
...
very belated revision/integration of Heron/Kyniker's patch (thanks!)
ogg fixes: ensure file remains open by holding a shared_ptr. avoid
returning 0 (success) when bytesRead==requestedSize.
closes #100
This was SVN commit r8322.
2010-10-10 12:08:51 +00:00
c9cc7d9784
skip populating directories when mounting and scanning archives => reduces startup time by about half a second when archives are present.
...
also disable archive stats (currently unused) and refactor directory
creation/association logic.
This was SVN commit r8321.
2010-10-10 10:22:11 +00:00
48360edf21
noticed during testing that the file cache is much smaller than our dataset; added logic to choose a decent size. rebuild-workspaces required.
...
wversion: move into separate component from wutil to allow inclusion
from GameSetup without pulling in windows.h (causes conflicts)
This was SVN commit r8319.
2010-10-09 21:14:08 +00:00
c9ebacaa36
fix assertion under heavy cache usage due to 32-bit overflow (c.f. http://www.wildfiregames.com/forum/index.php?showtopic=13622 )
...
This was SVN commit r8317.
2010-10-09 18:12:11 +00:00
7f0b055907
warn when VFS directory creation fails due to an existing file of the same name (was seeing a crash due to a Zip file I had created in the cache directory)
...
This was SVN commit r8316.
2010-10-09 17:53:25 +00:00
a4e47abf34
Stop suggesting the now-unnecessary libtxc_dxtn when S3TC support is missing
...
This was SVN commit r8315.
2010-10-09 16:07:41 +00:00
5d1ad60d18
Fix aliasing error in NVTT ( fixes #605 ).
...
Bump texture cache version number, to invalidate potentially-incorrect
cached textures.
This was SVN commit r8313.
2010-10-08 23:34:55 +00:00
46d5fff269
Use zipped data files and pre-converted textures in release distributions
...
This was SVN commit r8306.
2010-10-07 19:57:31 +00:00
8dda4db8d8
Remove obsolete pmdexp tool
...
This was SVN commit r8303.
2010-10-07 18:50:49 +00:00
0436dc4cb9
Fix memory leak
...
This was SVN commit r8302.
2010-10-07 18:42:35 +00:00
0c170e2e01
Add test for NVTT bug
...
This was SVN commit r8300.
2010-10-07 10:56:38 +00:00
7b82173bad
Avoid potential integer overflow in pathfinder
...
This was SVN commit r8298.
2010-10-06 23:50:07 +00:00
de673be78a
Fix likely cause of "unexpected PathResult" warnings
...
This was SVN commit r8297.
2010-10-06 22:17:34 +00:00
9dfa21b558
Fix off-by-one error (glDrawRangeElements expects the *inclusive* upper bound of indexes)
...
This was SVN commit r8288.
2010-10-05 15:54:04 +00:00
f2e96f3f3c
Reduce brightness of fogged objects.
...
This was SVN commit r8273.
2010-10-04 17:35:13 +00:00
ab77ec40e4
Fix highlighting of obstructed building placement previews.
...
Prevent building in non-visible areas.
Fixes #594 .
This was SVN commit r8272.
2010-10-04 17:34:33 +00:00
6b5b35c245
Remove BFD-based debugging code, to avoid the runtime dependency on binutils.
...
Fixes #581 .
This was SVN commit r8271.
2010-10-04 17:21:55 +00:00
caba7cbe8f
Fix #586 (setting sound.mastergain to 0), based on patch from historic_bruno
...
This was SVN commit r8270.
2010-10-04 12:07:17 +00:00
d77e70389b
Fix #585 (Windows support for font builder), based on patch from historic_bruno
...
This was SVN commit r8269.
2010-10-04 12:00:22 +00:00
795be260be
Improve docs
...
This was SVN commit r8268.
2010-10-04 11:38:43 +00:00
aa32677784
Restore highlighting of units on hover.
...
Optimise overlay code a bit.
This was SVN commit r8253.
2010-10-03 16:48:52 +00:00
9a0db9713e
Add resource supply status bars.
...
Change bar size for buildings.
Only highlight one entity on mouse hover, and only if it's not a unit.
Display status bars on foundations.
This was SVN commit r8249.
2010-10-03 00:30:43 +00:00
7ea522a484
# Add on-screen health bars
...
This was SVN commit r8241.
2010-10-02 12:41:29 +00:00
fcedcae052
# Add victory/defeat conditions, based on patch from fcxSanya.
...
Fixes #565 .
This was SVN commit r8234.
2010-10-01 20:51:21 +00:00
6bcf4f25c8
Fix CStr parsing to be independent of locale, so that it doesn't break when GTK+ changes the locale.
...
This was SVN commit r8218.
2010-09-30 23:17:41 +00:00
82691683cb
Fix #56 (add unit-following camera mode (press 'F')), based on patch from markelov.
...
Remove obsolete IsNewSimulation function.
This was SVN commit r8190.
2010-09-26 23:05:25 +00:00
58026a3c6d
Fix bug with failing to reset GL state when sometimes necessary
...
This was SVN commit r8172.
2010-09-24 21:42:41 +00:00
6d82bfaabf
Disable some profiler calls that are frequent enough to significantly affect performance
...
This was SVN commit r8171.
2010-09-24 21:33:07 +00:00
ede71ea791
Inline common vector/matrix operations, for performance.
...
Remove some redundant vector methods.
Compute skinning for positions and normals simultaneously.
(These changes reduce skinning cost by >50%.)
This was SVN commit r8170.
2010-09-24 16:54:20 +00:00
46b79f8a6d
Scale minimap LOS texture down, to reduce update/upload costs.
...
Reduce minimap LOS update frequency.
This was SVN commit r8169.
2010-09-24 16:52:29 +00:00
85deca90e4
Fix projectiles in FoW
...
This was SVN commit r8163.
2010-09-23 13:09:35 +00:00
e1082e5adb
Fix warnings
...
This was SVN commit r8162.
2010-09-23 12:54:16 +00:00
924d1219a7
# Add fog-of-war.
...
Move Vision component to C++, for more efficient FoW processing.
Disable FoW on demo maps.
This was SVN commit r8160.
2010-09-23 12:13:13 +00:00
000b7250a2
Use slightly higher quality texture compression in archive-builder mode
...
This was SVN commit r8148.
2010-09-20 16:34:09 +00:00
3d8d354a18
# Optimise spatial queries.
...
This was SVN commit r8136.
2010-09-19 18:08:56 +00:00
84b04f37db
Fix more warning.
...
This was SVN commit r8133.
2010-09-18 18:59:04 +00:00
b9eb283174
Fix warning.
...
Set thread name for texture converter.
This was SVN commit r8132.
2010-09-18 18:56:06 +00:00
0d172264f8
# Add -archivebuild mode to generate .zip files for releases, with automatic compression of textures.
...
Fix terrain manager to understand .cached.dds files.
Fix IArchiveWriter so you can pass it absolute paths of files to load,
and different relative paths for storing inside the archive.
Fix fs_util::ForEachFile when called on the VFS root.
This was SVN commit r8130.
2010-09-18 18:21:00 +00:00
4c92b7b596
Add primitive tool for generating profile graphs
...
This was SVN commit r8124.
2010-09-17 21:03:57 +00:00
2362d938cd
Fix loading maps
...
This was SVN commit r8123.
2010-09-17 20:47:47 +00:00
8a98102195
Fix serialize/deserialize API asymmetry.
...
Add serialization support to more components.
This was SVN commit r8122.
2010-09-17 17:53:26 +00:00
a29bb003f2
Fix warning message in replays
...
This was SVN commit r8121.
2010-09-17 17:50:43 +00:00
db047e5bee
Cache message JS conversions, to make broadcasts faster
...
This was SVN commit r8120.
2010-09-17 17:49:39 +00:00
bd38d9d34f
Fix log replayer to load terrain properties.
...
Add profiler to replayer.
Add replay hash verification.
This was SVN commit r8119.
2010-09-17 17:45:50 +00:00
fd68a95bad
Fix map reader to load all necessary simulation data even when graphics are disabled
...
This was SVN commit r8118.
2010-09-17 17:43:12 +00:00