janwas
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
Ykkrosh
2540e17f45
Fix non-PCH builds
...
This was SVN commit r8816.
2010-12-08 18:54:05 +00:00
Ykkrosh
8ddef2fee0
Add fast-forward/rewind commands, to help with testing.
...
This was SVN commit r8803.
2010-12-06 19:58:06 +00:00
historic_bruno
1201956b93
Additional cleaning up of logging: removed LOG_CATEGORY macro definitions.
...
This was SVN commit r8792.
2010-12-05 08:50:33 +00:00
historic_bruno
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
historic_bruno
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
Ykkrosh
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
Ykkrosh
4575c26616
Disable compression of public.zip ( fixes #671 ).
...
This was SVN commit r8785.
2010-12-04 15:57:55 +00:00
Ykkrosh
4b37898ab9
Fix tests.
...
This was SVN commit r8784.
2010-12-04 15:08:18 +00:00
Ykkrosh
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
historic_bruno
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
Ykkrosh
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
Ykkrosh
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
Ykkrosh
f286ce0b13
Fix crash when loading zero-length config files
...
This was SVN commit r8634.
2010-11-17 01:39:14 +00:00
Ykkrosh
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
WhiteTreePaladin
042972e298
Renamed "session_new" to "session"
...
This was SVN commit r8608.
2010-11-14 20:32:38 +00:00
Ykkrosh
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
Ykkrosh
25cd781641
Support horizontal scroll wheels for camera rotation
...
This was SVN commit r8582.
2010-11-13 01:00:54 +00:00
Ykkrosh
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
janwas
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
janwas
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
Ykkrosh
818ea52c3b
Delete obsolete non-working i18n code
...
This was SVN commit r8527.
2010-11-03 17:52:07 +00:00
Ykkrosh
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
janwas
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
Ykkrosh
aefc87f226
Windows fixes
...
This was SVN commit r8513.
2010-10-31 22:26:41 +00:00
Ykkrosh
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
Ykkrosh
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
historic_bruno
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
Ykkrosh
97019c3a5a
Fix launching Atlas from the main menu
...
This was SVN commit r8491.
2010-10-29 21:04:59 +00:00
Ykkrosh
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
Ykkrosh
3eed24a338
Fix Mesa S3TC-enabling to work in Atlas
...
This was SVN commit r8433.
2010-10-21 23:44:54 +00:00
Ykkrosh
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
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