Rev 130 | Rev 136 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 130 | Rev 131 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | current_yaw = (Board_ColorToMove (board) == COLOR_BLACK ? 90.0f : -90.0f); |
60 | current_yaw = (Board_ColorToMove (board) == COLOR_BLACK ? 90.0f : -90.0f); |
61 | current_distance = 70.0f; |
61 | current_distance = 70.0f; |
62 | if (current_distance < MIN_VIEW_DISTANCE) |
62 | if (current_distance < MIN_VIEW_DISTANCE) |
63 | current_distance = MIN_VIEW_DISTANCE; // consistency check for stupid programmers |
63 | current_distance = MIN_VIEW_DISTANCE; // consistency check for stupid programmers |
64 | } |
64 | } |
- | 65 | ||
- | 66 | // look at the center of the table immediately |
|
- | 67 | lookatpoint_x = 0; |
|
- | 68 | lookatpoint_y = 0; |
|
65 | 69 | ||
66 | // HACK to prevent the player to click and block the view angles while the slide-in is not finished |
70 | // HACK to prevent the player to click and block the view angles while the slide-in is not finished |
67 | command_ignoretime = current_time + 2.0f; // allow 2 seconds |
71 | command_ignoretime = current_time + 2.0f; // allow 2 seconds |
68 | 72 | ||
69 | // build the connected comment string (we use it as a global variable) |
73 | // build the connected comment string (we use it as a global variable) |