mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 05:45:07 +00:00

Use cleveref and add some helper macros for references it can't handle (yet). Support for listings is in a newer version, so look at that in the future.
22 lines
619 B
TeX
22 lines
619 B
TeX
\chapter{Files for creating the window}
|
|
|
|
This chapter like the previous one contains listings of files, this time for
|
|
\cref{sec:creating_the_window}. About the same is true for these files, except
|
|
we know the originals will change in the future.
|
|
|
|
\lstinputlisting[style=C++
|
|
, caption={src/gui/dialogs/unit\_attack.hpp}
|
|
, label=unit_attack.hpp]
|
|
{gui2/unit_attack.hpp}
|
|
|
|
\lstinputlisting[style=C++
|
|
, caption={src/gui/dialogs/unit\_attack.cpp}
|
|
, label=unit_attack.cpp]
|
|
{gui2/unit_attack.cpp}
|
|
|
|
\lstinputlisting[style=WML
|
|
, caption={src/gui/dialogs/unit\_attack.cfg}
|
|
, label=unit_attack.cfg]
|
|
{gui2/unit_attack.cfg}
|
|
|