Commit Graph

94 Commits

Author SHA1 Message Date
Allanis
353922fd3b [Fix] Outstanding memory write access issue. 2013-03-20 22:39:38 +00:00
Allanis
14af8c7e74 [Add] window_getImage 2013-03-20 21:41:00 +00:00
Allanis
f5d5441fd2 [Add] More control with mouse events on custom widgets, you can drag map and also select planets. 2013-03-10 15:07:30 +00:00
Allanis
43a1bb019f [Fix] Mouse events not taking into account custom window offset. 2013-03-10 14:25:00 +00:00
Allanis
7fb9bbedce [Add] Custom mouse events for custome widgets 2013-03-10 13:41:36 +00:00
Allanis
0784ab1624 [Fix] Negative xpos value for text widgets was off a little. 2013-03-09 22:23:40 +00:00
Allanis
44c6addeb8 [Fix] Border issue in custom widgets. 2013-03-09 22:10:15 +00:00
Allanis
c6ffaaed20 [Add] Basic map support, Added gl_drawCircle and gl_drawCircleInRect 2013-03-09 22:07:28 +00:00
Allanis
37862dbf3c [Add] Use shift/control modifiers to purchase more outfits at a time. 2013-03-08 14:21:03 +00:00
Allanis
ef2bfd2052 [Add] Possibility for custom widgets. 2013-03-08 13:39:30 +00:00
Allanis
94623aa081 [Add] Allert windows as a way to warn the user of something. 2013-03-08 02:18:49 +00:00
Allanis
b8f4ee9443 [Fix] Small fix for list selection, Don't allow focus when mouse clicked out of boundaries. 2013-03-07 14:42:28 +00:00
Allanis
1b4bea7b1f [Add] Visualization and description of ships in the shipyard. 2013-03-07 14:11:02 +00:00
Allanis
9d08ff3ae0 [Add] New rectangle widget. More widget creation checking. 2013-03-06 22:28:46 +00:00
Allanis
c5280cb4b3 [Add] More list support. More shipyard features. Allow for NULL text in widget. 2013-03-06 21:52:33 +00:00
Allanis
8b76e4613c [Add] Rough outlines for shipyards and outfits. 2013-03-06 21:34:22 +00:00
Allanis
01a0324e79 [Add] You can no longer focus unfocusable widgets. 2013-03-06 20:49:18 +00:00
Allanis
f7bff6f341 [Remove] debug print statements.. 2013-03-06 20:38:40 +00:00
Allanis
820c477d7b [Add] Clicky focus for lists as well as keyboard input. 2013-03-06 20:37:58 +00:00
Allanis
8881dc5265 [Add] Keybord events work with lists. I think I optimized pilots to use temp sprite values here too. Forgot to diff. 2013-03-06 20:17:14 +00:00
Allanis
9ac872aac4 [Add] Selected list thingy actually renders. You can focus it too. 2013-03-06 14:54:11 +00:00
Allanis
f0fa480fb4 [Add] List widget renders. Time to make it actually work properly? 2013-03-06 13:02:42 +00:00
Allanis
961875a799 [Change] Refactoring some more opengl mess in toolkit.c. Rectangles this time.. 2013-03-06 12:46:17 +00:00
Allanis
dec372e06c [Add] toolkit_drawOutline to cleanup some horrible code I hate so much. 2013-03-01 00:21:19 +00:00
Allanis
26507a8ebe [Add] window_modifyImage call. 2013-02-28 22:49:53 +00:00
Allanis
b1d1142739 [Add] Basic toolkit focus. We can now completely navigate the menus etc with the keyboard. 2013-02-27 23:45:41 +00:00
Allanis
521f3baa9f [Add] Allow toolkit to block input if needed. 2013-02-27 23:19:40 +00:00
Allanis
8fcbca89cb [Fix] I'd like to see VLack crash it now!! Allow for null pointer functions for buttons. 2013-02-27 23:12:07 +00:00
Allanis
ddc831b353 [Add] You can somewhat steal credits now.
[Fix] Only board the ship once.
2013-02-27 18:16:22 +00:00
Allanis
8cb99e490c [Fix] Bug iwth addtext and negative positions. 2013-02-27 15:43:37 +00:00
Allanis
fb57dde3ed [Fix] No-one knew it, but input for toolkit was buggy. Seperated toolkit input from game input to fix this. 2013-02-27 14:50:16 +00:00
Allanis
301ea07a69 [Change] ai/toolkit compilable under C99. I'll get to the rest of it at some point. 2013-02-26 16:10:35 +00:00
Allanis
d2e952fb88 [Change] Just some C correctiveness. 2013-02-26 15:47:56 +00:00
Allanis
efe9970854 [Add] Information and ship spec widows with keybins 'i'
[Change] Cleaned up some MELEMENT sanity checks.
2013-02-24 17:55:59 +00:00
Allanis
44c6ea6ed6 [Add] Rudementory Hyperspace travel. Still a work in progress. ;) 2013-02-20 19:34:30 +00:00
Allanis
a99544804e [Add] Small boarding menu, along with a function to get windows based on name rather than id. 2013-02-19 22:58:10 +00:00
Allanis
8f7df9fc2f [Add] Embed name on window creation rather than having the overhead of writing and positioning a block of text. 2013-02-19 21:38:57 +00:00
Allanis
9a9ace4a42 [Add] Text word wrapping/block text. Allowing for lovely descriptons of planets. 2013-02-19 14:18:55 +00:00
Allanis
bf9d422150 [Add] Support for images of planets within toolkit.
[Change] blit functions use doubles instead of vectors.
[Change] Took some time out to clean up space.c bringing it up to xml.h standards.
2013-02-19 00:10:57 +00:00
Allanis
d19f8c4ae8 [Add] More sane toolkit API. -- Improved landing graphics.
[Change] Moved colours out of opengl specific stuff.
2013-02-18 18:37:19 +00:00
Allanis
074e60afa5 [Add] Finished the basic toolkit by rounding off corners, adding gl_printMax and gl_printMid.
[Add] Use flag system with gl_screen.
  -- Optional AA for primitives.
2013-02-18 17:12:35 +00:00
Allanis
811fc0b92a [Change] What in the world was I thinking with the gui crap?? Large refactoring.. 2013-02-17 21:56:57 +00:00
Allanis
14e525078e [Add] Basic toolkit for window/widget rendering etc.
[Add] Landing.
2013-02-17 19:51:31 +00:00
Allanis
c0cc0a9346 [Add] Start of toolkit framework, we will manage windows etc here.
[Add] Pause/Resume
2013-02-16 20:01:00 +00:00