Commit Graph

641 Commits

Author SHA1 Message Date
Erik Svedäng
d25e1619ab Updated render-text-to-texture to allow setting the color of the text. 2018-04-24 15:02:06 +02:00
hellerve
414451f2fa tests: add test script recording 2018-04-10 12:34:36 +02:00
Erik Svedäng
6bbb0c8190 Can hide bindings with (hidden ...) 2018-03-27 14:32:47 +02:00
Erik Svedäng
891b34f0d1 Sidebar. 2018-03-27 10:51:16 +02:00
Erik Svedäng
ef1549250f More work on docs. 2018-03-27 09:43:39 +02:00
Erik Svedäng
32eaae7a5c Pretty nice looking docs. 2018-03-27 09:05:58 +02:00
Erik Svedäng
62df5ebfc8 Tweaked temp code. 2018-03-26 16:55:54 +02:00
Erik Svedäng
95b74e4179 Can set and preserve meta before def/defn/defmacro/defdynamic. 2018-03-26 16:51:43 +02:00
Erik Svedäng
c3ab3a43e3 Can set meta on non-existing binders (enables docstrings etc before
the definition).
2018-03-26 16:20:09 +02:00
Erik Svedäng
79bf4115a8 Resolution of symbols seems reasonable in meta set/get. 2018-03-26 16:02:17 +02:00
Erik Svedäng
92454c4f94 More keycodes. 2018-03-26 14:09:43 +02:00
Erik Svedäng
83cf727133 Moved keycodes into submodule. 2018-03-26 13:52:34 +02:00
Erik Svedäng
0cd8b4d3ac draw-texture-centered 2018-03-26 11:54:20 +02:00
Erik Svedäng
c91de4b87f Updated ant.carp so it doesn't crash when reaching the border. 2018-03-26 11:22:18 +02:00
Erik Svedäng
4f3882af78 Solving the qualification bug... 2018-03-26 09:29:29 +02:00
Erik Svedäng
8a7e662de7 Fixed typo in example. 2018-03-26 08:50:32 +02:00
Erik Svedäng
eda06f3bc1 Reproduced error in bugs.carp 2018-03-26 08:47:46 +02:00
Erik Svedäng
9e49684ad6 Change of maths. 2018-03-26 07:35:07 +02:00
Erik Svedäng
3d3b34f70f Bugfixes and cleanup of minimal example. 2018-03-24 16:28:35 +01:00
Erik Svedäng
a94338dfb0 indentation 2018-03-24 11:22:24 +01:00
Erik Svedäng
97e11d9303 Use nicer event handling in game.carp also. 2018-03-24 11:19:49 +01:00
Erik Svedäng
07878fc4a9 Nicer event handling with the help of 'foreach' macro and 'SDL.Event.all' function. 2018-03-24 11:17:56 +01:00
Erik Svedäng
45882daafa Replaced example in README.md 2018-03-24 10:34:49 +01:00
Erik Svedäng
c48b59e648 Show how to use mouse in game example. 2018-03-24 10:29:22 +01:00
Erik Svedäng
7fae010bb7 MP3 works! 2018-03-23 21:42:24 +01:00
Erik Svedäng
6fd6de0983 Have to use SDL_mixer v. 2.0.0, NOT 2.0.2. And the library 'mpg123'
needs to be installed before building SDL_mixer (v 1.25.10 works well).
2018-03-23 21:37:07 +01:00
Erik Svedäng
3889dff434 Still trying to figure out music playback... 2018-03-23 16:01:30 +01:00
Erik Svedäng
2253b890fa Can play sound effect but music is not working yet. 2018-03-23 15:13:17 +01:00
Erik Svedäng
e2aa4792a4 Starting wrapping SDL_mixer. 2018-03-23 09:55:32 +01:00
Erik Svedäng
24a1d98493 Remove debug text. 2018-03-23 07:28:51 +01:00
Erik Svedäng
f5f48c1b28 Disable address sanitizer. Also - font program doesn't seem to leak memory. 2018-03-22 21:24:15 +01:00
Erik Svedäng
a87753e3f4 Address sanitizer does not complain. 2018-03-22 21:21:46 +01:00
Erik Svedäng
1c8d554737 Fixed fonts.carp example. 2018-03-22 15:43:43 +01:00
Erik Svedäng
e037a481cd Some helper functions to make code much cleaner. 2018-03-22 14:17:26 +01:00
Erik Svedäng
482170ccd7 Nicer rendering of font. 2018-03-22 13:36:16 +01:00
Erik Svedäng
99132e3926 Basic support for font rendering (more to come). 2018-03-22 13:25:30 +01:00
Erik Svedäng
fb830c81d7 Refactoring of SDL complete? 2018-03-20 16:48:56 +01:00
Erik Svedäng
415600eb87 Better support for choosing if you want to use callbacks or not. 2018-03-20 16:38:50 +01:00
Erik Svedäng
e18cba50c6 Submodule for mouse state in SDL. 2018-03-20 16:15:26 +01:00
Erik Svedäng
f2742fe032 Moved event-related things into a submodule. 2018-03-20 16:05:52 +01:00
Erik Svedäng
10c1b62767 All tests run again, can build "game", "ant" and "reptile". 2018-03-20 14:34:49 +01:00
Erik Svedäng
eb7595b159 Game example works with kebab case. 2018-03-20 12:49:46 +01:00
Erik Svedäng
3965eaa73d Game example works with new SDLApp helper. 2018-03-20 12:26:27 +01:00
Erik Svedäng
7d9fd49e58 The SDLApp helper works fine now. 2018-03-20 12:17:48 +01:00
Erik Svedäng
39e16e9239 Started working on helper struct for SDL. 2018-03-20 11:53:24 +01:00
Erik Svedäng
0ef73eacfa Merge branch 'master' into sdl-refactor 2018-03-20 10:59:35 +01:00
Erik Svedäng
ca2ef7e16f Fixed some bugs regarding machine readable error reporting. 2018-03-19 21:54:05 +01:00
Erik Svedäng
b19aa7a9fb Machine readable error reporting for macro expand. 2018-03-19 11:26:07 +01:00
Erik Svedäng
3eba8a6d5a Machine readable error reporting for 'members' command. 2018-03-19 11:23:53 +01:00
Erik Svedäng
062cda1b7c Machine readable error reporting of non-matchin interface signatures. 2018-03-19 11:21:06 +01:00