historic_bruno
b1c081e36d
Set svn:eol-style=native, fix some inconsistent line endings
...
This was SVN commit r14299.
2013-12-06 00:42:50 +00:00
quantumstate
68880ca5d5
Make atlas player assignment apply to all of the currently selected units
...
This was SVN commit r14273.
2013-12-02 22:46:33 +00:00
leper
5da63764e0
Fix compilation with wxWidgets 3.0.
...
This was SVN commit r14215.
2013-11-20 19:29:10 +00:00
leper
47b26e56d3
Remove unused VideoRecorder from Atlas.
...
This was SVN commit r14181.
2013-11-14 23:05:07 +00:00
leper
4c395f4bf2
Remove Trigger and Cinematic sections from Atlas.
...
This was SVN commit r14166.
2013-11-14 00:10:04 +00:00
Ykkrosh
2d1be3d47e
Improve correctness of hotkeys at low framerates.
...
SDL queues up all the input events received in a frame. When the hotkey
system saw a key up/down event, it immediately updated its
HotkeyIsPressed state and then pushed a hotkey event onto the end of the
queue.
If the initial queue was e.g. [key-down shift, key-press Z, key-up
shift], the hotkey event triggered by Z would be processed after the
key-up shift had updated the HotkeyIsPressed state, so the handler of
the Z hotkey would not think the shift hotkey was pressed.
If the initial queue was e.g. [key-press Z, mouse-click], the hotkey
triggered by Z would be processed after the mouse-click event, so it
could apply to the wrong building selection.
Fix by pushing the hotkey events onto a special queue that gets
processed before any subsequent SDL input events.
Also update the HotkeyIsPressed status when the HOTKEYDOWN/HOTKEYUP
events are processed, not when they are generated, to guarantee they are
consistent with the DOWN/UP events.
Fixes #1869 .
This was SVN commit r14057.
2013-10-30 01:38:32 +00:00
Ykkrosh
5778484a77
Refactor text renderer
...
Replace unifont with CFont and CFontManager, since the h_mgr interface
was
needlessly inconvenient.
Load the font textures through CTextureManager, to support dynamic
reloading (e.g. when resetting GL state - see #741 ).
Add CFontMetrics as a convenient wrapper for code that just wants to
measure text.
Fixes #1117 .
This was SVN commit r14016.
2013-10-18 15:53:07 +00:00
leper
3624c591bd
Fix compilation failure without PCH.
...
This was SVN commit r13946.
2013-10-05 16:22:51 +00:00
historic_bruno
7901ed51d4
Implements skirmish maps, based on patch by sanderd17, fixes #1198 . Skirmish maps are like scenarios, except the player can choose their civ during match setup. To create a skirmish map: place some skirmish entities for each player in Atlas (see templates/skirmish/* for examples), uncheck the player's civ in Atlas' player panel if desired, and save in the maps/skirmishes directory. The map will appear in match setup under the "Skirmish" match type.
...
Implements custom, VFS-based map load/save dialogs for Atlas (replaces
broken native file dialogs), fixes #631 , #889 .
Fixes map loading/saving to handle arbitrary subdirectories for better
organization.
Adds default settings to Atlas player panel, fixes #1872 . Each setting
now has a checkbox to choose whether it should be saved with the map
(avoids writing lots of useless default data for each map).
Adds map preview setting to Atlas, refs #1745 .
Cleans up and simplifies some duplicate code.
Fixes optional serialization performance test.
This was SVN commit r13938.
2013-10-04 02:29:16 +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
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
historic_bruno
52d6a8036d
This was SVN commit r13725.
2013-08-21 05:37:28 +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
leper
54bbbb9797
Boost 1.54 deprecates Boost.Signal. Use Boost.Signal2 for >= 1.54.
...
This was SVN commit r13716.
2013-08-19 22:11:54 +00:00
sanderd17
a9c71e39a4
make new elevation tool more drastic + add RMB action
...
This was SVN commit r13684.
2013-08-17 14:02:18 +00:00
sanderd17
b820f6e6ae
Add a pike elevation tool to make sharp pointed mountains. Fixes #2059
...
This was SVN commit r13672.
2013-08-16 14:46:54 +00:00
historic_bruno
7ff167e7de
Removes more unused variables, based on patch by Markus, refs #1852 .
...
Adds TODOs to use POT textures in fancy water rendering.
This was SVN commit r13663.
2013-08-15 18:25:32 +00:00
wraitii
df2458aa39
Allow setting of prop min/max height in the actor Edit. By sanderd17.
...
This was SVN commit r13568.
2013-07-16 13:13:41 +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
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
historic_bruno
161d6c1ba7
Improves SDL 2.0 support
...
This was SVN commit r13343.
2013-04-05 02:39:30 +00:00
historic_bruno
6f78224f8d
Fixes tooltip in Atlas' locked teams checkbox.
...
Adds scrollbar to environment panel and reorganizes controls.
This was SVN commit r13324.
2013-03-23 19:22:11 +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
1f7e6cb2ba
Adds actor seed support to scenario XML data, optionally used in place of entity ID.
...
Fixes Atlas previews not matching placed entity.
Fixes in-game building previews not matching final entity (except
walls).
This was SVN commit r13144.
2013-02-03 02:16:52 +00:00
Ykkrosh
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
historic_bruno
dc6c0e483b
Fixes unhandled enumeration warning in some compilers
...
This was SVN commit r13043.
2013-01-04 05:46:35 +00:00
historic_bruno
c5e597d5c4
Fixes some Atlas build warnings about hidden overloaded virtual functions when using wxWidgets 2.9
...
This was SVN commit r13001.
2012-12-20 03:57:17 +00:00
historic_bruno
e91a918164
Fixes race condition in EnsureMonotonic on 32-bit builds, which was causing unreliable timer behavior, fixes #1729
...
This was SVN commit r12927.
2012-12-03 13:24:12 +00:00
historic_bruno
f7608bf270
Attempted fix to prevent strange timer-related bug in Atlas (fails to start when opened from the game's main menu), refs #1729
...
This was SVN commit r12902.
2012-11-30 21:34:33 +00:00
historic_bruno
7c1b03d031
Fixes MSVC warnings of truncation from double to float
...
This was SVN commit r12797.
2012-10-30 02:03:40 +00:00
myconid
1fb7889539
Postproc manager
...
This was SVN commit r12755.
2012-10-15 10:34:23 +00:00
historic_bruno
7d8dc05c68
Fixes actor viewer bug where view was obstructed by map's water level. Fixes #1562 .
...
Adds water plane option to actor viewer.
This was SVN commit r12715.
2012-09-28 18:20:36 +00:00
historic_bruno
58b3a88daa
Fixes more overloaded-virtual warnings in clang.
...
This was SVN commit r12510.
2012-08-21 21:47:36 +00:00
historic_bruno
619dd95d5b
Fixes an overloaded-virtual warning in clang.
...
This was SVN commit r12509.
2012-08-21 20:13:42 +00:00
myconid
c9abf6f68c
Heightmap importing in Atlas
...
This was SVN commit r12308.
2012-08-07 18:49:46 +00:00
Deiz
3c0bd23108
Slightly speed up actor rendering; have selectables properly handle fog of war, etc. Refs #1365 .
...
This was SVN commit r12241.
2012-07-30 21:06:54 +00:00
quantumstate
1f15257987
Update actor editor for data driven textures. From zoot. Refs #1493 .
...
This was SVN commit r12184.
2012-07-23 22:51:20 +00:00
historic_bruno
89399e08e6
Implements always visible hero selection rings, based on patch by Deiz/F00. Fixes #1365
...
This was SVN commit r12148.
2012-07-19 04:45:01 +00:00
vts
6b50a660b9
Added elapsed real time (as opposed to elapsed simulation time) to MT_Interpolate messages. Fixes leftover TODO from #824 . Refs #824 .
...
This was SVN commit r11944.
2012-06-06 19:37:03 +00:00
historic_bruno
3efbd0ab25
Fixes Atlas losing map settings if random map generation failed. Refs #1398 .
...
This was SVN commit r11835.
2012-05-10 23:11:42 +00:00
historic_bruno
56269b2489
Fixes Atlas bug where default player data wasn't sent to engine after being displayed in the UI (introduced by 1f5f82f375). Fixes #1398 .
...
This was SVN commit r11834.
2012-05-10 22:49:04 +00:00
vts
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
historic_bruno
cafb817446
Reverts broken change from 022fc4c47c.
...
This was SVN commit r11694.
2012-04-29 03:20:00 +00:00
historic_bruno
022fc4c47c
Fixes Atlas stealing focus on OS X, based on patch by mk12. Fixes #1317 .
...
This was SVN commit r11693.
2012-04-29 02:04:59 +00:00
vts
61fad4a2b5
Fixed strange selection ring fadeout on unit deselection in Atlas
...
This was SVN commit r11634.
2012-04-22 17:49:43 +00:00
vts
34fc883317
Pretty unit selection overlay rings. Fixes #824 .
...
This was SVN commit r11623.
2012-04-22 04:04:02 +00:00
Ykkrosh
9488ca42f6
Disable deadlocking fatal exception handler in Atlas
...
This was SVN commit r11603.
2012-04-21 14:12:37 +00:00
Ykkrosh
58eb0c97bb
Reuse terrain texture name formatting function
...
This was SVN commit r11601.
2012-04-21 13:09:01 +00:00
historic_bruno
4d8ba45375
Removes unnecessary change from [11575]
...
This was SVN commit r11578.
2012-04-20 03:01:09 +00:00
historic_bruno
c8745ee41f
Handle game ending in Atlas a bit more gracefully, it now continues until the user stops the simulation test. Fixes #641 .
...
This was SVN commit r11575.
2012-04-20 01:41:54 +00:00