Changeset 6604 in orxonox.OLD for branches/avi_play
- Timestamp:
- Jan 18, 2006, 5:47:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/story_entities/movie_loader.cc
r6600 r6604 21 21 #include "load_param.h" 22 22 #include "resource_manager.h" 23 #include "state.h" 23 24 24 25 … … 121 122 122 123 glBegin(GL_QUADS); 123 glTexCoord2f( 1.0f, 0.0f); glVertex2f( 0, 0);124 glTexCoord2f( 1.0f, 1.0f); glVertex2f( 0, 100);125 glTexCoord2f( 0.0f, 1.0f); glVertex2f( 100, 100);126 glTexCoord2f( 0.0f, 0.0f); glVertex2f( 100, 0);124 glTexCoord2f(0.0f, 0.0f); glVertex2f( 0, 0); 125 glTexCoord2f(0.0f, 1.0f); glVertex2f( 0, State::getResY()); 126 glTexCoord2f(1.0f, 1.0f); glVertex2f( State::getResX(), State::getResY()); 127 glTexCoord2f(1.0f, 0.0f); glVertex2f( State::getResX(), 0); 127 128 glEnd(); 128 129 … … 139 140 140 141 // calculate time difference in milliseconds (Uint32) 141 this->dt = currentFrame - this->lastFrame; 142 this->dt = currentFrame - this->lastFrame; 142 143 // calculate time difference in seconds (float) 143 144 this->dts = (float)this->dt / 1000.0f;
Note: See TracChangeset
for help on using the changeset viewer.