# HG changeset patch # User Nick & Matt's laptop # Date 2009-02-18 23:21:14 # Node ID 63137fbb5790ac900c2c86ee62bf15e88b231557 # Parent 281d685d7af65e71e44cc254af7d0fff1ccd87da Took out the structure declaration since a structure was never defined. It shouldn't have to be since it will be recieved from the server but we have no link to the server and no way to retrieve the blender job structure as of now. Also took out the "name" string since I had trouble declaring it diff --git a/src/client/distren.c b/src/client/distren.c --- a/src/client/distren.c +++ b/src/client/distren.c @@ -21,28 +21,27 @@ int main(int argc, char *argv[]) { - int command; // changed from str command... what was that for? + //just prove that linking to the shared lib werkz genericfunc(); execlisten(); - struc job; - // job = // gets job structure from server + // blender = // gets blender structure from server - /*-- job structure-- - * int file_name - * int frame_to_render - * + /*-- blender structure-- + * file_name + * frame_to_render + * url to dl .blend file */ int frame_to_render; frame_to_render = 10; // temporary, the number 10 will be replaced with a function call char file_name[25]; // declares a variable to hold the file name - // file_name = job.file_name // retrieves file name from the job structure + // file_name = job.file_name // retrieves file name from the blender structure char string[100]; - sprintf(string, "blender.exe -b (filename).blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render); + sprintf(string, "blender.exe -b (filename).blend -o //tmp/frame -f %d -F JPEG -x 1", frame_to_render); system(string);