historic_bruno
90fdd26cf1
Sets default wxFileDialog filters in Atlas.
...
This was SVN commit r10159.
2011-09-01 04:47:45 +00:00
historic_bruno
e8253249a2
Switches Atlas player panel to our custom ColourDialog for consistency.
...
This was SVN commit r10134.
2011-08-29 22:27:58 +00:00
historic_bruno
fc7d303ee4
Adjusts Atlas sidebar and bottombar to look better on different platforms.
...
This was SVN commit r10133.
2011-08-29 22:12:20 +00:00
historic_bruno
6366ad728f
Fixes Atlas toolbar in wxOSX (only Realize() it after creation).
...
Fixes terrain preview not displaying first page in wxOSX.
Formats terrain page labels more nicely.
Adds a bunch of tooltips.
This was SVN commit r10131.
2011-08-29 03:50:29 +00:00
historic_bruno
769a927446
Changes Atlas toolbar construction to use CreateToolBar instead of explicitly setting it (which doesn't work on wxOSX 2.9).
...
Adds a call to Atlas_GLSetCurrent after setting Atlas resolution on OS X
(otherwise the canvas doesn't seem to update properly).
This was SVN commit r10129.
2011-08-28 21:10:45 +00:00
historic_bruno
47e1e23721
Fixes bug on object panel (assert fail when map was loaded before the panel was displayed).
...
This was SVN commit r10123.
2011-08-28 05:57:09 +00:00
historic_bruno
f2b61d2e56
Fixes Atlas canvas on OS X (needs to be shown before setting GL context - fixes invalid drawable error).
...
This was SVN commit r10118.
2011-08-28 00:28:06 +00:00
historic_bruno
cd6ce56632
Fixes some Atlas button layouts with wxWidgets 2.9 (wxGridSizer seems preferable to wxBoxSizer for equally sized buttons).
...
This was SVN commit r10117.
2011-08-27 23:43:18 +00:00
Ykkrosh
8729d1115d
Render territory borders in non-shader render path.
...
Add basic support for fixed-function implementations of shader API.
This was SVN commit r10106.
2011-08-27 14:31:24 +00:00
historic_bruno
29dc9c3094
Fixes bug in Atlas player panel (AtIter definition must be checked before incrementing).
...
This was SVN commit r10102.
2011-08-26 22:58:55 +00:00
historic_bruno
bb77e3a300
Changes player panel spin controls to use default style.
...
This was SVN commit r10099.
2011-08-26 22:11:30 +00:00
historic_bruno
2d1fe050b9
Fixes use of deprecated wxWidgets constants as they don't work on all platforms (only when the library was built with WXWIN_COMPATIBILITY_2_6).
...
This was SVN commit r10095.
2011-08-26 01:56:14 +00:00
janwas
9a53cc1395
__SSE[2]__ didn't work on MSVC/ICC after all; introduce HAVE_SSE[2] instead
...
This was SVN commit r10089.
2011-08-24 09:23:44 +00:00
historic_bruno
85336397a3
Don't render neutral territory borders on minimap.
...
This was SVN commit r10083.
2011-08-24 00:28:48 +00:00
Ykkrosh
13dc7a9210
Fix non-PCH build
...
This was SVN commit r10079.
2011-08-23 17:48:06 +00:00
Ykkrosh
e13aeee36c
Report desktop display size (not just window size)
...
This was SVN commit r10065.
2011-08-22 22:34:59 +00:00
historic_bruno
27e5581d27
Fixes Atlas player panel getting out of sync with simulation. Fixes #927 .
...
Fixes object panel not being notified of map loading.
Fixes bug where opening a new map before using the player panel
prevented default player data being displayed for new players.
Fixes wxGTK 2.8 bug: wxChoicebook control doesn't update the choice
control when adding/removing pages.
Notifies player that deleting player in Atlas will delete all their
objects (and gives them the option).
Changes DeleteObject to DeleteObjects to support multiple selections.
Implements undo for map resize (experimental).
Removes annoying debug message from attempted undo of map settings.
Tweaks a few Atlas UI controls.
This was SVN commit r10064.
2011-08-22 21:45:39 +00:00
janwas
ed959b8da7
minor fixes: add missing arena.cpp; add required NONCOPYABLE annotation; fix UNUSED2 to work in the case of references.
...
This was SVN commit r10059.
2011-08-22 08:54:56 +00:00
janwas
6c859fc6bb
add documentation on pointer types and RESTRICT as per yesterday's meeting
...
This was SVN commit r10053.
2011-08-21 15:09:09 +00:00
Ykkrosh
509f4387d7
Fix build
...
This was SVN commit r10052.
2011-08-21 13:10:44 +00:00
janwas
881d3cebf4
lay groundwork for more efficient and flexible allocators. add new sysdep/vm that provides access to additional features on Windows (large pages, autocommit). add Pool/Arena allocators that avoid overhead and support arbitrary storage (not just the expensive virtual memory allocator in DynArray)
...
This was SVN commit r10051.
2011-08-21 11:00:09 +00:00
janwas
3eb1ed0139
(actually remove)
...
This was SVN commit r10050.
2011-08-21 10:31:23 +00:00
janwas
c26a369762
remove Bucket allocator (superseded by upcoming Arena/Pool with expandable Storage policies)
...
This was SVN commit r10049.
2011-08-21 10:30:35 +00:00
historic_bruno
730a89152c
Fixes typecast performance warning in MSVC.
...
This was SVN commit r10045.
2011-08-21 00:09:28 +00:00
janwas
5406a68959
feature request by philip: instead of refusing to load textures larger than the OpenGL limit, ensure they have mipmaps (unless it's s3tc, which would be too expensive to recompress) and skip levels until it fits
...
This was SVN commit r10043.
2011-08-20 17:56:12 +00:00
Ykkrosh
36d897c694
# New menu background image
...
This was SVN commit r10042.
2011-08-20 17:17:53 +00:00
Ykkrosh
5f07107609
Fix build with wxWidgets 2.9
...
This was SVN commit r10037.
2011-08-18 23:38:11 +00:00
Ykkrosh
49af1880f8
Fix tests
...
This was SVN commit r10035.
2011-08-18 21:12:15 +00:00
Ykkrosh
308cb26dd4
# Health decay for buildings not in a civ center's territory.
...
This was SVN commit r10034.
2011-08-18 20:28:53 +00:00
Ykkrosh
6b26820090
Build fix
...
This was SVN commit r10033.
2011-08-18 11:16:52 +00:00
historic_bruno
36c6318296
This was SVN commit r10031.
2011-08-18 03:28:32 +00:00
historic_bruno
89c22993a4
Adds terrain fill (bucket) tool to Atlas.
...
This was SVN commit r10029.
2011-08-17 23:44:52 +00:00
Ykkrosh
8872bad668
AoEO BAR compatibility in AoE3Ed
...
This was SVN commit r10026.
2011-08-17 16:17:22 +00:00
Ykkrosh
e8f6be0bf3
Fix GCC build (only reference SIMD types when supported by the compiler (though this might not work in MSVC))
...
This was SVN commit r10025.
2011-08-17 13:41:25 +00:00
janwas
9f97610cb2
refactor: remove "wrapping" and "read" functionality for DynArray (in preparation for replacing it with template policies for more flexible Pool etc.)
...
This was SVN commit r10024.
2011-08-17 08:38:53 +00:00
historic_bruno
7bd2f1c925
Temp fix for autobuild: VC2008 doesn't define hypotf.
...
This was SVN commit r10021.
2011-08-17 04:34:20 +00:00
Ykkrosh
b9df1d3451
Be less grossly inefficient when computing minimap territory texture
...
This was SVN commit r10019.
2011-08-16 23:39:16 +00:00
historic_bruno
fab7bf4fcf
Fixes manifest dependencies for Actor Editor. Fixes #924 .
...
This was SVN commit r10018.
2011-08-16 22:08:47 +00:00
Ykkrosh
609f1643d5
Fix -Wconversion warnings in simulation code.
...
Cast to smaller integer types explicitly.
Generally avoid platform-dependent types (size_t) in simulation code.
Use float versions of math.h functions, not double.
This was SVN commit r10017.
2011-08-16 11:18:32 +00:00
Chakakhan
18c48492ef
Added cast to convert from unsigned to int
...
This was SVN commit r10012.
2011-08-16 02:01:11 +00:00
Chakakhan
0f0ac2bcd5
Fixes #898
...
This was SVN commit r10011.
2011-08-16 01:01:39 +00:00
historic_bruno
1b8471da1f
Changes shore definition to distance on land (all water included) for better dock placement.
...
Updates build passability classes.
Fixes tile expansion in CheckBuildingPlacement (don't use FromFloat).
Changes dock rotation snapping to search outward.
This was SVN commit r10007.
2011-08-14 23:36:13 +00:00
historic_bruno
132f9bd63b
Fixes bug in Atlas random map generator UI.
...
This was SVN commit r10006.
2011-08-14 06:11:35 +00:00
historic_bruno
7b27fcb716
Disables water rendering in the actor viewer.
...
This was SVN commit r10005.
2011-08-13 23:00:58 +00:00
Ykkrosh
68fe745eb7
Fix packaging scripts for 5-digit revision numbers
...
This was SVN commit r10001.
2011-08-11 18:16:00 +00:00
historic_bruno
2726f6ed88
Changes GetFocus to return points above water.
...
Fixes camera following of boats.
This was SVN commit r9988.
2011-08-10 22:45:55 +00:00
historic_bruno
d605e85ae5
Removes ColourTester utility (needs update-workspaces).
...
Adds busy cursor to Atlas map generator.
This was SVN commit r9987.
2011-08-10 22:23:35 +00:00
historic_bruno
4a2adece07
Fixes class types for Atlas pathfinding overlay
...
This was SVN commit r9978.
2011-08-08 01:04:18 +00:00
Ykkrosh
b9bd7ff86e
Fix signed/unsigned comparison warning
...
This was SVN commit r9972.
2011-08-06 12:31:48 +00:00
historic_bruno
f378e2e651
Implements building restrictions (by terrain, territory, category, and distance). See #41 . Fixes #804 , #287 .
...
Implements build limits. See #687 .
Implements autorotation for dock placement.
Fixes unit spawning to consider terrain passability. See #893 .
Adds new passability criteria based on distance from shore.
Updates build restrictions on some templates.
Changes unit spawning search to 4 tiles away from foundation.
Changes garrison/training spawn failure to nicer UI notification.
This was SVN commit r9970.
2011-08-06 08:11:05 +00:00