]> icculus.org git repositories - divverent/darkplaces.git/log
divverent/darkplaces.git
15 years agobleh
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 19:08:06 +0000 (21:08 +0200)]
bleh

15 years agoscrew this
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:53:08 +0000 (20:53 +0200)]
screw this

15 years agoset the uim cursor when typing stuff in the chat
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:51:28 +0000 (20:51 +0200)]
set the uim cursor when typing stuff in the chat

15 years agoremove debug output
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:47:08 +0000 (20:47 +0200)]
remove debug output

15 years agocount the uim actions and let the input handler whether or not uim even handled the key
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:45:44 +0000 (20:45 +0200)]
count the uim actions and let the input handler whether or not uim even handled the key

15 years agostfugccwarning
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:40:53 +0000 (20:40 +0200)]
stfugccwarning

15 years agomaking progress there
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:39:29 +0000 (20:39 +0200)]
making progress there

15 years agothis actually works
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 18:28:40 +0000 (20:28 +0200)]
this actually works

15 years agowe're getting somewhere
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 17:03:46 +0000 (19:03 +0200)]
we're getting somewhere

15 years agomhm again
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 17:01:45 +0000 (19:01 +0200)]
mhm again

15 years agomhm...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 17:01:23 +0000 (19:01 +0200)]
mhm...

15 years agowell, it still LOOKS fucked...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 17:01:03 +0000 (19:01 +0200)]
well, it still LOOKS fucked...

15 years agohooking it in...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 16:38:03 +0000 (18:38 +0200)]
hooking it in...

15 years agodon't run around in circles...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 16:26:23 +0000 (18:26 +0200)]
don't run around in circles...

15 years agoenter UIM mode for the chat
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 16:23:08 +0000 (18:23 +0200)]
enter UIM mode for the chat

15 years agoI wonder if any of this works...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 16:19:00 +0000 (18:19 +0200)]
I wonder if any of this works...

15 years agopush should work now
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 15:46:03 +0000 (17:46 +0200)]
push should work now

15 years agosome cvars for the looks :)
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 15:42:15 +0000 (17:42 +0200)]
some cvars for the looks :)

15 years agoimplemented: UIM_Commit, UIM_Clear
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:56:34 +0000 (16:56 +0200)]
implemented: UIM_Commit, UIM_Clear

15 years agowe need the length too
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:49:18 +0000 (16:49 +0200)]
we need the length too

15 years agoproperly set up the buffer stuff
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:47:34 +0000 (16:47 +0200)]
properly set up the buffer stuff

15 years agoUIM_Shutdown
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:45:19 +0000 (16:45 +0200)]
UIM_Shutdown

15 years agothis must work...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:28:30 +0000 (16:28 +0200)]
this must work...

15 years agoit's a helper function...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:26:55 +0000 (16:26 +0200)]
it's a helper function...

15 years agoneed quim_reset_context
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:25:38 +0000 (16:25 +0200)]
need quim_reset_context

15 years agostarting with the api implementation
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:23:51 +0000 (16:23 +0200)]
starting with the api implementation

15 years agoentries for UIM buffer setup
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 14:00:13 +0000 (16:00 +0200)]
entries for UIM buffer setup

15 years agokey-mapping for uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:58:17 +0000 (15:58 +0200)]
key-mapping for uim

15 years agoUIM_KeyXXX entries, Key_IsPressed
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:47:19 +0000 (15:47 +0200)]
UIM_KeyXXX entries, Key_IsPressed

15 years agoMerge branch 'ft2' into ft2uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:36:24 +0000 (15:36 +0200)]
Merge branch 'ft2' into ft2uim

15 years agolet's conform to the rest of the code, terencehill :P
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:32:05 +0000 (15:32 +0200)]
let's conform to the rest of the code, terencehill :P

15 years agousing u8_prevbyte optimization
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:21:35 +0000 (15:21 +0200)]
using u8_prevbyte optimization

15 years agoconst-correcting the utf8lib, adding u8_prevbyte as an optimizer for getting the...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:18:23 +0000 (15:18 +0200)]
const-correcting the utf8lib, adding u8_prevbyte as an optimizer for getting the prev char offset

15 years agoconsole input - backspace - utf8 - you know...
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:08:28 +0000 (15:08 +0200)]
console input - backspace - utf8 - you know...

15 years agokey_message needs to handle backspace with utf8 in mind :P
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:06:51 +0000 (15:06 +0200)]
key_message needs to handle backspace with utf8 in mind :P

15 years agoMerge branch 'ft2' into ft2uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:03:10 +0000 (15:03 +0200)]
Merge branch 'ft2' into ft2uim

15 years agoMaking the console input line utf8-aware
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 13:00:47 +0000 (15:00 +0200)]
Making the console input line utf8-aware

15 years agoworking on console input
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 12:51:17 +0000 (14:51 +0200)]
working on console input

15 years agoworking on console input
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 12:50:51 +0000 (14:50 +0200)]
working on console input

