Commit Graph

33 Commits

Author SHA1 Message Date
vincentlj
a16402e676 OGL32CTX: Missed a draw2DImage call
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:22:47 +00:00
vincentlj
6f680c1a8e OGL32CTX: Use our draw2DImage for scalable_font.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@15056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-13 18:18:40 +00:00
hikerstk
73c498daf3 Start to support 'externa' data directories. Most directories
from data can now be moved out (except music). STK prints
an overview of which directory is taken from where. More 
cleanups and improvements will come.
Also moved skins into a separate directory under data (from
data/skins), since it's likely that skins will be part
of a binary package (i.e. changes to skins not really
related to code), while gui files will more likely stay
with the code.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14731 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-17 23:48:47 +00:00
hikerstk
bced8cdb9f Merged with trunk, part 1 (due to previous failures I am splitting this
patch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-02 04:27:55 +00:00
unitraxx
395b000bee Removed the addons_screen references to the tab_stop method which were left behind
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:37:05 +00:00
unitraxx
ebc1af345d Remove the tab hack completely
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-15 00:32:19 +00:00
unitraxx
567f6302ed Removed the old tab hack from scalable font. (Could someone check if done correctly?) and made it possible for table entries to have both left-aligned and centered content.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@13221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-14 22:24:06 +00:00
curaga
b56bf4dc53 Remove trailing space, git doesn't like it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12797 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-05-29 22:04:35 +00:00
hikerstk
7f98f7194d Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 12:12:47 +00:00
auria
47b5a604af Improve ScalableFont to fix offsets introduced by recent font changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-06 00:36:20 +00:00
auria
eacad59d20 Commit changes I forgot in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11127 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-04-18 22:59:56 +00:00
auria
973a7cd4bb Use higher-res font for the digits in the overworld
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-30 00:27:53 +00:00
auria
7395d5307b Improved handling of long add-on names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9707 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-02 00:31:22 +00:00
hikerstk
73d93cc559 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-26 23:03:50 +00:00
auria
c96b00dc6b Reduce overlapping in add-ons screen by making the name column wider and the date column smaller
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-25 23:34:06 +00:00
auria
6e4cee9341 Includes cleanup; especially avoid including in headers, creating implicit dependencies and horrible chains of recursive includes. Avoid iostream when possible because this header is not small
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 19:52:24 +00:00
auria
d501753ef2 Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
hikerstk
d00f587d7a Added disableShadow method to ScalableFont, and
added black shadow/outline to text in the race gui.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-29 22:59:32 +00:00
hikerstk
fc5ddb2ad0 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 05:19:42 +00:00
auria
392bfe3e9c Fixed bug in scalable font, that was visible in the tooltip
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-19 18:14:15 +00:00
auria
8b9a9677fe Fixed some font centering issues during live switch between RTL and LTR languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:11:57 +00:00
auria
040ad4d692 Fix my ugly 'tab' hack in the string renderer so that the results are better in RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:42:57 +00:00
hikerstk
970d261f4b Removed warning for duplicated characters, since they are now ordered properly
and not considered an error anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
auria
4ec08502b2 Fixed small memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
hikerstk
d0acfaae3c Fixed incorrect warnings when reading fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
auria
fb86f84c3e Add debug checks to font class so that font conflicts are detected and reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
auria
2891504fa3 Add back clipping to the font object, since lack of clipping messes up list widgets. I submitted a feature request with patch to the irrlicht devs instead, so hopefully in the future IGUIStaticText will have my patch apply and allow disabling clipping locally where needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:03:30 +00:00
auria
381ac727b0 Fixed RTL credits + removed annoying debug print from there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:41:05 +00:00
auria
aca58a4ddf Disabled clipping in our font. Welcome back the bottom of letter 'g' and other similar stuff that was getting cut off due to over-agressive clipping of letters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:26:35 +00:00
auria
edc613ed10 Added license info regarding new font + removed debug prints
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 19:56:40 +00:00
auria
e79025b041 Fixed crash in font code, updated font loading code to allow splitting our huge XML file so that chinese can be in a separate file, switched to wqyMicroHei for chinese font (font not included in SVN because of size)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 19:28:57 +00:00
hikerstk
2ad6b0a027 Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00