Fixup and refactoring of game_objects.c and game_objects.h.