fixed code to compile with current gcc and 64-bit systems
- [DH] src/editor.c
- [DH] src/editor.h
- [DH] src/events.c
- [DH] src/game.c
- [DH] src/game.h
- [DH] src/init.c
- [DH] src/main.c
- [DH] src/main.h
- [DH] src/misc.c
- [DH] src/misc.h
- [DH] src/screens.c
- [DH] src/sound.c
- [DH] src/sound.h
- [DH] src/tools.c
- [DH] src/tools.h