mudcoders / guildmud

A SocketMUD-based Multi-User Dungeon built and managed by the members of The MUD Coders Guild.
MIT License
25 stars 11 forks source link

Add C99 stdbool.h to the codebase. #36

Closed rogersm closed 6 years ago

rogersm commented 6 years ago

Guildmud uses its own bool type. Because we're now expecting a C99 compiler, I changed all existing references to guildmud own bool type to the standard C99 type.

This will make slightly easier programme the persistence layer.

It changes almost all the files (including the ones in tests/ directory), but the changes are trivial:

  1. Add #include in *.c files.
  2. Change TRUE for true and FALSE for false in *.{c,h} files.
  3. Remove ifdefs TRUE/FALSE from mud.h