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
624e8490a2
Increase script memory limit more
...
This was SVN commit r8117.
2010-09-17 17:40:44 +00:00
bd94273801
Stop using sem_init, since it's not supported on OS X.
...
Avoid calling any GL functions during tests (since GL isn't loaded).
This was SVN commit r8108.
2010-09-12 20:59:18 +00:00
1cc4d358d7
Fix #549 (Allow units to be moved by right-clicking on the mini-map), based on patch from Badmadblacksad
...
This was SVN commit r8107.
2010-09-11 19:49:21 +00:00
f3c9a59d29
Fix layout errors and crash with Atlas terrain previews.
...
Fix warning.
This was SVN commit r8103.
2010-09-10 21:35:08 +00:00
67a94572ec
# Add new texture loading system with automatic compression.
...
Replace almost all texture uses with calls to the new system.
Add some anistropic filtering to terrain textures.
Let Atlas load terrain texture previews partly-asynchronously by
polling.
Fix inefficient texture colour determination for minimap.
Remove unused global g_TerrainModified.
Change GUI texcoord computation to be less efficient but to cope with
dynamic texture changes.
Fix GUI renderer effects leaving bogus colour state.
This was SVN commit r8099.
2010-09-10 21:02:10 +00:00
b15c5c1c45
Add anisotropic filtering support to ogl_tex.
...
Shrink some OglTex fields so that it fits in the size limit.
Add function to efficiently read the 1x1 mipmap level's colour.
Add RGB->RGBA and BGR->RGBA transforms.
Fix DXT1a detection logic.
Fix OglTex_validate failing when ogl_max_tex_size == -1 (e.g. before
ogl_Init is called).
This was SVN commit r8097.
2010-09-10 20:37:54 +00:00
ad02ab726d
Expose VFS file priorities.
...
This was SVN commit r8096.
2010-09-10 20:29:38 +00:00
5b7afe3606
Fix zip file detection.
...
This was SVN commit r8095.
2010-09-10 20:28:48 +00:00
dee3cb84b5
Fix S3TC decoder bug.
...
Add S3TC decoder test.
Fix texture codec test to not be a no-op, then disable it since it
fails.
Add DDS mipmap removal transform.
This was SVN commit r8094.
2010-09-10 20:25:23 +00:00
c0c8132dd4
fix VFS real path retrieval for files mounted from multiple directories (e.g. mods)
...
closes #564
GetRealPath was too simplistic and just asked the directory *most
recently mounted* into the file's VFS directory for its path. the
correct solution is to ask the file's loader for its path. the archiver
IFileLoader new returns the archive's pathname as the real path.
also simplified VfsFile's interface.
This was SVN commit r8082.
2010-09-05 21:41:45 +00:00
f5f65c23c0
OSX compat: remove cpu_CAS64 wrapper, since intptr_t and i64 apparently aren't compatible types. IA-32 code should call ia32_asm_CAS64 if it wants to CAS 64-bit values.
...
This was SVN commit r8080.
2010-09-05 15:38:34 +00:00
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
b1e32f9542
Fix tests
...
This was SVN commit r8077.
2010-09-04 21:29:27 +00:00
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
014d504e3a
Fix FAT-tolerant timestamp comparison
...
This was SVN commit r8075.
2010-09-04 16:46:10 +00:00
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
0fa0181f0c
Fix #554 (camera should be always inside the terrain), based on patch from markelov
...
This was SVN commit r8070.
2010-09-04 12:50:27 +00:00
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
1fb90357b2
Fix build error
...
This was SVN commit r8059.
2010-09-03 10:09:41 +00:00
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
ece6b58188
Fix crash in replay mode.
...
Disable audio properly in replay mode.
This was SVN commit r8057.
2010-09-03 09:50:16 +00:00
b712efac07
Optimise vertex pathfinder (typically ~6x faster).
...
This was SVN commit r8056.
2010-09-03 09:44:41 +00:00
188a3cab12
Split pathfinder into multiple files, to make it more manageable.
...
This was SVN commit r8055.
2010-09-03 09:32:12 +00:00
1936acc8a8
Fix #557 (Minor improvements to non-fancy water fresnel effect), based on patch from hex539
...
This was SVN commit r8046.
2010-08-29 14:13:39 +00:00
0858b76bed
Fix #556 (Minimap camera outline clips incorrectly), based on patch from Jayschwa
...
This was SVN commit r8045.
2010-08-29 13:31:19 +00:00
81f4347c71
Fix #553 (build error when wxUSE_ON_FATAL_EXCEPTION disabled), based on patch from Karlik
...
This was SVN commit r8044.
2010-08-29 12:51:52 +00:00
99d56959aa
Fix #552 (compile with new boost (1.44+)), based on patch from Karlik
...
This was SVN commit r8043.
2010-08-29 12:44:13 +00:00
5fbbc27dfd
Fix crash when calling JSFastNatives with too few arguments (they don't guarantee to give the number requested in the definition)
...
This was SVN commit r8028.
2010-08-23 14:30:13 +00:00
ac9340584c
Fix building when wxWidgets has TIFF support disabled
...
This was SVN commit r8026.
2010-08-22 18:06:46 +00:00
3abe355b7c
Disable implementation of os_cpu_SetThreadAffinityMask on Linux, since it's not necessary and it causes errors.
...
Should fix #547 .
This was SVN commit r8024.
2010-08-22 11:23:50 +00:00
28ee4fdb5d
Fix template error when creating foundations
...
This was SVN commit r8023.
2010-08-22 10:09:01 +00:00
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
dab8365978
Make GUI buttons respond to multiple rapid clicks
...
This was SVN commit r8021.
2010-08-22 01:00:57 +00:00
a9b11b780e
Fix right clicks passing through GUI objects and triggering unit commands.
...
Fix cursor displaying unit commands when over a GUI object.
This was SVN commit r8020.
2010-08-21 23:58:08 +00:00
674f516f83
Fix #546 (Water continues to flow during pause), based on patch from Jayschwa
...
This was SVN commit r8019.
2010-08-21 22:50:57 +00:00
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
715a2715c9
Fix #541 (Strange shape of camera view on minimap), based on patch from lubos
...
This was SVN commit r8017.
2010-08-21 22:06:44 +00:00
87cf84fb4c
Fix #538 (Atlas has wrong icon in Start menu)
...
This was SVN commit r8016.
2010-08-21 22:02:07 +00:00
d2f7973c29
Fix system-dependent crash on exiting
...
This was SVN commit r8013.
2010-08-21 16:26:34 +00:00
fed57d7bee
Add primitive .3do (TA/Spring) model conversion tool.
...
This was SVN commit r8007.
2010-08-19 21:59:08 +00:00
9fa5af5fbf
Avoid crash when loading texture named "".
...
Report texture-loading errors.
This was SVN commit r8006.
2010-08-19 21:58:27 +00:00
90207a5018
Add barely-tested support for prop points on static meshes (see #243 - needs more testing).
...
Automatically triangulate meshes.
This was SVN commit r8005.
2010-08-19 21:57:43 +00:00
7a8d1f9542
Add files used for https://launchpad.net/~wfg/+archive/0ad
...
This was SVN commit r7983.
2010-08-16 01:36:22 +00:00
b44636d10f
Fix uninstaller to remove link
...
This was SVN commit r7971.
2010-08-15 16:31:05 +00:00
4e1b6d08f4
Fix lithobolos size and projectile.
...
Fix projectiles launching from actors with no ammo prop.
Fix default camera location on maps with no civ centers.
Avoid units getting stuck on the edges of buildings.
This was SVN commit r7950.
2010-08-14 22:11:32 +00:00
d1b3306488
Fix warning
...
This was SVN commit r7947.
2010-08-14 20:09:45 +00:00
64daef95df
Fix chat to use GUID instead of host ID.
...
Fix randomly incorrect player names.
Fix script errors when connecting to an invalid IP address.
Adjust the server/client disconnection messages to be a bit more
accurate.
This was SVN commit r7946.
2010-08-14 19:45:22 +00:00
8967395da6
Made chat messages send a GUID rather than a user name
...
This was SVN commit r7943.
2010-08-14 15:34:36 +00:00
f221caecda
Add camera angle/zoom reset key ("H")
...
This was SVN commit r7941.
2010-08-14 00:52:19 +00:00
8367b73087
Fix warning
...
This was SVN commit r7937.
2010-08-13 18:13:14 +00:00
0ebe3486b6
Add setTurnLength() function for hacky fixing of network lag.
...
This was SVN commit r7936.
2010-08-13 16:42:53 +00:00
3e6df25f10
Bump the network protocol version, to prevent confusion if someone uses the old release.
...
This was SVN commit r7934.
2010-08-13 14:29:27 +00:00
961d19d037
Try a more readable stroked font.
...
This was SVN commit r7932.
2010-08-13 14:14:27 +00:00
2deac598eb
Remove focus from chat box after sending message
...
This was SVN commit r7931.
2010-08-13 13:50:03 +00:00
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
7ddfb18fe7
Add web site link to start menu in Windows installer. Remove docs folder in uninstaller.
...
This was SVN commit r7929.
2010-08-13 13:22:34 +00:00
0c4a64ce4c
The chat hotkey (goes with previous commit)
...
This was SVN commit r7910.
2010-08-11 22:17:54 +00:00
54d9224918
Add focus() script method to GUI objects.
...
Add basic GUI script timer.
This was SVN commit r7908.
2010-08-11 21:04:09 +00:00
d46abd9aaf
Use a fixed aspect ratio for the menu screen background and loading screen concept art, to prevent ugly stretching at widescreen resolutions
...
This was SVN commit r7898.
2010-08-10 22:39:00 +00:00
4f1b7bb0e6
Complain more informatively about incorrect ENet versions
...
This was SVN commit r7897.
2010-08-10 21:49:33 +00:00
08cdb0b9c2
Fix more --without-pch
...
This was SVN commit r7896.
2010-08-10 20:22:23 +00:00
d908f125a6
Fix --without-pch more
...
This was SVN commit r7895.
2010-08-10 20:08:16 +00:00
56a975312e
With --without-pch error
...
This was SVN commit r7894.
2010-08-10 19:48:35 +00:00
7eebe05485
fixes+improvements from work:
...
timer: cleanup, remove duplication
topology: fix incorrect param order
tsc: ensure MSRs are available before accessing
msr: add prefix to make clear that registers are nehalem-specific
This was SVN commit r7892.
2010-08-10 17:03:17 +00:00
e6c3f1c482
# Use more sound effects
...
This was SVN commit r7891.
2010-08-10 01:25:24 +00:00
ba5a892912
Fix warnings
...
This was SVN commit r7886.
2010-08-09 09:49:24 +00:00
2ef4371798
Fix build error in tests
...
This was SVN commit r7885.
2010-08-09 09:25:13 +00:00
b89e86772b
belatedly add files missing from 3d45069b3f
(my bad)
...
This was SVN commit r7884.
2010-08-09 07:37:43 +00:00
c728aa972c
Support the <float/> property in actors
...
This was SVN commit r7883.
2010-08-09 01:28:13 +00:00
a42f14d168
Windows build fix
...
This was SVN commit r7881.
2010-08-08 20:11:57 +00:00
e64d115d7c
# Change selection circles to match the player colour
...
This was SVN commit r7880.
2010-08-08 17:28:51 +00:00
7d0ae8585c
Remove some unused includes.
...
This was SVN commit r7873.
2010-08-08 16:04:23 +00:00
2b6f11e834
Add list_data property to GUI list controls, to associate extra data with the human-readable list item names.
...
This was SVN commit r7869.
2010-08-08 15:22:17 +00:00
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
30a6dbcb89
Fix uninitialised-value warnings
...
This was SVN commit r7861.
2010-08-06 14:15:08 +00:00
3d45069b3f
improvements/additions from work
...
bits: fix bit_mask for signed types, add SetBitsTo, LeastSignificantBit,
ClearLeastSignificantBit.
add MSR support (read/write via mahaf in kernel mode)
x86_x64: expose family/model
topology: add support for determining core/package from APIC ID.
TSC: report actual frequency for nehalem invariant TSC.
improved UNREACHABLE/ASSUME_UNREACHABLE (avoid ICC warning, add GCC4.5
support)
This was SVN commit r7860.
2010-08-06 13:03:44 +00:00
e2a736fc5a
Update contributors list
...
This was SVN commit r7856.
2010-08-06 00:18:45 +00:00
40e268e06a
# Add terrain smoothing tool to Atlas, based on patch from DigitalSeraphim.
...
Fixes #516 .
This was SVN commit r7854.
2010-08-05 20:43:31 +00:00
b4e409e80d
Fix #525 more, so it doesn't use an uninitialised variable
...
This was SVN commit r7853.
2010-08-05 17:13:10 +00:00