Changeset - 5d65a9001d84
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-07-06 20:04:59

Minor changes, contemplation.
1 file changed with 11 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -307,10 +307,18 @@ void the_finisher(int frame){
 
}
 
*/ // --End of saved frameset structure using code --
 

	
 

	
 

	
 

	
 

	
 

	
 

	
 
// -- NEW CODE TO USE ARRAYS INSTEAD OF THE FRAMESET STRUCTURE --
 
// This function creates frame array based on the total number of frames to be rendered, which will then be parsed by function frame_farmer.
 

	
 
// Note from ethanzonca: So this doesn't seem to store who is running what frame. I think we need an array of structs for frameset, not an array.
 
void frame_num_struct_builder(int sframe, int eframe) {
 
	int jobnum_new = highest_jobnum + 1;
 
	int jobnum_new = highest_jobnum + 1; // can't we use jobnum? because the framesets will correspond with the queued job... integrate this with the queuer?
 
	int total = (sframe - eframe) +1;  // total number of frames
 
	int fcount = sframe; // Used to create all the frames in the structure from sframe to eframe
 
	int x = 0;
 
@@ -326,7 +334,8 @@ void frame_num_struct_builder(int sframe
 
	highest_jobnum++;
 
}
 

	
 
// matches your computer up with a lovely frame to render
 

	
 
// matches your computer up with a not-so-lovely frame to render
 
int frame_finder(){
 
	int your_frame = NULL;  // your_frame is an interger value that will be given to the client as the frame number to render
 
	int finder_jobnum = 0;
0 comments (0 inline, 0 general)