Files
@ 5403c1d3bb52
Branch filter:
Location: DistRen/src/client/distren.c - annotation
5403c1d3bb52
1.3 KiB
text/plain
hook test
7f09dcee58f4 7fcbed937039 7f09dcee58f4 aaedffb71a83 aaedffb71a83 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7f09dcee58f4 aaedffb71a83 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7f09dcee58f4 aaedffb71a83 7f09dcee58f4 aaedffb71a83 7f09dcee58f4 7f09dcee58f4 7df3f36d8160 7df3f36d8160 7f09dcee58f4 7f09dcee58f4 1cd8562c653b 2c72cec363fa 2c72cec363fa 7fcbed937039 2c72cec363fa 2ccb6e87cf77 2ccb6e87cf77 79047c77112d 2ccb6e87cf77 1395d646ea88 2ccb6e87cf77 2ccb6e87cf77 2ccb6e87cf77 2ccb6e87cf77 2ccb6e87cf77 8af1e34f742f 7f09dcee58f4 7f09dcee58f4 | /*
Copyright 2008 Nathan Phillip Brink, Ethan Zonca, Matt Orlando
This file is a part of DistRen.
DistRen is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DistRen is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with DistRen. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
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();
int frame_to_render;
frame_to_render = 10; // temporary, the number 10 will be replaced with a function call
char name[25]; // declares a variable to hold the file name
name = 'file_name'; // file_name will be replaced with a function call
char string[100];
sprintf(string, "blender.exe -b %s.blend -o //tmp/frame -f %d -F JPEG -x 1", name, frame_to_render);
system(string);
return 0;
}
|