summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiletex.cc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'unicode-tiles'Adam Borowski2012-07-111-7/+10
|\ | | | | | | | | | | It lacks an actual font yet, but I realized we need to check if drivers people use actually support sub-textures -- and if not, there'll be some rethinking needed.
| * more efficient font rendering using glTexSubImage2Dfrogbotherer2012-07-081-7/+10
| |
* | Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-5/+5
|/
* Make most of initialized data static.Adam Borowski2011-12-271-4/+4
| | | | | All or almost all of .data segment that is not referenced externally should be done.
* Implement dedicated Menu support for Webtiles.Florian Diebold2011-12-081-11/+0
| | | | | | This is just for menus using the Menu class. It means that the menu items are laid out in html on the client side, the menu size adapts to the window of each spectator, and scrolling is done client-side.
* First prototype of webtiles.Florian Diebold2011-06-261-1/+1
| | | | | | Conflicts: crawl-ref/source/startup.cc
* Split icons out from main.png. Fixes #2981.Johanna Ploog2010-12-161-2/+5
| | | | This should also allow us to draw clouds beneath monsters.
* Draw base item tile for identified types.Enne Walker2010-06-101-1/+0
| | | | | | This is the "fix" for the previous commit to remove baking the base item tiles underneath their labels in the texture. Instead, we'll just draw the two tiles separately.
* Remove special logic to bake identified items into the main texture.Enne Walker2010-06-101-184/+1
|
* Split dngn tile page into feat/floor/wall.Enne Walker2010-05-301-9/+23
| | | | | | Due to the set of coloured floors and walls, it was getting perilously large. The tiledef-dngn.h file now just indirectly calls the correct feat/floor/wall functions depending on which tile index is used.
* Reduce dependencies on tilereg.h.Enne Walker2010-04-251-0/+232
| | | | | This was done by pushing ImageManager to tiletex.h, where it better belongs.
* General coding standards update.Enne Walker2010-04-241-3/+2
| | | | | | 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.
* Removing lines with just whitespace.Enne Walker2010-04-241-2/+2
|
* Changed uiwrapper filenames.Ixtli2010-04-241-1/+1
|
* Renamed UIWrapper ABC to WindowManager and instantiation to 'wm'.Ixtli2010-04-241-1/+1
|
* Merged cgcontext into uiwrapper-sdlIxtli2010-04-241-172/+3
|
* Implemented dynamically dispatched cgwrapper.Ixtli2010-04-241-1/+1
|
* Made glwrapper use proper dynamic dispatch for modularity.Ixtli2010-04-241-6/+6
|
* Modified uiwrapper to be an abstract base class.Ixtli2010-04-241-1/+1
| | | | | SDL calls are now done from a specific subclass called SDLWrapper and the global UIWrapper variable is now a pointer.
* Fixed -h file names referring to specific implementations.Ixtli2010-04-241-7/+2
| | | | | The makefile should now name the .o's based on what libraries you're using, as well.
* UIWrapper camelCase to underscores_as_spacesIxtli2010-04-241-1/+1
|
* More camel case to underscores_as_spacesIxtli2010-04-241-6/+6
|
* Changed camelcased function names to underscores_as_spacesIxtli2010-04-241-6/+6
|
* More coding standards changes. This time s/if\(/if\ \(/gIxtli2010-04-241-1/+1
|
* Moved MipMapOptions to glwrapper for modularityIxtli2010-04-241-3/+3
|
* Removed tiletex dependancy on SDL_opengl and updated glwrapper.h/cc to ↵Ixtli2010-04-241-36/+10
| | | | support it
* Factored out SDL calls from tiletex.ccIxtli2010-04-241-52/+48
|
* [941] Fix tiles issue with umlauts in the path.Enne Walker2010-02-281-1/+12
|
* Fixing power-of-two image loading issue.Enne Walker2009-12-231-20/+19
| | | | | If any tile image was a power of two, it would use a different path to load and swap R and B.
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* project-wide: fix msvc compile breakageSteven Noonan2009-10-121-0/+3
| | | | | | MSVC is like a chimp with Down's syndrome. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Remove a lot of unneccessary includes.Robert Vollmert2009-10-091-1/+0
| | | | | | | The console version still compiles on Linux; both console and tiles version compile in OS X. I haven't been able to test the DOS and Windows compiles -- please fix or tell me about any errors that show up.
* Tiles: Save per-character equipment setting and use it in the characterj-p-e-g2009-07-071-1/+1
| | | | | | | | | | | | | | | | selection menu. TODO: Use this instead of dolls.txt for initialising dolls, falling back on dolls.txt if name.tdl cannot be found and for new characters. I've tried displaying floor type but found it resulted in an information overload, and also distracts from the main information (species, equipment), esp. since it's mostly floor and most of the tile is covered anyway. I left it in (though commented out), so it's in the repository, but will remove it afterwards. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10122 c06c8d41-db1a-0410-9941-cceddc491573
* Apply my recent commits to trunk.j-p-e-g2009-06-151-4/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9984 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing centering of title screen image.ennewalker2009-04-211-1/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9671 c06c8d41-db1a-0410-9941-cceddc491573
* [2774528] Tiles splash screen.ennewalker2009-04-191-7/+19
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9658 c06c8d41-db1a-0410-9941-cceddc491573
* * Add tile for Sonja.j-p-e-g2009-03-091-6/+7
| | | | | | | | * Display wielded weapons for zombies, Sonja, Ilsuiw and Saint Roka. * Reorder get_weapon_offset() to be more logical. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9394 c06c8d41-db1a-0410-9941-cceddc491573
* Clean up tiles code to use the VertBuffer classes.ennewalker2009-01-081-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8321 c06c8d41-db1a-0410-9941-cceddc491573
* Support colorkey entry in indexed palettes so indexed PNGs get loaded with ↵ennewalker2009-01-061-1/+1
| | | | | | transparency properly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8254 c06c8d41-db1a-0410-9941-cceddc491573
* Adding REVISION() macro to all source files.ennewalker2009-01-041-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8217 c06c8d41-db1a-0410-9941-cceddc491573
* Support for inline graphics and mouse input on menus.ennewalker2008-10-161-1/+1
| | | | | | | 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
* Fix crash when Crawl is started with a command line option.ennewalker2008-10-041-0/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7116 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2008-09-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles mcache improvements. Monsters out of sight are now shown with their ↵ennewalker2008-09-061-4/+4
| | | | | | last seen equipment. Player ghosts are now drawn correctly again. Denzi's new 48x32 pandemonium demon tiles are now used. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6875 c06c8d41-db1a-0410-9941-cceddc491573
* RLTiles complete code rewrite: now much more robust and functional.ennewalker2008-08-231-83/+67
| | | | | | | | | | | | | Added PNG and non-palettized image input. Added PNG output. Added better tile packing and support for tiles of different sizes. Converted all BMPs to PNGs (for space and explicit transparency reasons.) Added the 48x32 pandemonium demon tiles, but these are not yet used in game. Added Bill B.'s portal tile (finally). The Win32 makefiles are not updated quite yet and thus will not build. Sorry. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6850 c06c8d41-db1a-0410-9941-cceddc491573
* Moving more settings to the Tiles options file. Fixing a mouse-related ↵ennewalker2008-07-241-5/+12
| | | | | | crash that Johanna mentioned. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6657 c06c8d41-db1a-0410-9941-cceddc491573
* Large tiles-related changes. Platform-specific rendering removed and ↵ennewalker2008-07-151-0/+262
replaced with SDL/OpenGL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573