15 years agogotta switch to ft2 branch
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 12:47:18 +0000 (14:47 +0200)]
gotta switch to ft2 branch

15 years agoMerge branch 'ft2' into ft2uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 12:17:00 +0000 (14:17 +0200)]
Merge branch 'ft2' into ft2uim

15 years agodo not cast unicode values to signed-char in sdl... and use u8 in Key_Message
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 12:16:29 +0000 (14:16 +0200)]
do not cast unicode values to signed-char in sdl... and use u8 in Key_Message

15 years agoMerge branch 'ft2' into ft2uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:45:45 +0000 (13:45 +0200)]
Merge branch 'ft2' into ft2uim

15 years agoProperly set the face now
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:45:28 +0000 (13:45 +0200)]
Properly set the face now

15 years agohrm
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:44:17 +0000 (13:44 +0200)]
hrm

15 years agoset the face before using it... stupid gcc didn't warn me
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:43:13 +0000 (13:43 +0200)]
set the face before using it... stupid gcc didn't warn me

15 years agoMerge branch 'ft2' into ft2uim
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:40:31 +0000 (13:40 +0200)]
Merge branch 'ft2' into ft2uim

15 years agouse the fallback fonts when rendering glyph maps
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:39:54 +0000 (13:39 +0200)]
use the fallback fonts when rendering glyph maps

15 years agoload fallbacks first to make div0 happy :)
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 11:15:07 +0000 (13:15 +0200)]
load fallbacks first to make div0 happy :)

15 years agofallback fonts can load now
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 10:27:25 +0000 (12:27 +0200)]
fallback fonts can load now

15 years agopreparing for fallback fonts, parsing the font stuff differently now
Wolfgang (Blub) Bumiller [Fri, 4 Sep 2009 09:52:47 +0000 (11:52 +0200)]
preparing for fallback fonts, parsing the font stuff differently now

15 years agoUIM skeleton
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 20:41:27 +0000 (22:41 +0200)]
UIM skeleton

15 years agoUIM_Init
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 18:58:23 +0000 (20:58 +0200)]
UIM_Init

15 years agotypo
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 18:51:10 +0000 (20:51 +0200)]
typo

15 years agostarted with UIM support
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 18:50:49 +0000 (20:50 +0200)]
started with UIM support

15 years agolet's do some pixel snapping, it does make a difference
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 18:08:33 +0000 (20:08 +0200)]
let's do some pixel snapping, it does make a difference

15 years agohmpf
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 17:20:24 +0000 (19:20 +0200)]
hmpf

15 years agofont-size is a float even in fontmap_t, also, use >>6 instead of the sf[xy] values
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 17:10:26 +0000 (19:10 +0200)]
font-size is a float even in fontmap_t, also, use >>6 instead of the sf[xy] values

15 years agofont request sizes are floats now
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 17:00:59 +0000 (19:00 +0200)]
font request sizes are floats now

15 years agoMerge commit 'origin/master' into ft2
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 13:02:26 +0000 (15:02 +0200)]
Merge commit 'origin/master' into ft2

15 years agofix a lil bug in u8_bytelen
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 13:00:32 +0000 (15:00 +0200)]
fix a lil bug in u8_bytelen

15 years agotake fnt scale into account in TextWidth
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 12:46:46 +0000 (14:46 +0200)]
take fnt scale into account in TextWidth

15 years agowidth and height for TextWidth
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 12:43:03 +0000 (14:43 +0200)]
width and height for TextWidth

15 years agofont scaling...
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 11:08:25 +0000 (13:08 +0200)]
font scaling...

15 years agobetter size-seeking and float sizes in DrawQ_TextWidth
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 10:31:51 +0000 (12:31 +0200)]
better size-seeking and float sizes in DrawQ_TextWidth

15 years agofont can load multiple sizes now
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 10:20:41 +0000 (12:20 +0200)]
font can load multiple sizes now

15 years agocommitting utf8lib outside of ft2 files
Wolfgang (Blub) Bumiller [Thu, 3 Sep 2009 09:30:22 +0000 (11:30 +0200)]
committing utf8lib outside of ft2 files

15 years agoanother oops, sorry, forgot to commit this from at home
divverent [Thu, 3 Sep 2009 07:48:28 +0000 (07:48 +0000)]
another oops, sorry, forgot to commit this from at home

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9160 d7cf8633-e32d-0410-b094-e92efae38249

15 years agostuff I forgot to commit
divverent [Thu, 3 Sep 2009 07:42:22 +0000 (07:42 +0000)]
stuff I forgot to commit

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9159 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoQuake menu: show DP's weird resolution set in windowed mode, and really detected...
divverent [Thu, 3 Sep 2009 05:47:07 +0000 (05:47 +0000)]
Quake menu: show DP's weird resolution set in windowed mode, and really detected modes in fullscreen.
menu QC: getresolution() now has an optional second arg "forfullscreen", that if 0 queries the "hardcoded" resolution list and if 1 (or left out) queries the system-provided list.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9158 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoas requested by LH, #if 0 out cycleweapon
divverent [Thu, 3 Sep 2009 05:25:55 +0000 (05:25 +0000)]
as requested by LH, #if 0 out cycleweapon

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9157 d7cf8633-e32d-0410-b094-e92efae38249

