vladislavbelov
8d2b143cb8
Cleanup Camera related code and uses constant references where possible, fixes #5408 .
...
Patch By: shh
Reviewed By: wraitii
Tested By: Angen
Commented By: Stan, Itms, historic_bruno
Differential Revision: https://code.wildfiregames.com/D1784
This was SVN commit r23034.
2019-10-03 13:20:56 +00:00
historic_bruno
e6f960bca6
Makes wxWidgets 3.0 dependency explicit in the game build.
...
Removes a few non-behavioral workarounds for older versions.
Refs #5502 , #2891 .
Accepted By: asterix
Comments by: vladislavbelov
Differential Revision: https://code.wildfiregames.com/D2076
This was SVN commit r22508.
2019-07-19 04:52:03 +00:00
Stan
2288943f91
Fixes
...
C4458 in AtlasObjectImpl.cpp line 292 and in AtlasUI/Object.cpp:547
C4456 in MapDialog.cpp:173 and in ScenarioEditor.cpp:742
Reviewed by: @Angen
Accepted by: @Itms
Comments by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D1741
This was SVN commit r22161.
2019-04-05 12:37:37 +00:00
vladislavbelov
2bbdd145ab
Little cleanup for the 9f202500ea
...
This was SVN commit r21541.
2018-03-13 20:26:30 +00:00
vladislavbelov
9f202500ea
Adds maps paths and a tutorial maps tab in Atlas
...
Original Patch By: Phormio
Comments By: elexis
Reviewed By: s0600204
Differential Revision: https://code.wildfiregames.com/D614
This was SVN commit r21540.
2018-03-13 20:20:45 +00:00
vladislavbelov
67e27ed7ea
Atlas: Cleanup horizontal alignment flags being ignored, fix warnings on a start.
...
Fix #3824
Patch by: Clockwork-Muse.
Reviewed by: vladislavbelov.
Differential Revision: https://code.wildfiregames.com/D824
This was SVN commit r20327.
2017-10-22 20:09:28 +00:00
elexis
417c84870c
Actually remove trailing tabs from source/.
...
This was SVN commit r18991.
2016-11-23 14:09:58 +00:00
elexis
6149dd3841
Actually remove trailing whitespace for non-header files as well.
...
This was SVN commit r18989.
2016-11-23 13:02:58 +00:00
elexis
b18f74da44
Remove trailing whitespace and whitespace in empty lines of source/ except source/third_party/.
...
This was SVN commit r18987.
2016-11-23 11:18:37 +00:00
elexis
bcbf25bfbd
Fix line endings of all files in source/ except source/third_party/.
...
This was SVN commit r18558.
2016-07-25 09:07:45 +00:00
historic_bruno
b1c4e29ac8
Fixes inconsistencies in spelling of colour/color by preferring "color" (only wxWidgets remains with some API that requires "colour"), fixes #1029 .
...
NOTE: requires update-workspaces and may require correction of some
modded actors/scenarios
This was SVN commit r16438.
2015-03-15 23:59:48 +00:00
Itms
f52e3ea052
Fix uninitialized variable, fix by trompetin17, fixes #3027 .
...
This was SVN commit r16249.
2015-01-30 17:37:40 +00:00
historic_bruno
1631b8de14
Fixes Atlas error when using the map open/save dialog on Linux, based on patch by njm, fixes #2858
...
This was SVN commit r15885.
2014-10-18 01:53:06 +00:00
historic_bruno
9592c59704
Fixes crash in Atlas color picker tool, noticeable with wxWidgets 3.0. Colors returned by wxColourData::GetCustomColour aren't always valid, so we have to test them with IsOk() before accessing them. Fixes #2805
...
This was SVN commit r15782.
2014-09-21 21:25:51 +00:00
leper
940868398c
Use Boost.Signals2 for Atlas. Patch by fabio. Fixes #2469 .
...
This was SVN commit r15173.
2014-05-19 21:01:02 +00:00
leper
78ff9a8480
Fix compilation failures with wxWidgets 3.0. Fixes #2375 .
...
This was SVN commit r14691.
2014-01-27 00:02:03 +00:00
leper
5da63764e0
Fix compilation with wxWidgets 3.0.
...
This was SVN commit r14215.
2013-11-20 19:29:10 +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
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
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
cf11aa8dea
Fixes Atlas canvas resolution init on OS X. Replaces hacky solution for the same problem on wxGTK. Fixes #1176 .
...
This was SVN commit r11525.
2012-04-16 00:57:30 +00:00
historic_bruno
046729dfa7
Fixes Atlas double-click behavior in simulation test, by handling the events in Canvas and recognizing wxWidgets' ButtonDown and ButtonDClick events are mutually exclusive.
...
This was SVN commit r11035.
2012-02-07 00:40:55 +00:00
historic_bruno
ede60520a0
Fixes Atlas and Actor Editor's wxMouseCaptureLostEvent handling, which caused assertion failures in Windows debug builds. Mouse capture events are currently wxMSW only.
...
This was SVN commit r10623.
2011-11-28 01:12:18 +00:00
historic_bruno
90fdd26cf1
Sets default wxFileDialog filters in Atlas.
...
This was SVN commit r10159.
2011-09-01 04:47:45 +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
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
Ykkrosh
5f07107609
Fix build with wxWidgets 2.9
...
This was SVN commit r10037.
2011-08-18 23:38:11 +00:00
historic_bruno
cdfeeab25f
Fixes Atlas non-PCH build.
...
This was SVN commit r9911.
2011-07-24 21:50:58 +00:00
Ykkrosh
dc2035efc9
Move Atlas map settings from JS to C++.
...
Replace New dialog box with separate tools for resizing maps and
replacing terrain textures, to provide more power and to simplify the
problem of initialising map settings.
Fix engine to cope with dynamic map resizing.
Add JSON support to AtObj, to let C++ interact with JSON more easily.
This was SVN commit r9566.
2011-05-29 15:02:02 +00:00
Ykkrosh
9733affb05
Fix non-PCH build
...
This was SVN commit r9419.
2011-05-04 01:17:09 +00:00
historic_bruno
b4503bb61e
Simplifies random map output, see #782 .
...
Changes random maps to XZ coordinates, matching the engine.
More documentation for rmgen library.
This was SVN commit r9271.
2011-04-16 04:04:06 +00:00
historic_bruno
bf53b6f3b5
This was SVN commit r9248.
2011-04-14 04:16:06 +00:00
Ykkrosh
724418b1d6
Use extended regexps instead of advanced, for portability
...
This was SVN commit r7140.
2009-09-11 16:41:18 +00:00
Ykkrosh
cdfb58a62f
Fix some more GCC warnings
...
This was SVN commit r7045.
2009-07-28 09:27:56 +00:00
Ykkrosh
21b3d13c64
Avoid calling unnecessary inline functions, to work around GCC visibility issues (see #281 )
...
This was SVN commit r7030.
2009-07-22 16:37:40 +00:00
Ykkrosh
a56bd4b2c1
Add GPL header to Atlas code
...
This was SVN commit r6910.
2009-06-20 16:13:29 +00:00
Ykkrosh
f74f772a41
# More libxml2
...
Use libxml2 for parsing in Atlas. Plus some tests for it.
This was SVN commit r6764.
2009-03-23 01:07:08 +00:00
Ykkrosh
7610d4361c
# Started using libxml2
...
This was SVN commit r6763.
2009-03-22 20:51:35 +00:00
Ykkrosh
6768858cf1
Fix some GCC warnings
...
This was SVN commit r6762.
2009-03-22 20:47:43 +00:00
Ykkrosh
dba26306e0
Fixed Actor Editor to allow selection of files from within mods/[not 'public']/... without it giving a silly relative path
...
This was SVN commit r6416.
2008-10-05 21:00:37 +00:00
janwas
7d0cfb9535
quick fix: replace all instances of mods/official with mods/public
...
(actorEditor isn't using VFS yet and has hardcoded paths)
This was SVN commit r6395.
2008-09-18 11:46:14 +00:00
olsner
264f394f17
Moved X11 stuff out of unix/ folder, added osx/ sysdep folder, corresponding premake.lua changes, and a few misc other Mac OS X-related changes
...
This was SVN commit r5320.
2007-09-03 12:56:45 +00:00
Ykkrosh
f5a2a141dc
Fixed non-PCH compiles.
...
Removed a few global variables from Atlas.
Added call to srand(time).
Restored NotebookEvent in wxJS.
Fixed CPU-detection in Valgrind.
This was SVN commit r5318.
2007-09-02 23:38:58 +00:00
Ykkrosh
914e5f7c2f
Rename stdafx.h to precompiled.h
...
This was SVN commit r5146.
2007-06-05 18:35:05 +00:00
janwas
b755ddefda
remove all author/modified by tags.
...
make include guards consistent.
This was SVN commit r5040.
2007-05-07 16:33:24 +00:00
Ykkrosh
38a5e807ff
# Fixed Atlas on Linux
...
Added call to XInitThreads, for required thread safety.
Fixed conversions between wchar_t and XMLCh strings. (Not tested much
yet.)
Fixed COLLADA too.
This was SVN commit r4964.
2007-03-20 01:06:34 +00:00
Ykkrosh
fa45d214b3
# Added support for COLLADA skeletal animations.
...
Moved COLLADA-loading code into separate class, since it now handles
both PMD and PSA.
Desingletonised CSkeletonAnimManager, moved into CGameView.
Made Atlas load its icons with buffered IO, for possible efficiency.
This was SVN commit r4934.
2007-03-01 18:52:53 +00:00
Ykkrosh
0bdc1c22c8
# Made the Atlas scenario editor partly work on Linux.
...
- Made the canvas get shown before it's used.
- Added some bits of SDL initialisation so that SDL_GL_GetProcAddress
is happy.
SnapSplitterWindow: fixed virtual override.
This was SVN commit r4735.
2007-01-03 15:45:13 +00:00
Ykkrosh
4d8133f785
# Fixes for MSVC
...
Use _WIN32/__WXMSW__ instead of OS_WIN.
This was SVN commit r4668.
2006-12-01 20:34:28 +00:00