66 Commits

Author SHA1 Message Date
Felix Kaaman
458ec6a8b3 Migrate to using scancodes for key presses and SDL_TEXTINPUT for text input 2015-11-01 13:01:50 +01:00
Ben Russell (300178622)
e87ab25d51 shader architecture on Lua side 2015-02-21 18:09:15 +13:00
Ben Russell (300178622)
4096ffbe45 [0.2.1-10] fix a crash in img_blit_to w/o screen; faster text print on Lua side! 2015-02-21 11:19:12 +13:00
Dany0
d45f8971d5 Loading image, spade, gui, look in description
- scene.image supports image scaling
- scale loading images properly (might need more work later)
- spade now shows what block will be spaded using the cube marker
- removed run.sh
2015-02-09 20:56:16 +01:00
Ben Russell (300178622)
53a969721c MODEL API OVERHAUL, ALL MODS THAT USE MODELS WILL PROBABLY BREAK 2015-02-09 13:56:26 +13:00
Ben Russell (300178622)
639cb10ed5 [0.2a-3] fix goofup when adding textures - also hey look kv6s 2015-02-07 13:24:31 +13:00
Dany0
b959281808 Font adventures, part 1 episode 1 2015-02-06 04:14:49 +01:00
Ben Russell (300178622)
3f561433ae R1CTF VA bomb test 2015-02-05 14:33:44 +13:00
Ben Russell (300178622)
466befec90 keyboard layouts finally left to SDL's unicode handler 2015-02-05 13:05:33 +13:00
Ben Russell (300178622)
6dc2b18148 [0.1.2-2] preliminary PNG loader (8bpc RGB/RGBA-only for now) 2013-08-05 23:28:02 +12:00
Ben Russell (300178622)
91b16773cf MAPIMG should not be loaded from lib_gui, this broke pmfedit 2013-05-26 10:29:48 +12:00
B R
ed49c15cb7 loading screen shows map image, if it exists 2013-04-29 01:09:24 -07:00
Ben Russell (300178622)
4e0fbd39fe basic skin support, only wav / tga assets are wired up to it so far 2013-02-23 11:54:29 +13:00
triplefox
5d4345389a fix some terrible stuff and add the input buffer, also i hate the typing code t.t 2013-02-11 20:15:03 -08:00
triplefox
bce34cc133 typing: add key repeat 2013-02-11 15:05:26 -08:00
triplefox
195d837c95 text editing: modifiable insertion point with: left, right, home, end, delete forwards from insertion point 2013-02-11 14:28:10 -08:00
Ben Russell (300178622)
356003d2dc added 64-colour paletted ver of the loading image 2013-01-31 12:02:53 +13:00
Ben Russell (300178622)
a8779e39d3 only load loading_default ONCE 2013-01-29 14:42:33 +13:00
triplefox
8ccee1df55 new scoreboard: basic look working. just need to finish the table generation and integration
fixed some gui bugs
2013-01-25 17:37:43 -08:00
triplefox
92a4afe05c some work on new scoreboard 2013-01-24 23:10:07 -08:00
Dany0
49eff070ea Loading screen image
Servers should be able to change that dynamically later, thanks to
Triplefox for help.

+mesa.png in maps folder for future use
2013-01-22 23:27:55 +01:00
BR
1826aecaf6 fixed static alarms bug 2013-01-18 11:46:21 -08:00
triplefox
75c0be0bfe trying to fix a mysterious crash for dany0 with more lenient values 2013-01-13 08:08:48 -08:00
triplefox
e49c2844e7 graph the fps (maybe someday other things too) 2013-01-13 07:55:24 -08:00
triplefox
5dfe33f801 fix a subtle glitch where the tool alarm was somehow squashing the shared alarm(and I still don't know how) 2013-01-13 00:44:10 -08:00
triplefox
f18e2db945 make event processing work on a flat list(fixes some potential bugs) 2013-01-12 23:47:03 -08:00
triplefox
5faf5854d6 add smooth cursor 2013-01-12 00:45:36 -08:00
triplefox
ebbc7910a2 textfield extended to support typing (no text cursor yet) 2013-01-11 06:53:45 -08:00
triplefox
fb1f1cfbc2 tile9 rectangular frame renderer 2013-01-08 01:47:43 -08:00
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