15 years agoMerge commit 'origin/master' into ft2
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 20:38:36 +0000 (22:38 +0200)]
Merge commit 'origin/master' into ft2

15 years agostr2chr and chr2str utf8-aware
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 20:32:25 +0000 (22:32 +0200)]
str2chr and chr2str utf8-aware

15 years agofix that line breaking
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 20:32:17 +0000 (22:32 +0200)]
fix that line breaking

15 years agoa couple of utility functions useful for VM_substring, and VM_substring implementation
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 20:14:54 +0000 (22:14 +0200)]
a couple of utility functions useful for VM_substring, and VM_substring implementation

15 years agoforgot to revert
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 18:48:31 +0000 (20:48 +0200)]
forgot to revert

15 years agotry to load .otf files too
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 18:29:41 +0000 (20:29 +0200)]
try to load .otf files too

15 years agouse the utf-8 cursor characters if possible, fallback to + and - if not
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 15:30:41 +0000 (17:30 +0200)]
use the utf-8 cursor characters if possible, fallback to + and - if not

15 years agofix drawing and TextWidth
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 14:31:13 +0000 (16:31 +0200)]
fix drawing and TextWidth

15 years agodo not crash when zlib is missing, but instead do not use deflate/inflate
divverent [Wed, 2 Sep 2009 13:08:52 +0000 (13:08 +0000)]
do not crash when zlib is missing, but instead do not use deflate/inflate

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9156 d7cf8633-e32d-0410-b094-e92efae38249

15 years agor_font_disable_freetype, started with DrawQ_TextWidth support
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 12:53:31 +0000 (14:53 +0200)]
r_font_disable_freetype, started with DrawQ_TextWidth support

15 years agodefine ft2_oldstyle_map in ft2.h since it won't be limited to DrawQ_String_Font anymore
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 12:34:42 +0000 (14:34 +0200)]
define ft2_oldstyle_map in ft2.h since it won't be limited to DrawQ_String_Font anymore

15 years agor_font_use_alpha_textures to use TEXTYPE_ALPHA - currently renders black though....
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 12:23:19 +0000 (14:23 +0200)]
r_font_use_alpha_textures to use TEXTYPE_ALPHA - currently renders black though. unload fonts correctly on module shutdown so r_restart works properly without crashing

15 years agoloadfont with face -1 to disable freetype loading for this font
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 11:51:34 +0000 (13:51 +0200)]
loadfont with face -1 to disable freetype loading for this font

15 years agouse 16 as default size again
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 10:11:49 +0000 (12:11 +0200)]
use 16 as default size again

15 years agosupport faces
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 10:06:55 +0000 (12:06 +0200)]
support faces

15 years agothis should be fine
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 09:59:22 +0000 (11:59 +0200)]
this should be fine

15 years agoworking on better font rendering
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 09:55:49 +0000 (11:55 +0200)]
working on better font rendering

15 years agoworking on better font rendering
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 09:55:12 +0000 (11:55 +0200)]
working on better font rendering

15 years agosome shortcuts
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 09:32:29 +0000 (11:32 +0200)]
some shortcuts

15 years agodo not render bitmaps, they're ready to use as is
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 09:22:07 +0000 (11:22 +0200)]
do not render bitmaps, they're ready to use as is

15 years agocheck if the current charmap contains the character before searching the list for...
Wolfgang (Blub) Bumiller [Wed, 2 Sep 2009 08:35:00 +0000 (10:35 +0200)]
check if the current charmap contains the character before searching the list for the new charmap

15 years agoremoved testfont and old drawing routine
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 17:28:28 +0000 (19:28 +0200)]
removed testfont and old drawing routine

15 years agocorrect offsets when parsing color codes
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 17:27:03 +0000 (19:27 +0200)]
correct offsets when parsing color codes

15 years agoadding font attachments, supporting type-1 fonts with .afm kerning info
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 17:19:26 +0000 (19:19 +0200)]
adding font attachments, supporting type-1 fonts with .afm kerning info

15 years agowhat was I thinking
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 16:36:07 +0000 (18:36 +0200)]
what was I thinking

15 years agooops
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 15:10:02 +0000 (17:10 +0200)]
oops

15 years agokerning support, let's test
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 15:08:06 +0000 (17:08 +0200)]
kerning support, let's test

15 years agostarting with kerning support
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 15:00:24 +0000 (17:00 +0200)]
starting with kerning support

15 years agorendering now works
Wolfgang (Blub) Bumiller [Tue, 1 Sep 2009 14:07:54 +0000 (16:07 +0200)]
rendering now works