Commit graph

123 commits

Author SHA1 Message Date
Celtic Minstrel
bc711f5f43 Consolidate related files into subdirectories 2016-03-20 16:20:09 -04:00
Celtic Minstrel
fe0df45947 Consolidate formula and hotkey files in corresponding dirs 2016-03-20 16:15:50 -04:00
gfgtdf
969157d79e fix color in help unit resitances
https://gna.org/bugs/?24381
2016-02-08 21:10:28 +01:00
Chris Beck
ba51524f6e update copyright to year 2016
using this shell script:

find src -type f -print0 | xargs -0 sed -i "s|Copyright (C) \([[:digit:]]*\)\([ ]*\)-\([ ]*\)2015|Copyright (C) \1\2-\32016|g"
2016-01-02 23:59:31 -05:00
Charles Dang
50aeac6e30 Prefix help topic sections with bullets as well 2015-08-31 23:51:00 +11:00
Ignacio R. Morelle
413d3528bd Use empty() method instead of size() for emptiness checks
Found by cppcheck.
2015-07-06 23:40:30 -03:00
Charles Dang
534a0f7ffb Use 4 spaces instead of an image hack to indent topic lists 2015-03-22 23:30:51 +11:00
Charles Dang
1569c8ce8b Rewrote and reordered a bunch of help stuff related to the Gameplay and Introduction sections 2015-03-16 03:50:58 +11:00
Charles Dang
927ec38fbe Preface topic lists with bullets. Certain sections still lack 2015-03-15 18:33:03 +11:00
Charles Dang
671830df13 Allow hiding eras in help, and hide the blank era 2015-01-13 21:12:51 +11:00
Charles Dang
7f6bfd6e6e 'Units having this special attack' -> 'Units with this special attack' 2015-01-13 18:46:07 +11:00
Ignacio R. Morelle
57ae45387a New Year copyright update 2015-01-01 19:07:35 -03:00
Charles Dang
c20ef0fa0d Don't allocate space for nonexistent race deceptions 2014-12-25 22:59:32 +11:00
Charles Dang
7ae2a72ada 'Units having this ability' -> 'Units with this ability' 2014-12-25 01:41:40 +11:00
Ignacio R. Morelle
6fe72e893f Skip generating help sections for units without hide_help=no variations
This fixes many instances of unit types with "technical" variations in
my campaign After the Storm being assigned help sections of their own.

Required adding a new method to unit_type that's actually cheaper than
checking for variations().empty(), as it doesn't involve allocating new
objects.
2014-12-22 20:15:17 -03:00
Chris Beck
e09a516935 replace resources::config_manager with game_config_manager::get()
This makes more sense, the main reason for resources was to hold
pointers to children of play_controller. For classes that are
legitimately singletons are essentially never destroyed or
reconstructed there's very little reason to put it in resources.
2014-11-24 19:49:54 -05:00
Chris Beck
f969e60ca5 split off help topic generators into their own file 2014-11-11 11:55:06 -05:00
Chris Beck
f1ce9a34bf move impl details into compilation unit 2014-11-11 11:17:40 -05:00
Chris Beck
8d63f15c4d split off help_menu from help_impl 2014-11-11 01:24:59 -05:00
Chris Beck
b92ac18c6b fixup headers of new files using iwyu 2014-11-11 01:24:58 -05:00
Chris Beck
5b1e0611ca split off help_text_area from help_impl 2014-11-11 01:24:58 -05:00
Chris Beck
a046653cf0 split off help_browser from help_impl 2014-11-11 01:24:58 -05:00
Chris Beck
67cd15f5a0 add help_impl.?pp files (guts of help.cpp) 2014-11-11 01:24:57 -05:00