triplefox
cc2c5e8a12
implements the spacer test, see: http://www.buildandshoot.com/viewtopic.php?f=5&t=60&p=7202#p7202
2013-01-04 23:14:31 -08:00
triplefox
2dff830481
health and ammo counters widgetified
2013-01-03 01:18:44 -08:00
triplefox
18b42d29d4
a bunch of stuff added and fixed in support of widgetifying the feeds. recompile necessary
...
add serpent (to prettyprint lua tables while debugging)
redo the chat/killfeed system with scroll_list and table library
add a "sec_last" to cover the edge case of event callbacks that need a time
add setting of widget properties relx, rely, l, t, r, b, cx, cy
add font.compute_ctab (many lines of text, one color per line)
add textfield ctab property
add common.img_fill
fix dirty textfields not clearing when redrawing at same size (needed img_fill)
fix chat typing still allowing some widget things to fire
move gui update to go later than the model rendering so that viewmodel doesn't cover hud
2012-12-27 23:44:21 -08:00
triplefox
1a93b32420
gui: image widget; remove map global state; move crosshair and palette into widgets
2012-12-22 23:37:36 -08:00
triplefox
8ada5fc755
gui: the quit message can listen to keypresses now
2012-12-20 17:16:27 -08:00
triplefox
b85f546e29
gui: some progress on input events and architecture planning, needs testcases now
2012-12-20 06:33:18 -08:00
triplefox
a0d0d564c1
Fixed for reals now
2012-12-20 01:53:57 -08:00
triplefox
d8c1db3f4f
gui: fix the defaults not being resettable :|
2012-12-20 01:46:00 -08:00
triplefox
d0f75e822d
gui: add key_map and button_map; events moved to util so that client_start sees them; fix a first-frame visibility thingy
2012-12-20 01:40:43 -08:00
triplefox
87f36fc758
port quit and teamchange messages to icegui; fix some icegui stuff
2012-12-19 17:52:53 -08:00
triplefox
dcfa256685
add self-cleaning alarms to displayobjects; fix some bugs with insert/remove; add a tools visibility alarm
2012-12-15 23:55:28 -08:00
triplefox
daed57cd95
widgetify the hud tools
2012-12-14 16:20:04 -08:00
triplefox
9d7f616604
a little note
2012-12-14 02:56:15 -08:00
triplefox
c46bf4dd02
make the shared alarm dT useful.
2012-12-14 02:46:42 -08:00
triplefox
076de23fba
gui: delta time and shared alarms work :D
2012-12-14 02:37:18 -08:00
triplefox
e278c94ebd
add alarm object, some event constants for timing, structure to handle event listeners
2012-12-14 01:59:45 -08:00
BR
01b5f40d67
escape asks for confirmation before quitting
2012-12-13 20:25:23 -08:00
triplefox
03719275fb
gui: bone widget
2012-12-13 03:22:17 -08:00
triplefox
4160193fe1
beautiful text shadows with strength auto-calibrated against luminance
2012-12-12 03:30:56 -08:00
triplefox
8be55a5934
just a quick sketch of what bone widgets need to be like
2012-12-11 22:57:55 -08:00
triplefox
36580ece02
some bits of progress on textfield; children are now an ordered list
2012-12-10 22:50:35 -08:00
Ben Russell (300178622)
d65877c6d1
fixed + documented img_blit_to
2012-12-11 17:58:23 +13:00
triplefox
7d85974d46
move the img_blit_to body next to img_blit, disable the common testcase
2012-12-10 19:25:31 -08:00
triplefox
ad7f7fc6c6
work on textfield; add client.img_blit_to() (still unverified)
2012-12-10 18:40:24 -08:00
triplefox
ccbdaca1f8
Merge branch 'master' of https://github.com/iamgreaser/buldthensnip.git
2012-12-08 23:11:48 -08:00
triplefox
1bb24c035a
correct the text size calc
2012-12-08 23:11:42 -08:00
Ben Russell (300178622)
68ff4dc446
quick fix for digit rendering
2012-12-09 19:36:36 +13:00
triplefox
1c8c582b3b
much ado to make it so that text positioning can be precomputed and made potentially usable for editable/selectable text
2012-12-08 03:18:34 -08:00
triplefox
7c9036587f
generalize our fixed-width font system so that they can all share in the word-wrapped fun
2012-12-07 17:01:56 -08:00
triplefox
d8c945b03d
add word wrapping text method; add child boundary calcuation
2012-12-07 16:22:46 -08:00
triplefox
f9fad531a7
allow for gui rendering without img; retain the pivot point of parents for their children
2012-12-06 12:37:22 -08:00
triplefox
a86cabf648
frames are now drawn within the widget system - big milestone
2012-12-05 22:49:43 -08:00
triplefox
52e20b39bb
make the frame renderer more "real" (still no caching strategy yet)
2012-12-05 13:29:01 -08:00
triplefox
b26085efb4
add table library; fix lineends and tabs; some fixes in widget(table.remove instead of table[n] = nil); a test "every-frame rect render" for gui
2012-12-03 22:53:10 -08:00
Ben Russell (300178622)
6b8bb275f8
chat implemented, lib_bits added, misc tweaks / refactors
2012-11-29 11:42:39 +13:00
Ben Russell (300178622)
cc0461a9ca
bunch of arch reworking; scripts take arguments now; arms/legs dangle too
2012-11-26 17:06:30 +13:00
Ben Russell (300178622)
51cfb6a15e
code refactored, colour selection works, PMF editor started
2012-11-14 17:32:15 +13:00