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