1db8562d05
Revert and fix 4523c50850
: fix water disappearing in Atlas when clicking on the object tab.
...
Reviewed by wraitii.
Differential Revision: https://code.wildfiregames.com/D329
This was SVN commit r19425.
2017-04-17 08:59:12 +00:00
290e67dc32
Add cinematic page to the atlas editor with one option to enable rendering of existing paths.
...
Differential Revision: https://code.wildfiregames.com/D301
Patch By: Vladislav
This was SVN commit r19391.
2017-04-09 02:12:20 +00:00
ffea346abb
Atlas camera controls should be disabled too if a cinematic path is paused.
...
Reviewed By: Vladislav
This was SVN commit r19376.
2017-04-05 04:00:19 +00:00
5d49e6c456
Move most cinematic path simulation data and control from the graphics class to the simulation component and solve the hash mimatch in non-visual replay.
...
Move graphics code to smaller helper functions UpdateSessionVisibility,
UpdateSilhouettesVisibility and DrawPaths.
Remove the hotkey TODO code which should be implemented differently.
Mark voids as const.
Differential Revision: https://code.wildfiregames.com/D271
Patch By: Vladislav
This was SVN commit r19375.
2017-04-05 03:59:20 +00:00
4523c50850
Fix a vertex shader data pielup in the actor editor. It was reloading the shaders far too often.
...
Patch by Echotangoecho.
Differential Revision: https://code.wildfiregames.com/D93
This was SVN commit r19346.
2017-03-25 07:44:31 +00:00
35377c51a7
Capture The Relic gamemode.
...
Patch By: Sandarac
Differential Revision: https://code.wildfiregames.com/D152
This was SVN commit r19345.
2017-03-25 07:01:07 +00:00
17068bbf82
Update Lobby Bot README.
...
Reviewers: Itms
Reviewed By: Itms
Differential Revision: https://code.wildfiregames.com/D79
This was SVN commit r19264.
2017-03-02 19:19:45 +00:00
a0a0895a12
Pass some strings and a vector as const refs.
...
Reviewed By: Imarok
Differential Revision: https://code.wildfiregames.com/D160
This was SVN commit r19240.
2017-02-24 17:02:10 +00:00
8fec942e8a
Fix Atlas under macOS Sierra.
...
We were polling SDL messages from two different threads (by mistake),
and Sierra now refuses to do that.
Tested by Stan, Itms, Fatherbushido, and discussed with Philip for the
code change itself.
Fixes #4408 .
Differential Revision: https://code.wildfiregames.com/D42
This was SVN commit r19160.
2017-01-21 09:54:08 +00:00
103a59ec1e
Fix a space tab inconsistency detected by python3.
...
This was SVN commit r19139.
2017-01-13 08:40:54 +00:00
11ce52f8c5
Fix a few mistakes in the lobby readme.
...
Differential Revision: https://code.wildfiregames.com/D27
This was SVN commit r19087.
2016-12-31 00:11:30 +00:00
fd8df9143b
Remove some semicolons at end of line in a python script.
...
This was SVN commit r19073.
2016-12-27 09:42:02 +00:00
55e9fee616
Add ptol civ and hero class to template analyzer tool.
...
This was SVN commit r19067.
2016-12-26 20:31:01 +00:00
a4c68b664b
Add the executable flag to the translation maintenance script
...
This was SVN commit r19047.
2016-12-18 17:36:40 +00:00
417c84870c
Actually remove trailing tabs from source/.
...
This was SVN commit r18991.
2016-11-23 14:09:58 +00:00
6149dd3841
Actually remove trailing whitespace for non-header files as well.
...
This was SVN commit r18989.
2016-11-23 13:02:58 +00:00
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
7ff7fcd240
Support hardcoded translation comments when extracting strings from JSON files.
...
Correct the function description of extractFromFile introduced in
ae10d34d99
.
This was SVN commit r18963.
2016-11-19 14:16:50 +00:00
aba2e53714
Update the list of bundled languages for A21.
...
This was SVN commit r18900.
2016-11-01 16:33:33 +00:00
7e6a960e83
SpiderMonkey 38 upgrade: 02/35
...
Update files for building SpiderMonkey.
Add a script for starting the tracelogger, as well as some instructions,
to be detailed in the wiki.
This was SVN commit r18656.
2016-09-02 16:14:11 +00:00
e4c527d5c5
Fix indentation.
...
This was SVN commit r18622.
2016-08-21 20:35:13 +00:00
3a2b418c0e
Fixes off-by-one error.
...
This was SVN commit r18612.
2016-08-17 00:30:57 +00:00
27f2b2e04d
Guess who hasn't used SVN in a while...actually svn add the new file.
...
This was SVN commit r18610.
2016-08-16 03:38:56 +00:00
5e643ba6be
Splits lobby bot into a ratings bot and a main bot. Fixes #3022 .
...
This was SVN commit r18609.
2016-08-16 03:35:53 +00:00
e4000d11cf
Display the gamestart time in the lobby. Patch by Imarok, combined with d7d0a7f869
fixes #3476 .
...
XPartaMupp patch reviewed by scythetwirler.
This was SVN commit r18601.
2016-08-14 09:03:30 +00:00
4e87fef3da
The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling.
...
Patch by leper, refs #3708
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r18580.
2016-08-02 16:58:30 +00:00
20b4e039be
Fix fileendings of files with mixed fileendings in the public mod (except art, l10n) and in source/ (except for source/third_party/).
...
Thus fix lineendings in files that were missed in bcbf25bfbd
, as
reported by Imarok.
(SVN throws an error when trying to set the native filending property on
a file with mixed fileendings. However when recursing it hides this
error).
This was SVN commit r18561.
2016-07-25 12:58:47 +00:00
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
8dddd369ef
Basic regicide gamemode. Based on patch by Sandarac, refs #2160 .
...
Spawn a random hero at gamestart and defeat the player if the hero dies.
Consider nomad maps where units spawn without buildings or start on a
ship.
Correct a comment for TriggerHelper.SpawnUnits.
Make shuffleArray available to GUI and simulation and use it to
randomize heroes.
This was SVN commit r18544.
2016-07-21 15:12:49 +00:00
d7d0a7f869
Submit and display more information about matches in the lobby. Patch by Imarok, refs #3476 .
...
Includes team numbers, online/offline- and won/defeated state, AI type
and difficulty for running games and
only the playernames with observer-player distinction in the gamesetup.
Use JSON format inside the XML stanza and minimize traffic by packing
teams.
Use the observer distinction to correctly apply the "full games" trigger
in the lobby, fixes #3143 .
XPartaMupp patch applied by scythetwirler.
unescapeText function by sanderd17, refs #3409 .
This was SVN commit r18534.
2016-07-20 16:04:23 +00:00
be1b5a9fa7
Improve Profiler2 JS interface with multiple threads and frameless threads. Add a setting to the analysis graphs. Refs #4056
...
This was SVN commit r18436.
2016-06-25 10:12:04 +00:00
490ee7387f
Fix a double to float coercion and JS errors with empty threads in Profiler2 . Refs #4056
...
This was SVN commit r18424.
2016-06-22 16:46:49 +00:00
3cbe96d24c
Revamp Profiler2 to make it more usable.
...
Features include new graphs to compare runtime of functions and runtimes
across reports, as well as new profiling functions that only profile
spikes.
This was SVN commit r18423.
2016-06-22 13:38:05 +00:00
4223fad060
Make it easier for mods to add their own credits. Fixes #3986
...
This was SVN commit r18281.
2016-06-01 19:37:24 +00:00
1e6c12de7b
Allow variants to be defined in external files. Fixes #3286
...
This was SVN commit r18054.
2016-04-19 07:51:59 +00:00
6c3964f52a
Cleanup of SoundGroup XML files.
...
Remove some useless settings using the default values.
Remove the obsolete <Replacement> tag.
Update some documentation in the code, fix whitespace and unify line
endings.
Patch by otero, fixes #3268
This was SVN commit r17976.
2016-04-04 20:54:48 +00:00
a517184150
Update the creditTranslators script for the A20 languages.
...
This was SVN commit r17963.
2016-03-28 00:18:13 +00:00
373107898c
Update the list of included languages for A20: Bulgarian, Hungarian and Swedish get in the team!
...
This was SVN commit r17959.
2016-03-27 22:08:25 +00:00
3025b4b8e3
Reduce query time of rating sorts.
...
This was SVN commit r17917.
2016-03-20 05:17:15 +00:00
19a218cd48
Change the language names for translation credits to the names in the original language.
...
This removes the loophole in our release process, fixes #3827 .
This was SVN commit r17904.
2016-03-16 23:04:10 +00:00
c9cecab0be
Remove libjpeg. Fixes #2828 .
...
Based on patch by dalerank, tested on Windows, might need to be amended
for OSX.
This was SVN commit r17870.
2016-03-12 18:15:04 +00:00
bcf2c75513
New in-game Credits page, fixes #3744 .
...
This was SVN commit r17830.
2016-03-05 11:52:08 +00:00
e683751b4f
Delete code which became obsolete with 56bb858802
.
...
This was SVN commit r17708.
2016-01-25 09:57:33 +00:00
4bff1ef1a9
Disables MSVC build warning C4003 "not enough actual parameters for macro", introduced by changes in Boost 1.57
...
This was SVN commit r17700.
2016-01-24 01:03:39 +00:00
5747619c39
Don't create replays without commands in case of running non-visual replay or an atlas simulation.
...
Remove trailing whitespace.
This was SVN commit r17689.
2016-01-23 01:02:57 +00:00
cfb2216b8c
Remove JSDebugger. Closes #2419 , #2973 . Refs #410 , #2348 , #3708 .
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r17655.
2016-01-17 00:34:33 +00:00
4107c2abb9
Fix link to documentation.
...
This was SVN commit r17637.
2016-01-11 23:56:51 +00:00
89aef0b6eb
Cinematic camera core functionality. Patch by Vladislav Belov.
...
Based on existing code that was still around from an old(not working)
implementation.
Supports basic control from trigger scirpts (queue, start and stop
camera paths) and works in multiplayer.
This was SVN commit r17594.
2016-01-03 12:41:04 +00:00
8d9cfd66b8
Reorganize code in different files in prepartion for the cinematic camera patch (by Vladislav Belov).
...
Refs #3301
This was SVN commit r17575.
2015-12-30 21:16:35 +00:00
969008befd
Add shebang to ease running the script as a program.
...
Update replay command adding needed -mod=public.
This was SVN commit r17574.
2015-12-30 14:29:28 +00:00
9a2d0f803e
Remove disabled by default SDL1 support.
...
Refs #2041 .
This was SVN commit r17470.
2015-12-14 10:52:21 +00:00
1e504cd64c
Fix the actoreditor menu bar on OSX. Patch by trompetin17. Fixes #1554 .
...
This was SVN commit r17458.
2015-12-13 16:53:35 +00:00
987a7028bd
Implements relative templates. Fixes #2936 . Thanks to leper, wraitii, historicbruno and everyone else that helped.
...
This was SVN commit r17386.
2015-12-05 17:02:25 +00:00
71b0d9c052
Update atlas with the new map_sizes.json format. Refs #3355 .
...
This was SVN commit r17379.
2015-12-04 16:37:30 +00:00
61e5e92b14
Update/revamp my template analyzer tool.
...
Remove the useless "fancy" data in favor of a simpler visualization of
templates, adding an in-place tool to filter and sort (for convenience).
This was SVN commit r17331.
2015-11-29 19:19:20 +00:00
082af749f0
Actually remove all unlisted translations.
...
This was SVN commit r17298.
2015-11-21 20:00:20 +00:00
ee8f9516eb
Update translations to be included in the release.
...
This was SVN commit r17290.
2015-11-19 23:09:49 +00:00
cb025bb725
Removes extraneous check from XpartaMuPP. Fixes #3568 .
...
This was SVN commit r17206.
2015-11-08 17:09:59 +00:00
4994dfb26a
Avoids RuntimeError: dictionary changed size during iteration
...
This was SVN commit r17127.
2015-10-11 20:47:52 +00:00
21619a4705
Move the victory conditions to the new simulation settings system. Patch by elexis. Refs #3355,#3001
...
This was SVN commit r17026.
2015-09-16 09:22:36 +00:00
4e3b933b11
Fixes some issues in checkrefs.pl: soundgroups have new gender and lang tags, PMP version bump, GUI XML can include directories, civ data path changed
...
This was SVN commit r16987.
2015-09-06 04:42:28 +00:00
1a15131d2d
Lobby bot optimizations.
...
This was SVN commit r16964.
2015-08-30 17:50:16 +00:00
34555ad70c
Enhance i18n extractor to support a single context for a json file. Patch by elexis. Refs #3355 .
...
This was SVN commit r16942.
2015-08-27 19:07:36 +00:00
b9ab8f5855
Explicitly include public's mod.json in Windows packages.
...
Also clean up some unused options in the dist script.
This was SVN commit r16939.
2015-08-25 12:55:05 +00:00
b694ab41d9
Show the number of trade carts and looted resources in the summary screen. Patch by bb, fixes #3311
...
This was SVN commit r16932.
2015-08-22 17:57:41 +00:00
558d43bac5
Replace some functor structs with lambdas, closures or range-based fors.
...
This was SVN commit r16923.
2015-08-19 03:33:04 +00:00
f7a7b687fc
Don't send TerrainChanged messages when painting the terrain, as terrain texture doesn't influence passability.
...
This was SVN commit r16914.
2015-08-10 11:55:43 +00:00
9f1b85d562
Remove a useless global terrain update when modifying environment settings in Atlas.
...
Also make sure that the settings are updated in the game view in a
non-hacky way.
This was SVN commit r16855.
2015-07-14 17:08:02 +00:00
11c9471ad6
Change back the long pathfinder to take into account non-pathfinding classes, but only when reloading, to avoid impacting the performance.
...
Also make the GetPassabilityClasses functions use references instead of
wild allocations. Use a reference when passing pass classes to the AI
worker.
This was SVN commit r16833.
2015-07-05 19:14:52 +00:00
30e5f032d8
Adapt Atlas to the new pathfinder. Fixes #3298
...
This was SVN commit r16824.
2015-06-29 19:59:41 +00:00
0e7f0f861b
Fixes A19 map converter script to be compatible with Python 2 (uses struct instead of to_bytes and from_bytes)
...
This was SVN commit r16763.
2015-06-14 17:53:12 +00:00
6581796103
New long-range pathfinder.
...
Based on Philip's work located at
http://git.wildfiregames.com/gitweb/?p=0ad.git;a=shortlog;h=refs/heads/projects/philip/pathfinder
Includes code by wraitii, sanderd17 and kanetaka.
An updated version of docs/pathfinder.pdf describing the changes in
detail will be committed ASAP.
Running update-workspaces is needed after this change.
Fixes #1756 .
Fixes #930 , #1259 , #2908 , #2960 , #3097
Refs #1200 , #1914 , #1942 , #2568 , #2132 , #2563
This was SVN commit r16751.
2015-06-12 18:58:24 +00:00
7cac7cd65e
Add RNC to RNG conversion script that uses trang. Fixes #245 .
...
Also fix the material.rnc.
This was SVN commit r16734.
2015-06-07 23:52:52 +00:00
7f606250f8
Fix build failure on GCC 4.6.
...
This was SVN commit r16623.
2015-05-04 19:37:25 +00:00
bda45f6526
Clarify the XpartaMuPP readme. Fixes #3163 .
...
Also converts it to markdown.
This was SVN commit r16567.
2015-04-22 23:43:59 +00:00
a6a2914882
Fix error when you paste entities over another entity and you try to rotate at the same time while pressing alt/shift key
...
This was SVN commit r16497.
2015-04-04 21:45:11 +00:00
0e2c30c7d2
Reduce the strength of the elevation brushes in Atlas.
...
This was SVN commit r16488.
2015-04-02 13:43:47 +00:00
7ed45213a9
Allow heightmaps to be 8 times as high by lessening precisions. Includes conversion script and modified standard maps. Bump the map version number. Fixes #3112
...
This was SVN commit r16478.
2015-03-31 16:48:31 +00:00
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
99cb4b42fd
Deletes old autobuilder files.
...
Deletes old dds_analyse.pl script.
Updates tools LICENSE.txt
This was SVN commit r16435.
2015-03-15 22:18:02 +00:00
333c4401b9
Deletes obsolete entity converter tool.
...
Deletes unmaintained contributors.txt list, see forum topic for more
useful list: http://wildfiregames.com/forum/index.php?showtopic=15542
This was SVN commit r16434.
2015-03-15 21:38:43 +00:00
caf89fa04e
Rename ps/Overlay(.h|.cpp) to ps/Shapes(.h|.cpp), fixes a TODO located in graphics/Overlay.h.
...
The file name did not match the content.
Also little cleanup of some unnecessary includes.
This was SVN commit r16431.
2015-03-15 18:06:32 +00:00
a5db659ce4
Update translations to be included in the release.
...
This was SVN commit r16399.
2015-03-02 00:10:00 +00:00
2d7d5b446d
Fix Atlas so that changing water type will actually change water type.
...
Fix the water shader so that object reflections are more visible. Looks
better.
This was SVN commit r16388.
2015-02-28 13:50:52 +00:00
8bf1fe1437
Disables water in actor viewer, as a temporary workaround for the "red water" bug, see #2692 for proper fix
...
This was SVN commit r16378.
2015-02-22 19:49:06 +00:00
d644845ae5
Fixes Atlas on Linux with SDL2 by reordering OpenGL init, based on patch by yashi, fixes #2847
...
This was SVN commit r16356.
2015-02-20 05:46:24 +00:00
e06a7b37d8
Convert debug_printf to take UTF-8 strings instead of wchar_t.
...
This fixes the problem where passing a non-ASCII string to
debug_printf(L"%hs", s) caused vswprintf_s to fail on Linux (because it
doesn't know what encoding the char* is meant to have). Now debug
messages will remain as UTF-8 until they reach the OS.
Fixes #3021 .
This was SVN commit r16332.
2015-02-14 01:45:13 +00:00
1e54289aa8
Only check binaries/data for po/pot files.
...
This was SVN commit r16324.
2015-02-12 00:25:47 +00:00
f9c95b6953
Do not send gaia stats for rated games.
...
This was SVN commit r16292.
2015-02-08 01:59:02 +00:00
f6903393bd
Add various rotation modes for multiple object selections (individual rotation, global rotation with or without individual rotation).
...
Patch by trompetin17, fixes #1213
This was SVN commit r16275.
2015-02-06 22:23:50 +00:00
e75498a655
Fix d71161fe4c
on WxWidgets 2.8
...
This was SVN commit r16258.
2015-02-02 20:20:37 +00:00
d71161fe4c
Add a list of selected entities, grouped by template.
...
Patch by trompetin17, fixes #1392
This was SVN commit r16255.
2015-02-01 21:23:06 +00:00
f52e3ea052
Fix uninitialized variable, fix by trompetin17, fixes #3027 .
...
This was SVN commit r16249.
2015-01-30 17:37:40 +00:00
6a70e3a62f
Updates checkrefs.pl to support mod mod and GUI XML change
...
This was SVN commit r16242.
2015-01-28 03:26:39 +00:00
ee08dff5ad
Updates Windows installer config, making the SM debug dll exclusion more generic
...
This was SVN commit r16234.
2015-01-26 05:01:53 +00:00
123bab6793
Replace use of safe bool by explicit bool operator.
...
This was SVN commit r16228.
2015-01-25 03:11:24 +00:00
fc902df07c
Remove checks for unsupported GCC versions (<4.6).
...
This was SVN commit r16224.
2015-01-24 20:37:07 +00:00
c976366590
Added a script for i18n maintenance tasks
...
The script updates the local repository, regenerates the POT files,
downloads the
latest PO files, reverts any change that Pology determines as not
meaningful, and
adds the modified files to the local VCS.
The script does not actually perform the final commit, that is left for
the user.
Ref #2492
This was SVN commit r16222.
2015-01-24 19:57:44 +00:00
c02a7e1a7b
SpiderMonkey 31 upgrade
...
This upgrade also introduces exact stack rooting (see to the wiki:
JSRootingGuide) and fixes problems with moving GC. This allows us to
enable generational garbage collection (GGC).
Measurements a few months ago have shown a performance improvement of a
non-visual replay of around 13.5%. This probably varies quite a bit, but
it should be somewhere between 5-20%. Memory usage has also been
improved. Check the forum thread for details.
Thanks to everyone from the team who helped with this directly or
indirectly (review, finding and fixing issues, the required C++11
upgrade, the new autobuilder etc.)! Also thanks to the SpiderMonkey
developers who helped on the #jsapi channel or elsewhere!
Fixes #2462 , #2415 , #2428 , #2684 , #1374
Refs #2973 , #2669
This was SVN commit r16214.
2015-01-24 14:46:52 +00:00
adcd9191a6
Updates Windows installer config for 65cc47f6c0
...
This was SVN commit r16200.
2015-01-23 03:38:02 +00:00
e02d7ad949
Automatically replace %hs/%ls with %s in CLogger format strings.
...
Everything is char* now, so we don't need to mess around with different
string types.
Done with:
ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs perl
-pi -e'1 while
s/(LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR).*)%[hl]s/$1%s/g'
This was SVN commit r16187.
2015-01-22 20:36:24 +00:00
49e2ecea63
Automatically convert all CLogger format strings from wchar_t* to char*.
...
Done with:
ag -ls 'LOG(MESSAGE|MESSAGERENDER|WARNING|ERROR)' source | xargs sed
-i 's/LOG\(MESSAGE\|MESSAGERENDER\|WARNING\|ERROR\)(L/LOG\1(/g'
This was SVN commit r16183.
2015-01-22 20:31:30 +00:00
a72d490759
Fix Atlas compile problems with C++11 and clang. Thanks to trompetin17 for investigating this.
...
Refs #2669
This was SVN commit r16158.
2015-01-18 09:48:41 +00:00
840c8215b6
Fixes build error 'no viable conversion' on OS X with clang, libc++ and c++11, refs #2462 .
...
Removes explicit use of _Unwrap(), prefer deference operator * instead
This was SVN commit r16157.
2015-01-18 06:36:15 +00:00
8976fb7646
Fixes MSVC warning C4100 unreferenced formal parameter
...
This was SVN commit r16156.
2015-01-18 06:26:00 +00:00
02a50fce62
Notify map makers when they are placing obstructed entities (overlapping other ones or placed outside the borders of the map). Patch by trompetin17
...
Fix #1163 , refs #2829 .
This was SVN commit r16149.
2015-01-14 09:11:11 +00:00
57033850a8
Check for unsaved changes in Atlas. Patch by trompetin17, fixes #2819 .
...
This was SVN commit r16126.
2015-01-08 21:29:27 +00:00
045fea23aa
Properly adjust Atlas for the init changes.
...
This was SVN commit r16112.
2015-01-03 17:42:42 +00:00
a472944689
Clean up LoadPlayerSettings.
...
Include gaia to make iteration easier.
Add TemplateExists() to the TemplateLoader. Refs #2877 .
This was SVN commit r16099.
2015-01-01 23:10:24 +00:00
8e30410109
Improve PickEntitiesAtPoint
...
First, do a ray intersection test with the bounding-sphere for all
entities on the map and then check the more detailed selection shape for
the remaining candidates. Do checks that require component lookups after
the ray intersection tests because these are relatively expensive.
The old method for figuring out which entities are below the mouse
cursor was incorrect because it does a 2D check to filter out the first
candidates which can lead to incorrect results with lower camera angles
and high buildings or buildings with a large footprint. Such problems
were avoided with quite a large radius for this 2D test and resulted in
a large number of candiate entities after this first test (200-500).
Also rename PickEntitiesAtPoint to PickEntityAtPoint and make it return
only one (the closest) match.
I've tested performance with the tracelogger by starting a map and then
moving the mouse in circles for one minute. The results were relatively
stable. I've compared the total time percentage of input.js:836, which
spends nearly all of the time in PickEntityAtPoint.
Ardennes Forest - Normal size: Original: 41.46% Patched: 31.6%
Ardennes Forest - Giant size: Original: 40.59% Patched: 51.55%
As we see, it's faster on normal map sizes but slower on giant maps with
a lot of entities.
This approach can be further improved with some kind of spatial
subdivision for the culling (like an octree), which would help the unit
renderer too. This way it should be possible to make it faster (and
still correct) on all map sizes and with a large total numbers of
entities.
This was SVN commit r16098.
2015-01-01 23:05:26 +00:00
992169c3ab
Fix indentation in daaddaf433
.
...
This was SVN commit r16087.
2014-12-30 17:27:18 +00:00
daaddaf433
Stop music in Atlas when reloading a map, patch by trompetin17, fixes #1712 .
...
This was SVN commit r16084.
2014-12-29 21:01:54 +00:00
354bd8b088
Only delete/create players until the needed number is reached. Patch by trompetin17. Fixes #1953 .
...
Previously we removed all players and created them anew. This caused
issues in Atlas,
as some components were recreated, but did not get informed about
already existing
entities (eg cmpTechnologyManager). By only creating/deleting players
until we obtain
the new number of players we do not have this issue.
This was SVN commit r16080.
2014-12-29 17:33:39 +00:00
1cc19e9176
Specify that my templatesanalyzer tool is distributed under the MIT license. Thanks to leper for noticing that it was currently unspecified.
...
This was SVN commit r16014.
2014-11-30 16:28:04 +00:00
8a66a732c7
Add "Copy" and "Paste" entries to the Atlas "Edit" menu. Patch by stilz_, fixes #2642 .
...
This was SVN commit r15994.
2014-11-20 20:52:32 +00:00
1abd5669c9
Replace spaces in source file paths with non-breaking spaces. Refs #2539 .
...
This way our map file paths are not split due to word wrapping in the po
files.
This was SVN commit r15993.
2014-11-19 23:10:51 +00:00
59676dfc84
Update tools/LICENSE.txt
...
This was SVN commit r15970.
2014-11-16 02:10:31 +00:00
10d13a991c
Use fitplural added in upstream revision 1404284. Refs #2539 .
...
This was SVN commit r15913.
2014-10-28 16:03:19 +00:00
7f1fd01174
Moves some includes out of Renderer.h to slightly optimize compilation
...
This was SVN commit r15912.
2014-10-28 03:57:22 +00:00
570b0374f4
Convert path separator after building the full path.
...
This was SVN commit r15908.
2014-10-27 03:09:36 +00:00
d06ecc1b89
Fixes some errors in i18n scripts: use ASCII quotes to avoid charset errors in Windows command line, and use function form of print
...
This was SVN commit r15907.
2014-10-27 02:42:06 +00:00
4a68170aeb
Add msgstrs for plural forms to pots.
...
This was SVN commit r15904.
2014-10-26 17:25:12 +00:00
7f247580b3
Remove outdated bundled transifex client. Fixes #2789 .
...
Anyone wanting to pull updates from transifex should install the client.
This was SVN commit r15896.
2014-10-26 00:28:41 +00:00
ae10d34d99
Switch i18n scripts to use Pology. Fixes #2539 .
...
Still requires a patch to Pology to keep the source file ordering.
This was SVN commit r15894.
2014-10-26 00:28:35 +00:00
c65817829f
Adds compatibility for XMPP differences between platforms that can cause case inconsistencies.
...
This was SVN commit r15888.
2014-10-18 14:28:46 +00:00
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
6ec902ec20
Fix a typo in the packaging scripts.
...
This was SVN commit r15857.
2014-10-12 20:53:13 +00:00
849cbc13ee
Fix path in fontbuilder.
...
This was SVN commit r15852.
2014-10-12 19:27:55 +00:00
a028027f75
Fix previous commit.
...
This was SVN commit r15847.
2014-10-05 22:46:24 +00:00
41ea9539a2
Update the translations selection script to match our choices for A17.
...
This was SVN commit r15846.
2014-10-05 22:05:22 +00:00
2afeec0c01
Unify removal of incomplete translations in packaging scripts. Fixes #2825 .
...
This was SVN commit r15826.
2014-09-28 21:51:48 +00:00
5200ea0365
Fixes starting Atlas from in-game on OS X, patch by trompetin17, refs #2427
...
This was SVN commit r15821.
2014-09-28 07:03:51 +00:00
0caab0429f
Fixes Reset Water Data button position in Atlas, fixes #2820
...
This was SVN commit r15815.
2014-09-27 02:42:42 +00:00
2f8ed7980d
Makes the bot more lenient on case sensitivity due to inconsistencies in case between Windows and Unix.
...
This was SVN commit r15813.
2014-09-27 01:06:28 +00:00
d1a31b3f54
Fixes regex for excluding translations from release packages, refs #2494
...
This was SVN commit r15800.
2014-09-25 02:07:46 +00:00
533fb6f7bc
Load the public mod by default. Fixes #2754 .
...
This was SVN commit r15796.
2014-09-24 17:49:22 +00:00
29effb5089
Build fixes and improvements for BSDs. Fixes #2804 .
...
This was SVN commit r15793.
2014-09-24 14:11:13 +00:00
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
6b2677a3fd
Adds profiles to the multiplayer lobby. Fixes #2504 .
...
This was SVN commit r15768.
2014-09-20 15:35:26 +00:00
d62e3729d5
Improves SDL2 support, includes patch by yashi and fabio, refs #2041 :
...
* Adds SDL color cursor implementation
* Adds config option for choosing preferred display in multimonitor
setup
* Uses text input API to better handle CJK input
* Fixes various hotkey and input bugs
SDL 1.2 is still the default and recommended, to test experimental SDL2
support, pass the --sdl2 flag to update-workspaces
This was SVN commit r15767.
2014-09-20 12:12:35 +00:00
28c0b00b2e
Sorts games in gamesList by status, then name. Refs #2463 , #2448 .
...
This was SVN commit r15754.
2014-09-14 22:11:03 +00:00
113f72a503
Makes running games visible in the lobby. These will be colored in red. Refs #2463 , #2448 .
...
This was SVN commit r15751.
2014-09-14 20:59:35 +00:00
60d92b643d
Fixes some unused variables in Atlas
...
This was SVN commit r15746.
2014-09-13 19:34:04 +00:00
70d81040cb
Fixes Atlas copy/paste not copying actor seeds, patch by trompetin17, fixes #2791
...
This was SVN commit r15742.
2014-09-13 16:53:43 +00:00
a8189f89e5
Stop music when resetting the simulation test mode in Atlas.
...
Patch by trompetin17, fixes #1712
This was SVN commit r15734.
2014-09-12 21:38:10 +00:00
9c683af1e4
Fixes undefined property reference in Atlas after generating random map.
...
Fixes crash after failed random map generation in Atlas
This was SVN commit r15719.
2014-09-08 03:48:24 +00:00
69bd930219
Excludes debug DLLs from Windows installer, fixes #855
...
This was SVN commit r15697.
2014-09-01 01:44:10 +00:00
be2f0e69fc
Make the modmod standalone.
...
Mount public in case we are starting Atlas and no mods are specified in
the config.
If users remove all mods and save this to the config and try to start
Atlas it will
crash, as it cannot find some needed files.
This was SVN commit r15678.
2014-08-25 16:38:54 +00:00
64bfa089af
Add mod selection mod.
...
Includes some contributions by rada and sanderd17.
This was SVN commit r15677.
2014-08-25 16:02:54 +00:00
523d220ac5
Add engine support to load mods from config and restart into mods.
...
Restructure mod mounting code a bit to make it reusable, and use it for
replays. Fixes #2703 .
This was SVN commit r15676.
2014-08-25 16:02:40 +00:00