Package: alex4 / 1.1-8
Metadata
Package | Version | Patches format |
---|---|---|
alex4 | 1.1-8 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
unix port.patch | (download) |
src/Makefile |
24 24 + 0 - 0 ! |
support unix-like operating systems. Based on Hans de Goede's patch for Fedora. |
dot files endian clean.patch | (download) |
src/control.c |
18 16 + 2 - 0 ! |
save the game's dotfiles in an endian-independent way. |
save some cpu cycles.patch | (download) |
src/main.c |
55 32 + 23 - 0 ! |
fix the 100% cpu usage of alex4. Fix the 100% CPU usage of alex4. We can't do this properly (the game is written with a DOS mindset), but we can do two things easily: - Put a rest() in every busy loop. - Limit the frame rate to 50Hz (the speed of the game logic). . For future reference, the counters used by the game: game_count = increments at 50Hz cycle_count = increments at 50Hz, but is reset whenever the game feels like it frame_count = number of frames rendered, reset every second logic_count = number of game loops processed, reset every second |
allegro 4.2.patch | (download) |
src/edit.c |
22 11 + 11 - 0 ! |
get rid of deprecated allegro functions. |
fsf address.patch | (download) |
readme.txt |
4 2 + 2 - 0 ! |
correct the fsf's address. |
compiler warnings.patch | (download) |
src/defs.h |
12 12 + 0 - 0 ! |
fix some compiler warnings. - mark a couple of function parameters as unused - remove a couple of unused function parameters - remove a couple of stray semicolons outside of functions - define _XOPEN_SOURCE for strdup(3) - constify a couple of character pointers - replace some int -> float casts with a multiplication by 1.0 |
hardening.patch | (download) |
src/map.c |
84 55 + 29 - 0 ! |
harden the build. - check the fread() and fwrite() return values - swap a return and an fclose() - fix an undefined order of operations problem |
fix_building_with_fix_versions.patch | (download) |
src/main.c |
6 3 + 3 - 0 ! |
--- |