Erik Faye-Lund
217bed5131
player: implement io-callbacks for loading tracks
...
Some demos use datafiles; let's allow these to easily work by
adding a callback-interface for loading tracks.
The callbacks are only present in player-mode, because tracks
aren't loaded from disk in client-mode.
2011-04-25 23:48:49 +02:00
Erik Faye-Lund
c570d58962
player: remove useless include
2011-01-25 23:39:05 +01:00
Erik Faye-Lund
5bfd04f55b
player: pass callback directly to sync_update
...
sync_update is the only code-path that can end up calling any of the
callbacks, so there's no need to store it in the device.
This is a breaking change, so all users needs to update their code
accordingly.
2011-01-25 04:10:39 +01:00
Erik Faye-Lund
e640a4ab6a
editor: explicit C-declaration around sync/data.h
...
Trade an explicit extern "C" declaration for three
defined(__cplusplus) wrapped ones.
2010-07-06 23:03:37 +02:00
Erik Faye-Lund
7934871684
client: make sync_track_path static
2010-03-24 17:58:20 +01:00
Erik Faye-Lund
874c5b8ede
rename LICENSE.TXT to COPYING
2010-03-19 17:41:37 +01:00
Erik Faye-Lund
14244a2d0d
add sync_destroy_device()
2010-03-19 17:41:36 +01:00
Erik Faye-Lund
70bcea33ab
clean up network code
2010-03-19 17:41:35 +01:00
Erik Faye-Lund
decf843c04
player/client: port to C
...
Make sure that all code included in the player and client is
pure C. This helps on portability.
2010-03-19 17:41:34 +01:00
Erik Faye-Lund
3997eb7b26
yes! saving and loading works!
2010-03-19 17:41:07 +01:00
Erik Faye-Lund
8f34baa39c
added copyright headers
2010-03-19 17:41:06 +01:00
Erik Faye-Lund
60a835fa35
cleaned up the interface. time to give the code-structure a big overhaul.
2010-03-19 17:41:02 +01:00