Commit graph

2446 commits

Author SHA1 Message Date
sigurdfdragon
a593e9753f Update changelogs 2017-11-27 20:28:36 -05:00
Jyrki Vesterinen
4d0c46164e Miscellaneous optimizations in display::get_terrain_images()
* The vector of surfaces is now a class member variable instead of a local
variable. This saves a memory allocation every time the function is called
- which is worth it in this case, as the function is a major performance
bottleneck.

* The surfaces are now being moved instead of copied where possible. Turns
out that freeing a SDL surface is fairly expensive in performance-critical
code.

* Pointers to ToDs are now cached, reducing the number of calls to
get_time_of_day() from 37 to 7.

In a stress-test in Aetheryn's Mod at 50 % zoom, the FPS I was getting on
my PC (Intel Core i5-4430) increased from 16 to 23.
2017-11-26 20:07:34 +02:00
Nils Kneuper
21eb31b757 updated Spanish translation 2017-11-24 00:18:27 +01:00
sigurdfdragon
7c276059ea Update changelogs 2017-11-18 13:58:12 -05:00
Nils Kneuper
2c5a2ea20d updated Italian translation 2017-11-09 20:05:35 +01:00
sigurdfdragon
54d7f6154c Update changelogs 2017-11-01 22:17:39 -04:00
Jyrki Vesterinen
c6d8692ac6 Stop paranoid redraws of entire GUI2 windows
Partial revert of commit 010edbe1b9.

The commit caused every GUI2 window to be fully invalidated and redrawn 50
times per second, with massive CPU usage cost. No wonder that some players
have been complaining about too high CPU usage while idling in fullscreen
GUI dialogs.

I couldn't find any obvious regressions with this change. It looks like the
underlying issue has disappeared at some point.

In my tests, CPU usage while idling in the addon manager dropped from 17 %
to 2.5 % (across all cores).
2017-10-31 22:48:52 +02:00
Jyrki Vesterinen
8d397aa356 Changelog entry for commit b43194ba2e 2017-10-30 19:51:22 +02:00
Nils Kneuper
7813636e6b updated Chinese (Simplified) translation 2017-10-21 11:01:42 +02:00
Charles Dang
ac5592cd10 Post-release version bump 2017-10-12 12:17:53 +11:00
sigurdfdragon
27bd77b655 Update changelogs 2017-10-11 17:34:22 -04:00
Nils Kneuper
5e15cdbbc6 updated British English translation 2017-09-25 21:25:22 +02:00
Charles Dang
bc86ce762d Pre-release version bump
[ci skip]

A serious issue was discovered in the 1.13.9 release, so we're releasing 1.13.10 now.
2017-09-22 14:22:20 -04:00
Charles Dang
8870f7d277 Post-release version bump 2017-09-21 23:47:55 -04:00
Charles Dang
e47ea7fded Pre-release version bump
[ci skip]
2017-09-21 23:05:30 -04:00
sigurdfdragon
cee61b8515 Update changelogs 2017-09-18 14:08:38 -04:00
ln-zookeeper
5027d54600 UtBS: Changed lvl1 Quenoth Scout's bolas to a sling (no slows)
Also reformatted the UtBS changelog section a bit.
2017-09-17 14:32:25 +03:00
sigurdfdragon
8d2124104e Rewrap players changelog to 80 columns 2017-09-16 23:39:33 -04:00
sigurdfdragon
8f5aa227ac Update changelogs 2017-09-15 12:41:30 -04:00
ln-zookeeper
fe250f02f4 Updated changelogs 2017-09-15 02:51:19 +03:00
Jyrki Vesterinen
d1449b1076 Changelog entry for d40a9e930b 2017-09-09 11:10:08 +03:00
sigurdfdragon
e5a14e3e00 Update changelogs 2017-09-07 18:32:30 -04:00
Jyrki Vesterinen
3692cfa86b Redraw invalidated hexes once, not twice
This halves the CPU usage cost of animations, which is useful especially in
water-heavy scenarios such as Dead Water.

