| 66 |
|
unsigned int i; |
| 67 |
|
signed int j; |
| 68 |
|
|
| 69 |
< |
DDrStartupMessage("listing display modes"); |
| 69 |
> |
DDrStartupMessage("Daodan: Listing display modes"); |
| 70 |
|
|
| 71 |
|
memset(modes, 0, sizeof(M3tDisplayMode) * DD_MAX_MODES); |
| 72 |
|
|
| 167 |
|
++vmodes; |
| 168 |
|
} |
| 169 |
|
|
| 170 |
< |
DDrStartupMessage("%u modes available:", vmodes); |
| 170 |
> |
DDrStartupMessage("Daodan: %u modes available:", vmodes); |
| 171 |
|
for (i = 0; i < vmodes; ++i) |
| 172 |
< |
DDrStartupMessage(" %ux%ux%u", modes[i].Width, modes[i].Height, modes[i].Depth); |
| 172 |
> |
DDrStartupMessage("Daodan: %ux%ux%u", modes[i].Width, modes[i].Height, modes[i].Depth); |
| 173 |
|
|
| 174 |
|
return vmodes; |
| 175 |
|
} |
| 329 |
|
{ |
| 330 |
|
if (gl_api->wglSetDeviceGammaRamp3DFX) |
| 331 |
|
{ |
| 332 |
< |
UUrStartupMessage("Using 3dfx gamma adjustment"); |
| 332 |
> |
UUrStartupMessage("Daodan: Using 3dfx gamma adjustment"); |
| 333 |
|
GLgGammaRampValid = gl_api->wglGetDeviceGammaRamp3DFX(gl->hDC, GLgInitialGammaRamp); |
| 334 |
|
} |
| 335 |
|
else |
| 336 |
|
{ |
| 337 |
< |
UUrStartupMessage("Using Windows gamma adjustment"); |
| 337 |
> |
UUrStartupMessage("Daodan: Using Windows gamma adjustment"); |
| 338 |
|
GLgGammaRampValid = GetDeviceGammaRamp(gl->hDC, GLgInitialGammaRamp); |
| 339 |
|
} |
| 340 |
|
|
| 398 |
|
|
| 399 |
|
if (!M3gResolutionSwitch && opt_gamma) |
| 400 |
|
{ |
| 401 |
< |
UUrStartupMessage("Ignoring gamma setting due to windowed mode"); |
| 401 |
> |
UUrStartupMessage("Daodan: Ignoring gamma setting due to windowed mode"); |
| 402 |
|
opt_gamma = false; |
| 403 |
|
} |
| 404 |
|
|
| 421 |
|
return UUcTrue; |
| 422 |
|
|
| 423 |
|
exit_err: |
| 424 |
< |
AUrMessageBox(1, "Failed to initialize OpenGL contexts; Oni will now exit."); |
| 424 |
> |
AUrMessageBox(1, "Daodan: Failed to initialize OpenGL contexts; Oni will now exit."); |
| 425 |
|
exit(0); |
| 426 |
|
return 0; |
| 427 |
|
} |