Commit Graph

92 Commits

Author SHA1 Message Date
Glenn Maynard e54454ed22 add m_bUseAlternateText 2003-02-12 20:28:28 +00:00
Glenn Maynard 7a3336d50d add StringWillUseAlternate 2003-02-12 20:19:20 +00:00
Glenn Maynard caee0fc111 Add fallback strings, so we can fall back on translit text if
we're missing characters (eg. someone distributing a song
using kanji that not all people have) instead of showing the
default glyph
2003-02-12 19:34:53 +00:00
Glenn Maynard 6042c88de9 simplify 2003-01-28 00:47:37 +00:00
Glenn Maynard ff830fad55 only use longchar within fonts 2003-01-28 00:45:01 +00:00
Glenn Maynard fe454a7a79 fix BitmapText::CropToWidth 2003-01-21 23:10:22 +00:00
Chris Danford 3c983e7fa7 Re-enable default shadow for BitmapText 2003-01-19 07:06:59 +00:00
Chris Danford ab9f558c6e Adding basic coin support 2003-01-19 04:44:22 +00:00
Glenn Maynard a7f6279140 use GetTexture 2003-01-19 00:55:14 +00:00
Glenn Maynard f903ac8f30 remove unused parameter 2003-01-18 09:35:08 +00:00
Glenn Maynard 49ffa7b45f replacing markers in BMT::SetText is too expensive; do it
manually
2003-01-18 09:18:30 +00:00
Glenn Maynard 3ec2605b60 finish up ranges, other minor fixes 2003-01-16 20:21:07 +00:00
Glenn Maynard 57d90f6bc9 get rid of Kanji= flag; just push the baseline up a little 2003-01-10 03:48:21 +00:00
Glenn Maynard dfeb8feb49 add comment 2003-01-10 03:26:41 +00:00
Glenn Maynard 5d5ac4e52c remove unused data, fix warning 2003-01-10 02:54:07 +00:00
Glenn Maynard f0d662b1b2 round alignment, don't truncate it 2003-01-10 02:52:58 +00:00
Glenn Maynard 0452b492c5 update font stuff 2003-01-08 02:32:30 +00:00
Chris Danford 471fc08e51 Fixed VC6-specific compile errors 2003-01-07 08:16:55 +00:00
Glenn Maynard ad07abd01a use font alignment 2003-01-06 23:49:54 +00:00
Glenn Maynard e5cd3a0800 text entry: replace placeholders on save, so they don't end up in
SMs.
2003-01-06 07:43:14 +00:00
Glenn Maynard 2e50ac566d move replacement to FontManager
(doesn't really belong there, either ...)
2003-01-06 05:53:03 +00:00
Glenn Maynard a0f664ad35 more font work 2003-01-06 02:50:25 +00:00
Glenn Maynard d627f56f78 update 2003-01-05 08:47:48 +00:00
Glenn Maynard d46a2ef9de use int instead of wchar_t; don't want to be limited to 16-bit 2003-01-05 08:11:05 +00:00
Glenn Maynard 8d92a80d40 move code to RU 2003-01-05 05:31:59 +00:00
Glenn Maynard 16052ecd3d utf-8 support is working 2003-01-05 05:13:45 +00:00
Glenn Maynard 7b6af79aad fixes 2003-01-05 01:32:08 +00:00
Glenn Maynard 5e8ced1a94 more font work 2003-01-04 07:55:42 +00:00
Glenn Maynard db04a85622 more bitmap font work 2003-01-04 05:17:51 +00:00
Glenn Maynard 4bb452404c more bitmap font work 2003-01-04 01:47:01 +00:00
Glenn Maynard 1c6dba0ccc bitmap font work 2003-01-03 22:53:22 +00:00
Glenn Maynard e89ddf7e3d Set up texture coords for fonts in Font, so we don't have to deal with
it in BitmapText.
2003-01-03 20:59:50 +00:00
Glenn Maynard b7f3768ba9 remove arbitrary caps; simplify 2002-12-29 22:55:26 +00:00
Glenn Maynard 6d2ad43826 answer: opengl is pixel-centered; d3d is border-centered (when using
their default ortho transforms)

(at least, I believe that's where it differs; it may be at the viewport
or something)
2002-12-28 09:08:18 +00:00
Glenn Maynard a3c6b12981 s/throw RageException/RageException::Throw/ 2002-12-21 19:32:38 +00:00
Glenn Maynard d8c4057660 get rid of TIMER 2002-12-19 23:07:20 +00:00
Glenn Maynard 397bd8b734 more of the same 2002-11-16 08:54:15 +00:00
Glenn Maynard f08a747182 trivial 2002-11-14 06:56:31 +00:00
Chris Danford 19244acaf1 Added missing GraphicOptions help text, re-added F4 fullscreen and F5 detail toggles, fixed texel-pixel alignment in Sprite, BitmapText 2002-11-12 11:11:16 +00:00
Glenn Maynard ec764db169 render even when alpha is 0 when zbuffering is on (fixes
ScreenStage, lifebar)
2002-11-12 01:29:19 +00:00
Glenn Maynard b13fe6e6b6 Fix color endianness problems.
Remove operator== and != from POD types.

Scope the disabled warning better.
2002-11-11 20:36:39 +00:00
Chris Danford 628dea9da7 OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken. 2002-11-11 04:53:31 +00:00
Glenn Maynard 677e6b0a2e s/FRECT/RectF/ 2002-10-31 06:00:30 +00:00
Chris Danford ec202633e9 Added .GetString() to all CStrings passed in vargs 2002-10-29 07:58:44 +00:00
Chris Danford 73f7db6b15 Replaced most D3DX dependencies. Added Brendan's not-yet-functional networking code. 2002-10-28 05:30:45 +00:00
Glenn Maynard aba8523532 Oops. Duplication of code leads to duplication of bugs yet again. :) 2002-10-16 19:31:17 +00:00
Glenn Maynard 39bed921aa Unload font if loading a new one (fixes harmless "leak" of credits fonts) 2002-10-13 22:58:31 +00:00
Chris Danford e44141c8d3 Fixed extended ASCII support in BitmapText 2002-09-22 20:34:11 +00:00
Glenn Maynard 856dbee8f5 After an assertion failure, the user might continue. If we ASSERT(0),
return.  (We should probably be throwing, though.)
2002-09-07 10:01:42 +00:00
Chris Danford 7ab487072f option icons working, new font format, more theme metrics cleanup 2002-09-03 22:31:06 +00:00