| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | The Windows RNG turns out to only give about 16 bits at a time. This | Simon Tatham | 2004-05-03 |
| | | | | | | | | | | | | | | | | is (a) pretty feeble, and (b) means that although Net seeds transfer between platforms and still generate the same game, there's a suspicious discrepancy in the typical seed _generated_ by each platform. I have a better RNG kicking around in this code base already, so I'll just use it. Each midend has its own random_state, which it passes to new_game_seed() as required. A handy consequence of this is that initial seed data is now passed to midend_new(), which means that new platform implementors are unlikely to forget to seed the RNG because failure to do so causes a compile error! [originally from svn r4187] | ||
| * | Game configuration box for Windows, by constructing the dialog box | Simon Tatham | 2004-05-03 |
| | | | | | | | | | | | right from scratch without the slightest reference to any dialog templates (meaning that we get to figure out the layout and _then_ choose the window size). I'm rather pleased with that. Also introduced free_cfg(), which is why this checkin touched gtk.c as well. [originally from svn r4184] | ||
| * | Implemented text and clipping primitives in the frontend, and added | Simon Tatham | 2004-04-29 |
| two new simple games `fifteen' and `sixteen'. [originally from svn r4173] | |||