ccoidshttp://offog.org/git/ccoids.atomgitatom2018-10-03T13:59:45Zhttp://offog.org/git/ccoids.git#aaffe4258ee7778acf095fd11b7dfcee0347a8d02018-10-03T13:59:45Z2018-10-03T13:59:45ZUse AM_CXXFLAGS, not EXTRA_CPPFLAGS.Use AM_CXXFLAGS, not EXTRA_CPPFLAGS.
The latter doesn't have the desired effect.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#2ec9b9893fcb8da7d5a190a374cfa89ea56a29c12018-03-21T13:33:01Z2018-03-21T13:33:01ZRemove SAMPLE-ccoids.cc.Remove SAMPLE-ccoids.cc.
This isn't really useful without CCSP.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#8ddfe25723567194f959ec7304855ee9189cf51c2018-03-21T13:11:08Z2018-03-21T13:11:08ZUse std::shared_ptr rather than boost::shared_ptr.Use std::shared_ptr rather than boost::shared_ptr.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#52813ee7978a573ea514db43107d95371a61c1cd2018-03-21T13:09:06Z2018-03-21T13:09:06ZUse range-based for loops rather than BOOST_FOREACH.Use range-based for loops rather than BOOST_FOREACH.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#f2238b69d87f8c002093a6917657b6bbabdfbd3c2018-03-21T13:08:41Z2018-03-21T13:08:41ZCompile in C++11 mode.Compile in C++11 mode.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#45f5170e04ee579ebe18cd28c0f1ba623872d8d52018-03-21T13:04:04Z2018-03-21T13:04:04ZUpdate autoconf-archive macros.Update autoconf-archive macros.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#62b2ad4fe577a86d7a093e7f9e76bce3189c07f02013-11-26T14:13:01Z2013-11-26T14:13:01ZFix project name.Fix project name.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#9b790bcfbfc62bbe63ad8f1428308d6fd279bf382013-11-22T16:30:00Z2013-11-22T16:30:00ZMake the controls not be an Activity.Make the controls not be an Activity.
The controls are now only polled when updating the display, which is
more sensible.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#5666d8e9faa9aa89e142512d71b23620e0f1a7b02013-11-22T16:26:18Z2013-11-22T16:26:18ZMake Display not be an Activity.Make Display not be an Activity.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#c595c8ffe7cd10b1a4699b861fec13ce23089f332013-11-22T16:19:08Z2013-11-22T16:19:08ZBreak ccoids.cc up into multiple files.Break ccoids.cc up into multiple files.
It's now just the setup and main loop for the simulation.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#a19cc6f582622a7a7288abe4372d943e0fa036572013-11-22T15:34:34Z2013-11-22T15:34:34ZAdd comments describing some of the classes.Add comments describing some of the classes.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#8209bcd27507abeddc8d180e2ae8e7cf2865fa872013-11-22T15:26:19Z2013-11-22T15:26:19ZPort ccoids from CCSP to TBB.Port ccoids from CCSP to TBB.
This works, but it's not very TBB-ish at the moment. On the upside, at
least I can run it on non-IA32 machines now!
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#402da942e0d662ae738c899662b02e27990d80de2013-11-22T13:55:29Z2013-11-22T13:55:29ZSDL_gfx has a pkgconfig file now.SDL_gfx has a pkgconfig file now.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#3fa4598bf58a446acd5da5a7c3b80b0e43ffd0672013-11-22T13:44:53Z2013-11-22T13:44:53ZUpdate the autoconf-archive files.Update the autoconf-archive files.
This fixes some autoconf warnings.
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#adfefc7f56b5834459a592ec0d603f3394872e892012-04-26T13:46:48Z2012-04-26T13:46:48ZConvert hard tabs to four spaces (in line with other code I've written recently).Convert hard tabs to four spaces (in line with other code I've written
recently).
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@3046 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#4c23a47f6efeeece755d0604134a611d93313c542012-04-26T13:13:10Z2012-04-26T13:13:10ZAdd a comment on something that confused me when rereading the code.Add a comment on something that confused me when rereading the code.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@3045 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#86d8a4c9ffd65f975addb3f54b02b839936846d92011-12-15T19:18:43Z2011-12-15T19:18:43ZAdd shadows to the boids.Add shadows to the boids.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2975 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#a4dcdede11ccaed032bc9241f58f86b8c4fb57832011-12-12T16:51:59Z2011-12-12T16:51:59ZRename surface_ to screen_.Rename surface_ to screen_.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2974 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#2a73ffa1cfd893808f33ba3273cf173299d1c48f2011-12-09T20:07:05Z2011-12-09T20:07:05ZSwitch populations using buttons on the BCF2000.Switch populations using buttons on the BCF2000.
Muhahaha.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2973 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#664e3fb33fd614d42ece8ddf49033125a2444e102011-12-09T19:53:28Z2011-12-09T19:53:28ZAllow multiple populations of boids with different sets of parameters.Allow multiple populations of boids with different sets of parameters.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2972 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#3aeda84de1a56efc219a1da6ccd56001307d06ac2011-12-09T19:46:21Z2011-12-09T19:46:21ZFactor bird creation out to a new method.Factor bird creation out to a new method.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2971 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#f2ef7225f508812fa2b1dd1c96583da58486ddf92011-12-09T19:34:34Z2011-12-09T19:34:34ZMake the hue of the birds adjustable.Make the hue of the birds adjustable.
This is mostly an excuse to use another control.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2970 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#0e68f10e1434562257566ac6600560d9847fdc1f2011-12-09T19:23:47Z2011-12-09T19:23:47ZCopy the Colour class over from cctuna.Copy the Colour class over from cctuna.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2969 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#3e56052fbd5ed7842a38352b5f90ebdaace4c3632011-12-09T19:19:02Z2011-12-09T19:19:02ZHandle the knobs on the two controllers as well as the faders.Handle the knobs on the two controllers as well as the faders.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2968 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#059c1529f2038913132a752200e71833601aca812011-12-09T19:13:28Z2011-12-09T19:13:28ZHandle different types of controller more sensibly.Handle different types of controller more sensibly.
ccoids can now cope with multiple controllers being plugged in, and
won't confuse the BCF2000's knobs with the nanoKONTROL's faders.
(This is definitely *not* the simplest thing that will possibly work.)
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2967 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#33bfe0c33f4e35845a7f987377a8ca403876d14b2011-12-09T18:20:05Z2011-12-09T18:20:05ZRefactor Controls to use the visitor pattern.Refactor Controls to use the visitor pattern.
This is much nicer than the previous approach -- although there's now
another level of abstraction in there.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2966 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#ffe007335ef623db558c53e42b4e91a1ee9ccd152011-12-09T17:03:49Z2011-12-09T17:03:49ZHave a macro for adding controls.Have a macro for adding controls.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2965 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#4ffe2378f2408510cc11dc66d6fcf7475bf4a7de2011-12-09T16:55:17Z2011-12-09T16:55:17ZSplit Settings into Config and Params.Split Settings into Config and Params.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2964 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#34977cb5e0362c840be21a48c664a70b3a7028102011-12-09T16:43:38Z2011-12-09T16:43:38ZDon't have a separate Blob structure -- just use AgentInfo.Don't have a separate Blob structure -- just use AgentInfo.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2963 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#b84510bc3073f70fa559bcd34138bf8189deb2ed2011-12-09T16:31:56Z2011-12-09T16:31:56ZAdd special keys to quit and to toggle full-screen mode.Add special keys to quit and to toggle full-screen mode.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2962 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#b2de14cdf16fd2ab51518bb4906c57692ed20a3e2011-12-09T16:08:02Z2011-12-09T16:08:02ZTurn all the remaining constants into command-line options.Turn all the remaining constants into command-line options.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2961 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#035afc09eb18d964cf47aac4d335aff3679de5e12011-12-09T15:50:39Z2011-12-09T15:50:39ZRemove the code to draw the grid.Remove the code to draw the grid.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2960 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#a4d910fd0cab831393533be3d581bb82cadc8ae62011-12-09T15:49:56Z2011-12-09T15:49:56ZRemove the boids-as-pies code.Remove the boids-as-pies code.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2959 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#35594bdddf463e8d1249b3987b558fb1dcb366982011-12-09T15:48:41Z2011-12-09T15:48:41ZRemove the GTK display.Remove the GTK display.
This was an interesting experiment, but I'm just going to stick with SDL
for now; I might switch to GTK/Cairo if I redo this using TBB.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2958 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#c141a1e629c1f15079795df206042a9f2043d9622011-12-09T15:42:58Z2011-12-09T15:42:58ZUse BOOST_FOREACH.Use BOOST_FOREACH.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2957 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#9f8292c2fd859ad9c5c064e63d769961acebd7e92011-12-09T15:35:49Z2011-12-09T15:35:49ZUse shared_ptr (fix a FIXME).Use shared_ptr (fix a FIXME).
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2956 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#fec7c28e7bfb4103bf5793a1bd542fbd7d0a44fc2011-12-09T15:30:33Z2011-12-09T15:30:33ZAdd an options parser.Add an options parser.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2955 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#8d69d0a4d41b3dc7863f11267024cd5e949750922011-12-09T12:36:06Z2011-12-09T12:36:06ZShow the control states on the display when they change.Show the control states on the display when they change.
This is useful with non-motorised faders, since you can see where the default
positions are...
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2954 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#7d2ea740bd9ab8a27d6060a6cfe5f25d0b01c5392011-12-07T23:26:35Z2011-12-07T23:26:35ZTweak display size down for my Laptop of Little Brain.Tweak display size down for my Laptop of Little Brain.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2952 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#6d830d456e19abdaf0c7f32cdb66e1c18dfa495b2011-12-07T23:16:49Z2011-12-07T23:16:49ZMore rendering fiddling -- lollipops with alpha.More rendering fiddling -- lollipops with alpha.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2951 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#4a3062d8220772616d9d84763cbb1c1c3c987f482011-12-07T23:02:14Z2011-12-07T23:02:14ZMove definitions for ccoids out into a separate file.Move definitions for ccoids out into a separate file.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2950 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#63cedbbfae4ec3360f2f6fa2c9d89121004fef2f2011-12-07T22:56:01Z2011-12-07T22:56:01ZFactor Controls out to separate files.Factor Controls out to separate files.
The boids-specific bit is now a subclass.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2949 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#d7e997dd4d1ebef59f936cb0887afd91a6b93eef2011-12-07T22:41:47Z2011-12-07T22:41:47ZFactor maths stuff out to separate files.Factor maths stuff out to separate files.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2948 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#7ad11622f9e2ad32597e3a5ab70d469a22e92c9b2011-12-07T22:29:48Z2011-12-07T22:29:48ZTweak the pie sizes a bit. It's still not great.Tweak the pie sizes a bit. It's still not great.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2947 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#1eed49f7317706bad1fa3dbfe4122f6e5ba750b12011-12-07T22:21:01Z2011-12-07T22:21:01ZWork with the nanoKONTROL (silly name) as well.Work with the nanoKONTROL (silly name) as well.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2946 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#4fdf4a5fbedfa73851af3bb19a14f6fc686e99772011-12-07T22:10:25Z2011-12-07T22:10:25ZDraw the birds as "pie slices" with alpha blending.Draw the birds as "pie slices" with alpha blending.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2945 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#7c386b9f388fbeb77cf9bdd4b476ab244290746b2011-12-07T21:55:14Z2011-12-07T21:55:14ZMake SDL and GTK event processing work the same way.Make SDL and GTK event processing work the same way.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2944 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#a9463d92f4db0820f1b95bcdbb98e034dfef416f2011-12-07T21:51:37Z2011-12-07T21:51:37ZSet the default back to the SDL display.Set the default back to the SDL display.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2943 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#099ee45689b2a19deb0e2e0c1953f13af5149d382011-12-07T21:42:36Z2011-12-07T21:42:36ZRender blobs using Cairo.Render blobs using Cairo.
This is quite pretty, but also pretty slow. The event stuff isn't right
(the update ought to be triggered from CCSP, rather than from a GTK
timeout), and the list of blobs isn't updated safely.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2942 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.orghttp://offog.org/git/ccoids.git#4ef495d1935d2d18a993cd91070d1acdc01f30db2011-12-07T21:39:55Z2011-12-07T21:39:55ZRefactor the existing display into Display and SDLDisplay.Refactor the existing display into Display and SDLDisplay.
The former manages a list of things to draw; the latter draws them.
git-svn-id: https://projects.cs.kent.ac.uk/projects/cosmos/svn/demos/trunk/ccoids@2941 e28804a8-3bd4-eee1-e388-d56375b66714
Adam Sampsonats@offog.org