janwas
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
Ykkrosh
ee55b92667
Avoid wasting address space on currently-broken cache (see #611 ).
...
This was SVN commit r8371.
2010-10-15 23:20:28 +00:00
Ykkrosh
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
Ykkrosh
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
Ykkrosh
3d2b17f1bf
Fix some warnings on Windows
...
This was SVN commit r8352.
2010-10-13 21:58:31 +00:00
janwas
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
janwas
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
janwas
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
Ykkrosh
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
Ykkrosh
0436dc4cb9
Fix memory leak
...
This was SVN commit r8302.
2010-10-07 18:42:35 +00:00
Ykkrosh
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
Ykkrosh
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
Ykkrosh
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
Ykkrosh
000b7250a2
Use slightly higher quality texture compression in archive-builder mode
...
This was SVN commit r8148.
2010-09-20 16:34:09 +00:00
Ykkrosh
84b04f37db
Fix more warning.
...
This was SVN commit r8133.
2010-09-18 18:59:04 +00:00
Ykkrosh
b9eb283174
Fix warning.
...
Set thread name for texture converter.
This was SVN commit r8132.
2010-09-18 18:56:06 +00:00
Ykkrosh
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
Ykkrosh
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
janwas
2e7436434d
warning fixes: mostly size_t vs. specialized API type and other type conversion.
...
added player_id_t typedef and INVALID_PLAYER, use that instead of -1.
also added sanity checks to cpu.cpp to ensure ARCH_* is correct (see
http://www.wildfiregames.com/forum/index.php?showtopic=13327&hl= )
and further predefined macros to arch.h just to be sure.
This was SVN commit r8079.
2010-09-05 09:38:30 +00:00
Ykkrosh
b1e32f9542
Fix tests
...
This was SVN commit r8077.
2010-09-04 21:29:27 +00:00
Ykkrosh
6c7830df3f
Rename CTextureManager and CTextureEntry since they are only for terrain textures
...
This was SVN commit r8076.
2010-09-04 21:26:52 +00:00
Ykkrosh
1c535b6a8a
Fix #544 (Fall back to windowed mode if fullscreen fails), based on patch from oln
...
This was SVN commit r8072.
2010-09-04 14:49:12 +00:00
Ykkrosh
5e15a0279e
Print JS stack trace when reporting exceptions.
...
Increase maximum logger message size.
Fix GC bug.
This was SVN commit r8063.
2010-09-03 20:06:17 +00:00
Ykkrosh
2b57f4f998
# Initial support for formation movement.
...
Support asynchronous path queries.
Allow escaping when stuck in impassable terrain tiles.
Split Update message in multiple phases, to cope with ordering
requirements.
Support automatic walk/run animation switching.
This was SVN commit r8058.
2010-09-03 09:55:14 +00:00
Ykkrosh
2cff131a87
Fix #545 (Grab mouse in fullscreen), based on patch from Jayschwa
...
This was SVN commit r8022.
2010-08-22 10:00:22 +00:00
Ykkrosh
2529ae2a7b
Fix #543 (Replace skybox with black background), based on patch from Jayschwa
...
This was SVN commit r8018.
2010-08-21 22:43:35 +00:00
Ykkrosh
f221caecda
Add camera angle/zoom reset key ("H")
...
This was SVN commit r7941.
2010-08-14 00:52:19 +00:00
Ykkrosh
6c7b82130c
# Redesigned the camera control system.
...
Add shift+wheel (and Q/E, and ctrl+arrows, and ctrl+WASD) to rotate the
camera.
Restrict the rotation and zoom to narrow ranges. (Constraints can be
disabled in the dev overlay).
Smooth the movement and rotation.
Fix some stupid whitespace.
Fix some const correctness.
This was SVN commit r7930.
2010-08-13 13:26:29 +00:00
WhiteTreePaladin
0c4a64ce4c
The chat hotkey (goes with previous commit)
...
This was SVN commit r7910.
2010-08-11 22:17:54 +00:00
Ykkrosh
56a975312e
With --without-pch error
...
This was SVN commit r7894.
2010-08-10 19:48:35 +00:00
Ykkrosh
ba5a892912
Fix warnings
...
This was SVN commit r7886.
2010-08-09 09:49:24 +00:00
Ykkrosh
a42f14d168
Windows build fix
...
This was SVN commit r7881.
2010-08-08 20:11:57 +00:00
Ykkrosh
91cd032827
Add basic replay recorder/player to help debugging and performance testing.
...
This was SVN commit r7863.
2010-08-06 22:16:05 +00:00
Ykkrosh
51d0abbf2a
Use SDL_GL_SWAP_CONTROL to control vsync on non-Windows. Fixes #520 .
...
This was SVN commit r7845.
2010-08-04 21:30:43 +00:00
Ykkrosh
65bcedb9fc
Load map descriptions from their XML file.
...
Add basic hold-fire stance, and use it for some test maps.
Add JSON data container to map XML files, to simplify the interaction
between scripts and maps.
Fix fixed-point printing so it roundtrips safely through map files.
Fix camera startup positions in old-format maps.
This was SVN commit r7844.
2010-08-04 21:15:41 +00:00
Ykkrosh
b292a32505
Add JS memory usage to profiler.
...
Add dumpHeaps() console function for debugging JS memory usage.
Increase default JS heap size.
Make call-time profile table appear first when toggling.
Remove some unused script functions.
This was SVN commit r7842.
2010-08-02 19:23:58 +00:00
Ykkrosh
8286218cad
Delete lots of obsolete unused script-interface code.
...
Delete unused code from various other places.
This was SVN commit r7839.
2010-08-01 20:56:34 +00:00
Ykkrosh
d29dd45237
Fix compiling with Clang
...
This was SVN commit r7824.
2010-07-30 21:42:22 +00:00
Ykkrosh
1706363bab
Fix #423 (Switch from CppDoc to Doxygen), based on patch from anr.
...
Also delete some unused declarations, and rename is_playing to
snd_is_playing.
This was SVN commit r7813.
2010-07-29 15:55:41 +00:00
Ykkrosh
827c81fb03
Allow overriding libdir at run-time for tests
...
This was SVN commit r7795.
2010-07-24 12:51:22 +00:00
Ykkrosh
7568414fed
Fall back to 16-bit depth buffer when 24-bit isn't supported
...
This was SVN commit r7791.
2010-07-23 17:28:32 +00:00
janwas
aa44bac652
from work: add thread-safe timer; add CAS64 (required for thread-safe timer); remove topology init requirements, no longer cache results (simplifies GroupPolicy_PerCache); add scoped affinitizer; whrt: fix race condition reported by parallel inspector. also refactor cache and TLB detection.
...
This was SVN commit r7785.
2010-07-22 16:17:33 +00:00
Ykkrosh
2b1541ba0b
Fix #456 (DllLoader should handle missing files better), based on patch from evans
...
This was SVN commit r7783.
2010-07-22 00:25:13 +00:00
Ykkrosh
9674c3c0fe
Remove ScriptingHost initialisation code (share with ScriptInterface instead).
...
Fix GUI scripts to avoid strict warnings.
Rejig GUI/SpiderMonkey interface to use less custom code, and to work
with JSOPTION_VAROBJFIX.
Add event name to GUI event handler function names (visible in the
profiler).
This was SVN commit r7769.
2010-07-19 23:01:58 +00:00
Ykkrosh
2375c7cb95
Add bindir/datadir/libdir options, to find files when the game is installed in standard FHS locations
...
This was SVN commit r7758.
2010-07-14 19:39:47 +00:00
Ykkrosh
88f25849b3
Windows fixes
...
This was SVN commit r7715.
2010-07-07 22:23:18 +00:00
Ykkrosh
4b06ebd52d
Add basic help page into the main menu.
...
Add buttons to open the web site and IRC.
Tentatively allow Atlas to be launched from the menu.
Add some shutdown functions to support relaunching into Atlas without
having to restart the whole process.
This was SVN commit r7714.
2010-07-07 21:47:31 +00:00
Ykkrosh
1eb64ebb26
Fix non-PCH builds
...
This was SVN commit r7711.
2010-07-07 10:39:41 +00:00
Ykkrosh
31699e830d
Handle disconnections better.
...
Remove local sessions (just use ENet for everything instead) because
they add far too much complexity.
Fix memory leaks.
This was SVN commit r7706.
2010-07-06 19:54:17 +00:00
Ykkrosh
32933c501a
Fix uninitialised value in logger.
...
This was SVN commit r7705.
2010-07-06 19:53:08 +00:00