| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
For most header files, this only saves on having to recompile a
small number of source files, but there are also a few headers
where small changes would now take significantly less time.
This is most obvious for the Tiles build for which the dependencies
have been greatly reduced, so that the only additional includes
when compared to console are strictly library or tile related.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I had to rename distance() (in coord.h) to distance2() because it conflicts
with the STL function to compare 2 iterators. Not a bad change given how it
returns the square of the distance anyway.
I also had to rename the message global variable (in message.cc) to buffer.
I tried to fix and improve the coding style has much as I could, but I
probably missed a few given how huge and tedious it is.
I also didn't touch crawl-gdb.py, and the stuff in prebuilt, rltiles/tool
and util/levcomp.*, because I have no clue about those.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The maximum number of glyphs is fixed at 256, (which is enough for languages
with latin-like characters), but is easily increased via some constants in
fontwrapper-ft.cc, with a memory trade-off.
Features of this code:
- any character in the font can be rendered
- if crawl tries to render more than the max number of glyphs, it will crash
- if crawl tries to render a glyph not in the font, an upside-down question
mark will be printed instead
- for each fontwrapper instance (font face, size and attributes), this keeps
an array of pixels and an equivalent texture in memory for 256 possible
glyphs. This is why increasing the number of available glyphs pushes
memory use up
|
| |
|
|\
| |
| |
| | |
Conflicts galore...
|
| |
| |
| |
| | |
I'm unable to test optimized builds as clang (trunk) crashes during compilation.
|
|/
|
|
|
|
| |
now.
Word wrapping is yet to be corrected, just like in other UIs.
|
| |
|
|
|
|
|
| |
This was done by pushing ImageManager to tiletex.h, where it better
belongs.
|
| |
|
|
|
|
|
|
|
| |
glwrapper-ogl.cc, windowmanager-sdl.cc, and fontwrapper-ft.cc now contain
the static functions for their parent class's factory create. This
allows new implementations to be added without requiring modification of
the generic file (with #ifdefs).
|
|
|
|
|
|
| |
No spaces on parens. Line up function params. Sort includes more
rationally. Put curly braces on their own line. Don't C-style typedef
enum and structs. Put if-clauses on their own line.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Provides implementation that allows multiple types of CRTregions for
tiles. Provides implementation of a menu that allows total freedom of
entry placement. Uses these assets provided to change the Species and
Background menus to allow mouse and arrow-keys selection. Also provides
support for adding descriptions to menu entries.
Signed-off-by: Janne Lahdenpera <felirx@gmail.com>
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
| |
It's a bit less distracting this way and doesn't cover up the inventory
header line (description).
|
|
|
|
|
| |
gcc precompiled headers didn't work properly if AppHdr.h was included in
include files, or included twice.
|
|
|
|
| |
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
|
| |
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8218 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
| |
entries are now wrapped and then truncated.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7296 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
|
|
|
| |
Menus in the console version should be unchanged. Let me know if this is not the case.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7258 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7131 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6655 c06c8d41-db1a-0410-9941-cceddc491573
|
|
|
|
| |
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6654 c06c8d41-db1a-0410-9941-cceddc491573
|
|
replaced with SDL/OpenGL.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573
|