I was worried about the possibility of regressions, but I didn't find any
in my playtesting: moved and killed units disappear from their hexes like
they should.
2017-09-04 23:46:33 +03:00
sigurdfdragon
3414d8d518 Fixup 58d6f642dd 2017-09-02 14:02:00 -04:00
sigurdfdragon
58d6f642dd Update changelogs and release notes 2017-09-02 13:57:29 -04:00
Jyrki Vesterinen
c180ad45d8 Fix bug #1606: the game minimizes when it loses focus in fullscreen
As I suspected, SDL did that on purpose. Fortunately there is a way to
disable it.

Thanks to @gfgtdf for help.
2017-08-08 21:53:55 +03:00
Jyrki Vesterinen
6110fb59db GUI: implement canvas caching 2017-08-06 13:40:19 +03:00
Jyrki Vesterinen
4e4d7b5277 Rewrite the FPS cap implementation
The FPS cap, originally implemented in 2007, is very poorly done. It
doesn't take frame time variance into account, and is therefore almost
guaranteed to cause missed frames all the time. It doesn't increase timer
granularity on Windows, which causes SDL_Delay() to often take much longer
than intended. And it's hardcoded for 50 FPS, which fits poorly with 60 Hz
displays.

This new implementation fixes all those issues.

My experience is that the game feels much, much smoother with the new
implementation, perfectly competitive with 1.12. In my opinion, performance
is now at an acceptable level for a stable release.
2017-07-22 15:48:46 +03:00
sigurdfdragon
61fed391eb SotA: Changelog entries
For commit 36175c46cd
2017-07-14 22:59:44 -04:00
ln-zookeeper
b19483e66a Updated changelogs 2017-07-01 21:01:21 +03:00
Nils Kneuper
7c3e84a564 updated Spanish translation 2017-06-13 19:35:31 +02:00
Nils Kneuper
14c7b3eb0d updated Chinese (Simplified) translation 2017-06-13 19:34:37 +02:00
Jyrki Vesterinen
5a6203bc33 Changelog entry for the implementation of #1738 2017-06-07 23:18:49 +03:00
Jyrki Vesterinen
bb9ee94e4b Adjust changelog for commit 315f8496b6
I forgot to do it initially.
2017-06-07 06:40:05 +03:00
sigurdfdragon
62eb9c0829 Update changelog for #1705 & #1706 2017-05-31 19:01:20 -04:00
Nils Kneuper
bccb5674dc updated Slovak translation 2017-05-30 19:59:27 +02:00
Nils Kneuper
da248a8a7d updated Polish translation 2017-05-26 11:34:32 +02:00
Nils Kneuper
fa3a90dfc2 updated Scottish Gaelic translation 2017-05-26 11:32:43 +02:00
Jyrki Vesterinen
5b2ae4c853 Update changelog for PR #990 2017-05-22 20:21:21 +03:00
Nils Kneuper
d14ef5a743 updated Italian translation
also removed outdated logo file
2017-05-20 14:52:40 +02:00
Nils Kneuper
14f22785a6 updated British English translation 2017-05-20 14:50:53 +02:00
Charles Dang
a34662ba32 Post-release version bump 2017-05-14 10:14:40 +11:00
Charles Dang
bfa5ec1619 Pre-release version bump 2017-05-14 10:12:20 +11:00
Celtic Minstrel
63ad3f1561 Update changelog 2017-05-11 16:02:50 -04:00
ln-zookeeper
70080f789b Updated changelogs 2017-05-11 13:56:15 +03:00
sigurdfdragon
40138d4c16 Add changelog entries 2017-05-02 07:30:06 +11:00
Nils Kneuper
f9b4b5681f fixed changelog formatting to 80chars for the current version 2017-04-27 22:39:35 +02:00
Nils Kneuper
df2e16c053 updated Slovak translation 2017-04-27 22:38:19 +02:00
Nils Kneuper
1d13dcfbec updated Chinese (Simplified) translation 2017-04-22 22:51:09 +02:00
Jyrki Vesterinen
a6719622b5 Execute a sensible action when the player double-clicks an add-on
Previously double-clicking always installed the add-on, even if installing
wasn't a sensible choice (e.g. for add-ons which are already installed).
Now double-click always does something sensible, e.g. it uninstalls add-ons
which are already installed.
2017-04-18 20:13:58 +03:00