Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234149 Details for
Bug 321325
[4.5/ICE] games-strategy/lgeneral: ICE with -O2 and i686
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
reduced further
lgc_pg-scenarios.reduced.i (text/plain), 539 bytes, created by
SpanKY
on 2010-06-04 20:36:38 UTC
(
hide
)
Description:
reduced further
Filename:
MIME Type:
Creator:
SpanKY
Created:
2010-06-04 20:36:38 UTC
Size:
539 bytes
patch
obsolete
>void scen_create_random_weather(void *dest_file, void *scen_file, int month, > int turns) >{ > int i; > int init_cond = 0; > int weather[turns]; > weather[0] = (init_cond == 1) ? 0 : 2; > if (month < 3 || month == 12) { > for (i = 0; i < turns; i++) > if (weather[i] == 2) > weather[i]++; > } > fprintf(dest_file, "weather»"); > i = 0; > while (i < turns) { > fprintf(dest_file, "%s", > weather[i] == 0 ? "fair" : weather[i] == > 1 ? "clouds" : weather[i] == 2 ? "rain" : "snow"); > if (i < turns - 1) > fprintf(dest_file, "°"); > i++; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 321325
:
232729
|
233953
| 234149