* Helper script to run IWYU
* Run IWYU
* Update deprecated headers
* Run IWYU again
* Re-suppress cxxabi.h
This pragma got accidentally removed because it was deemed to be a
comment attached to a #include.
* Remove extra SDL header includes
* Fix ime.cpp headers
Some tweaks to help IWYU not break this file by messing with
platform-specific stuff not relevant on Linux.
* Update game.h
* Move new point.h includes inside #ifdef
* Re-add platform_win.h to mapsharing.cpp
* Apply suggestions from code review
Co-authored-by: ZhilkinSerg <ZhilkinSerg@users.noreply.github.com>
* Add unit tests for is_ot_match
Includes sections for exact, type, prefix, and contains match types.
* Link other docs and format x,y,z examples
* Add connects_to test case and comments
As the comment above connects_to has indicated for years, this function
is hideous. I must have stared at it for 10 minutes before I understood
what it was doing. Now it remains hideous, but with marginally better
documentation and a fairly comprehensive test case.
* Reformat MAPGEN.md
This is a first pass at reformatting, including:
- Using `preformatted` strings where appropriate
- JSON syntax for code blocks
- Formatting value/description lists as tables
- Wrapping most text to 120 columns
- Simplifying to make vim Markdown syntax highligher happier
* Add table and JSON formatting
* Reformat MAPGEN.md with tables, heading levels
* Format more tables and clean things up
* Format tables, relabel heading, remove quotes
* Format and tidy up tables
* Rewrite headings and eliminate remaining numbers
* Add table of contents
* Add table of top-level JSON fields with links
* Document field intensity
* Align table columns
* Remove JSON table
All these are already referenced in the main TOC; they are redundant
(and possibly misleading) being in this section, and need a more careful
explanation.