| 1133 | } |
| 1134 | |
| 1135 | int CALC_PIXELS_WITH_ASPECTY(int pixels) { |
| 1136 | float scr_aspect_y = ((float)GetSystemMetrics(SM_CYSCREEN)) / ((float)EDITOR_RESOLUTION_Y); |
| 1137 | return (int)(scr_aspect_y * (float)(pixels)); |
| 1138 | } |
| 1139 | |
| 1140 | // Move the viewer object. This should be called whenever the viewer object is moved |
| 1141 | void MoveViewer(vector *pos, int roomnum, matrix *orient) { |