Mercurial > hg > early-roguelike
comparison srogue/rogue.h @ 228:b67b99f6c92b
Daemons and fuses now return void.
Functions for starting and stopping daemons and fuses now expect the
type 'void (*func)()'. Only a few functions in XRogue needed to be
modified to fit. Determining the type of the argument is left for a
later date.
Building with GCC5 should now produce less than 200 lines of warnings
per game.
author | John "Elwin" Edwards |
---|---|
date | Sat, 05 Mar 2016 20:49:37 -0500 |
parents | 3de8058dd549 |
children | c10fe421b8fb |
comparison
equal
deleted
inserted
replaced
227:696277507a2e | 228:b67b99f6c92b |
---|---|
529 * Now we define the structures and types | 529 * Now we define the structures and types |
530 */ | 530 */ |
531 | 531 |
532 struct delayed_action { | 532 struct delayed_action { |
533 int d_type; | 533 int d_type; |
534 int (*d_func)(); | 534 void (*d_func)(); |
535 int d_arg; | 535 int d_arg; |
536 int d_time; | 536 int d_time; |
537 }; | 537 }; |
538 | 538 |
539 /* | 539 /* |