Yves
238b7f84d8
Changes the ConfigDB to expose global functions to scripts instead of properties and custom objects.
...
Fixes #2172
Refs #1886
This was SVN commit r13914.
2013-09-29 18:56:50 +00:00
Ykkrosh
6b0a0e83eb
Fix profiler malloc count in debug mode on Windows
...
wdbg_heap_NumberOfAllocations doesn't work without the wdbg_heap
leak detector, which is disabled since it's slow and broken.
Use a simple hook via _CrtSetAllocHook instead to count allocations.
This was SVN commit r13910.
2013-09-29 14:43:14 +00:00
Ykkrosh
994ebd9836
Add a list of statically-constructed CStrIntern strings
...
Switch all the constant strings in graphics code to use the new
variables.
This avoids the cost of instantiating CStrInterns at runtime every
frame.
This was SVN commit r13906.
2013-09-29 13:19:52 +00:00
sanderd17
e370af8d4e
Fix rally point rendering on saved games. Fixes #1762 . Patch by mimo
...
This was SVN commit r13897.
2013-09-24 20:27:18 +00:00
historic_bruno
cd51540725
This was SVN commit r13892.
2013-09-22 18:13:19 +00:00
Yves
9781b67cf4
Changes the Console to expose global functions to scripts instead of properties.
...
Fixes #2140
Refs #1886
This was SVN commit r13884.
2013-09-21 14:48:19 +00:00
Yves
12e2428495
Changes the Renderer to expose global functions to scripts instead of using CJSObject.
...
Fixes #2137
Refs #1886
This was SVN commit r13877.
2013-09-21 08:24:45 +00:00
Yves
5304bc9d6a
Changes GameView to expose global functions to scripts instead of using CJSObject.
...
Fixes #2126
Refs #1886
This was SVN commit r13826.
2013-09-12 12:40:05 +00:00
stwf
b1bd61938e
add file notification to Mac ticket 514, also change name of class FileInfo to CFileInfo to ease Mac development
...
This was SVN commit r13821.
2013-09-10 14:17:04 +00:00
leper
04ed87bf28
Display error messages instead of breaking into the debugger when we don't have rights to save a map in Atlas. Fixes #1941 .
...
This was SVN commit r13818.
2013-09-09 23:31:22 +00:00
Ykkrosh
b2862f14da
Avoid continual libxml2 memory leak in simulation-test mode
...
This was SVN commit r13817.
2013-09-09 20:22:42 +00:00
historic_bruno
7a0e91ab23
Fixes undefined behavior in Atlas error display, fixes #2115
...
This was SVN commit r13808.
2013-09-08 03:35:05 +00:00
stwf
df190cbbd1
fix issues with menu mode and playlist, harden code and clear out ambient noises at game end, fixes #2066
...
This was SVN commit r13784.
2013-08-29 13:20:55 +00:00
wraitii
f106d7714a
Fix a swap between reflections and refractions in config.cfg . Disabling "Render Reflections" now reverts to the skybox for better results.
...
Allows to oversaturate in Atlas' HDR settings.
This was SVN commit r13752.
2013-08-24 14:44:38 +00:00
wraitii
630301918c
Fix the command line -autostart-aidiff to default to 2 (new medium)
...
This was SVN commit r13746.
2013-08-24 09:55:06 +00:00
historic_bruno
f947fa6afe
Fixes stack overflow in stack dump logic, by special-casing boost::unordered types, fixes #1813 .
...
Adds INIT_HAVE_DISPLAY_ERROR init flag to correctly override
ah_display_error in Atlas (InitVfs was overriding it again), but don't
use it because it's ugly and broken, refs #1729
This was SVN commit r13724.
2013-08-20 21:07:42 +00:00
historic_bruno
5a1ddd7cf9
Improves hotkey support for non-QWERTY keyboards, patch by lsdh, fixes #2043
...
This was SVN commit r13627.
2013-08-03 20:09:29 +00:00
historic_bruno
e0ea53a8ee
Adds saved game descriptions and in-game save dialog, based on patch by Crynux, fixes #2030
...
This was SVN commit r13579.
2013-07-21 00:23:57 +00:00
leper
d1af7ea0ef
Include mod path in the cache path.
...
This was SVN commit r13546.
2013-07-10 00:08:01 +00:00
stwf
26dbac8d57
fixes to SoundManager external interface, clean up ifdef situation, and SoundGroup playin
...
This was SVN commit r13474.
2013-06-13 12:12:44 +00:00
leper
2567fee329
Write mod data correctly. Fixes #1940 .
...
This was SVN commit r13472.
2013-06-11 20:50:09 +00:00
leper
b3391ebe39
Fix build warnings. Patch by Markus. Refs #1851 .
...
This was SVN commit r13469.
2013-06-11 00:05:57 +00:00
stwf
ada7702bec
add UI sound channel, clean up external interface and javascript calls
...
This was SVN commit r13467.
2013-06-10 13:58:43 +00:00
stwf
71b25d5bd4
big SoundManager checkin,futureproof javascript interface, isolate external calls to remove OpenAL references
...
This was SVN commit r13455.
2013-06-06 11:13:57 +00:00
historic_bruno
a8a968d32c
Catch exceptions by reference (by convention), based on patch from Markus, refs #1852
...
This was SVN commit r13421.
2013-05-22 22:27:53 +00:00
historic_bruno
72a8b88b7d
Fixes some unconventional assignment operators, patch by Markus, refs #1852 .
...
Fixes typo in test_ShaderManager
This was SVN commit r13420.
2013-05-22 22:04:58 +00:00
historic_bruno
94c57085e9
Makes some classes NONCOPYABLE, based on patch by Markus, refs #1852
...
This was SVN commit r13419.
2013-05-22 21:40:56 +00:00
stwf
bf959e1c46
fix build when using --without-audio
...
This was SVN commit r13389.
2013-05-02 13:58:28 +00:00
stwf
0cad19ecec
double check that the sound manager has been created before using
...
This was SVN commit r13353.
2013-04-10 12:03:17 +00:00
stwf
b301d5c84d
fades music in and out when switching to background, also honors g_PauseOnFocusLoss
...
This was SVN commit r13352.
2013-04-10 11:51:42 +00:00
stwf
c9a5d5cee5
pause music and ambient sounds when game pauses
...
This was SVN commit r13347.
2013-04-07 04:13:15 +00:00
historic_bruno
161d6c1ba7
Improves SDL 2.0 support
...
This was SVN commit r13343.
2013-04-05 02:39:30 +00:00
historic_bruno
16de5c75ac
Adds game speed option to match setup, adds in-game control for single player games, fixes #785 .
...
Refactors some GUI utility functions.
This was SVN commit r13340.
2013-04-03 23:24:22 +00:00
wraitii
03c3b1daa3
Fixes a few changes in my previous commit. Makes "Medium" the default difficulty setting.
...
This was SVN commit r13303.
2013-03-16 12:55:03 +00:00
wraitii
5af7544918
Bug fixes and small improvements to Aegis. Change the "C" button into a "Settings" button. Fix to -autostart-aidiff.
...
This was SVN commit r13289.
2013-03-15 12:35:16 +00:00
wraitii
25293ce0cc
Many small bugfixes for AIs. Adds support for difficulty (and along with that, some behind-the-door architecture for a handicap system).
...
Adds -autostart-aidiff to set the difficulty from the command line from
testing.
This was SVN commit r13278.
2013-03-13 20:44:48 +00:00
wraitii
2c17ab70ac
Add support for -autostart-civ to set civilizations when quickstarting.
...
Put the AI memory heap back to 32 MB to avoid OOM errors with numerous
AIs in late game.
Fix a bug that made ProductionQueue not broadcast progress.
Fix many issues with Aegis in defense, pathfinding, foundation
construction, training building choice, strength calculations, building
placement and mostly attack. Aegis should be much more aggressive.
This was SVN commit r13247.
2013-03-09 14:09:06 +00:00
Yves
73951b75fc
Adds the server-side part of the javascript debugger. Refs #410
...
This was SVN commit r13238.
2013-03-07 13:49:49 +00:00
historic_bruno
10373892be
Adds support for Apple command/meta hotkeys by grouping them with unified "Super" hotkey (not bothering to handle the distinction which is only relevant to Apple keyboards and SDL 1.2).
...
Adds Super+Q hotkey to close the game on OS X.
This was SVN commit r13195.
2013-02-24 21:42:21 +00:00
historic_bruno
92fdbb49b6
Moves particle interpolation to its own simulation component.
...
Fixes inconsistency between Atlas and in-game particle rendering during
pauses.
Fixes some issues related to Atlas simulation test and map loading.
This was SVN commit r13184.
2013-02-22 23:20:59 +00:00
historic_bruno
a87019ea5a
Render initial game view during loading screen, to begin loading assets and eliminate ugly terrain blending artifacts. Refs #1663
...
This was SVN commit r13181.
2013-02-22 07:32:22 +00:00
leper
1e3bdc439b
Fix MSVC warning. Refs #1838 .
...
Remove special support for removed internal mod.
This was SVN commit r13180.
2013-02-21 19:59:39 +00:00
leper
2f19cf86d3
Fix mod priority. Add user mod support. Fixes #1838 .
...
This was SVN commit r13167.
2013-02-14 00:40:02 +00:00
historic_bruno
f9bbd97dde
Adds startup warning(s) about removing fixed renderpath, fixes #1795
...
This was SVN commit r13156.
2013-02-09 22:55:42 +00:00
leper
3e8bdebc6d
Add Clang detection and add BSD to the collected stats.
...
This was SVN commit r13111.
2013-01-23 16:01:17 +00:00
Ykkrosh
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
historic_bruno
a074eb814a
Adds blinking cursors with configurable rate, based on patch by kingadami. Fixes #876
...
This was SVN commit r13068.
2013-01-12 01:20:01 +00:00
leper
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
leper
adc4012944
Save last multiplayer server. Based on patch by Aurium. Fixes #1778 .
...
Fix bug in ConfigDB: Creating a value could result in changing a value
in a different namespace.
This was SVN commit r13021.
2012-12-25 22:49:18 +00:00
leper
9a2dfa3fc0
Read default multiplayer server name/IP address from config. Patch by Aurium. Refs #1778 .
...
This was SVN commit r13003.
2012-12-20 21:44:56 +00:00