]>
git.zerfleddert.de Git - micropolis/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michael Gernoth [Sat, 18 Dec 2010 00:47:04 +0000 (01:47 +0100)]
add button to hide mini-map
Michael Gernoth [Thu, 16 Dec 2010 21:31:44 +0000 (22:31 +0100)]
show mini-map when hovering over the empty mini-map frame
Michael Gernoth [Thu, 16 Dec 2010 09:53:32 +0000 (10:53 +0100)]
implement small-screen support for the initial micropolis screen
as the mini-map is not resizable, it is currently disabled, I'm
looking for a better solution
Michael Gernoth [Thu, 16 Dec 2010 08:50:24 +0000 (09:50 +0100)]
begin suppport for smaller screens, currently just prints a warning
Variables defining the scenarion window size and images can now be
set from micropolis.tcl depending on the display size. As there are
currently no nice small images available, just a warning is printed
Kamal Mostafa [Sat, 9 Jan 2010 08:29:56 +0000 (08:29 +0000)]
Avoid SIGLOST==SIGPWR namespace collision on sparc (LP: #505080).
Michael Gernoth [Sun, 11 Oct 2009 22:03:19 +0000 (00:03 +0200)]
make monster behaviour configurable
Michael Gernoth [Fri, 9 Oct 2009 15:57:40 +0000 (17:57 +0200)]
water will not kill the monster
this is how the original DOS-version behaves
Michael Gernoth [Fri, 9 Oct 2009 15:33:16 +0000 (17:33 +0200)]
let the monster survive if it is born in a river
Michael Gernoth [Fri, 2 Oct 2009 13:34:24 +0000 (15:34 +0200)]
change SDL linking to work with newer SDL versions again
Michael Gernoth [Tue, 8 Sep 2009 07:33:38 +0000 (09:33 +0200)]
allow overriding $CC for tclx
Michael Gernoth [Tue, 8 Sep 2009 07:07:29 +0000 (09:07 +0200)]
Fix the last warning on x86_64
Michael Gernoth [Mon, 7 Sep 2009 20:24:48 +0000 (22:24 +0200)]
Enable warnings and fix them, all of them
This involved adding prototypes for most functions and fixing
all errors revealed by this. The outcome should be a much more
stable Micropolis, as now all functions are called with their
defined arguments and also have a defined return value.
This should fix debian bug #522529 in a different way than the
patch in the bug description
Michael Gernoth [Tue, 12 Feb 2008 20:22:44 +0000 (21:22 +0100)]
prevent forking a huge number of player processes by limiting them to
a maximum of 10 per second
Michael Gernoth [Tue, 12 Feb 2008 06:25:17 +0000 (07:25 +0100)]
exit child when exec fails
Michael Gernoth [Mon, 11 Feb 2008 21:45:31 +0000 (22:45 +0100)]
explicitly start sdl_helper with /bin/sh
Michael Gernoth [Mon, 11 Feb 2008 21:23:19 +0000 (22:23 +0100)]
use old forking player when SDL_mixer is not available
Michael Gernoth [Mon, 11 Feb 2008 20:56:54 +0000 (21:56 +0100)]
add ugly sdl_helper to automagically find and enable SDL_mixer
Michael Gernoth [Mon, 11 Feb 2008 20:12:35 +0000 (21:12 +0100)]
reenable ui sounds played by UIMakeSound
Michael Gernoth [Mon, 11 Feb 2008 20:07:37 +0000 (21:07 +0100)]
encapsulate sdl_mixer stuff in #ifdef WITH_SDL_MIXER
Deanna Phillips [Mon, 11 Feb 2008 13:56:15 +0000 (08:56 -0500)]
Fix SDL includes for OS X.
Append to, rather than overwrite CFLAGS. Extra include paths can be
passed through the environment.
Deanna Phillips [Mon, 11 Feb 2008 13:27:05 +0000 (08:27 -0500)]
Zap unused vars.
Deanna Phillips [Mon, 11 Feb 2008 13:07:40 +0000 (08:07 -0500)]
Linux pkg-config needs double dashes.
Deanna Phillips [Sun, 10 Feb 2008 23:32:08 +0000 (18:32 -0500)]
Add an SDL sound backend and use it instead of spawning an external
player. SDL and SDL_mixer are now required. You may get them from:
http://www.libsdl.org
http://www.libsdl.org/projects/SDL_mixer/
If you have problems building, try uncommenting the extra SDLLIBS and
SDLINCLUDES variables in src/sim/makefile.
Michael Gernoth [Mon, 4 Feb 2008 13:50:00 +0000 (14:50 +0100)]
add "uninstall" target
Michael Gernoth [Mon, 4 Feb 2008 11:22:59 +0000 (12:22 +0100)]
add .desktop-file from Ian Darwin, forwarded by Deanna Phillips
This adds integration into various desktops
Michael Gernoth [Mon, 4 Feb 2008 10:54:43 +0000 (11:54 +0100)]
DESTDIR support for Makefile
Michael Gernoth [Sun, 3 Feb 2008 23:03:39 +0000 (00:03 +0100)]
add "install" target to Makefile
Michael Gernoth [Sun, 3 Feb 2008 22:41:17 +0000 (23:41 +0100)]
remove executable bit from sounds
Michael Gernoth [Sun, 3 Feb 2008 20:59:05 +0000 (21:59 +0100)]
search sounds and player in $ResourceDir
Michael Gernoth [Sun, 3 Feb 2008 20:43:56 +0000 (21:43 +0100)]
target "all" should be phony
Michael Gernoth [Sun, 3 Feb 2008 20:41:42 +0000 (21:41 +0100)]
add simple Makefile in top directory
Michael Gernoth [Mon, 28 Jan 2008 21:07:24 +0000 (22:07 +0100)]
add .gitignore to ignore build-products
Michael Gernoth [Sun, 27 Jan 2008 20:00:55 +0000 (21:00 +0100)]
do not include unused alloca.h (from Deanna Phillips' OpenBSD repository)
Michael Gernoth [Sun, 27 Jan 2008 19:59:22 +0000 (20:59 +0100)]
include xpm.h from X11/ (from Deanna Phillips' OpenBSD repository)
Michael Gernoth [Sun, 27 Jan 2008 19:12:58 +0000 (20:12 +0100)]
Optimize redrawing so that the mouse is more responsive, from Marc Espie.
Fixes sluggish mouse behavior.
Forwarded by Deanna Phillips.
Michael Gernoth [Sun, 27 Jan 2008 15:29:14 +0000 (16:29 +0100)]
avoid black flashing on scenario description
Michael Gernoth [Sun, 27 Jan 2008 13:20:47 +0000 (14:20 +0100)]
cleanup UILoseGame
Michael Gernoth [Sun, 27 Jan 2008 13:16:57 +0000 (14:16 +0100)]
don't wreck ships when disasters are disabled
Michael Gernoth [Sun, 27 Jan 2008 00:18:33 +0000 (01:18 +0100)]
don't quit immediately when the user loses a scenario, instead present a message
Michael Gernoth [Sat, 26 Jan 2008 21:15:41 +0000 (22:15 +0100)]
show description (including time limit) when hovering over a scenario
Michael Gernoth [Sat, 26 Jan 2008 19:45:43 +0000 (20:45 +0100)]
fix fire coverage overlay by iterating over the whole map
Michael Gernoth [Sat, 26 Jan 2008 18:55:51 +0000 (19:55 +0100)]
still more NumLock fixes, this time for scrollbars and sliders
Michael Gernoth [Sat, 26 Jan 2008 16:05:14 +0000 (17:05 +0100)]
handle spaces in path-names, too
Michael Gernoth [Sat, 26 Jan 2008 13:52:58 +0000 (14:52 +0100)]
handle spaces in filenames
Michael Gernoth [Sat, 26 Jan 2008 13:13:36 +0000 (14:13 +0100)]
Add "Pause" to Priority menu
Michael Gernoth [Sat, 26 Jan 2008 10:38:33 +0000 (11:38 +0100)]
fix power grid overlay on big endian X servers
Michael Gernoth [Fri, 25 Jan 2008 23:36:58 +0000 (00:36 +0100)]
fix remaining NumLock problems by teaching tk to detect the Alt modifier
Michael Gernoth [Thu, 24 Jan 2008 17:13:09 +0000 (18:13 +0100)]
re-add (disabled) air crash disaster
edit src/sim/makefile and remove -DNO_AIRCRASH from DEFINES to enable it
Michael Gernoth [Thu, 24 Jan 2008 17:09:38 +0000 (18:09 +0100)]
draw a solid overlay, when requested
Michael Gernoth [Wed, 23 Jan 2008 21:13:24 +0000 (22:13 +0100)]
allow scenario window to be closed
Michael Gernoth [Tue, 22 Jan 2008 21:42:11 +0000 (22:42 +0100)]
make double click work on OS X
Michael Gernoth [Sun, 20 Jan 2008 13:23:23 +0000 (14:23 +0100)]
fix modifier problems (like NumLock) by ignoring hateMods
Michael Gernoth [Sun, 20 Jan 2008 00:39:51 +0000 (01:39 +0100)]
fix typo in crime alert
Michael Gernoth [Wed, 16 Jan 2008 23:43:49 +0000 (00:43 +0100)]
fix real cause of crash when falling back to wire mode
Michael Gernoth [Wed, 16 Jan 2008 22:15:09 +0000 (23:15 +0100)]
fix for crash when falling back from shared memory to wired mode.
(the big_tile_pixmap is inaccessible while it is recreated, so
do not try to access it)
Michael Gernoth [Wed, 16 Jan 2008 00:40:49 +0000 (01:40 +0100)]
fix multiplayer mode
Michael Gernoth [Tue, 15 Jan 2008 23:35:16 +0000 (00:35 +0100)]
add missing break in switch
Michael Gernoth [Tue, 15 Jan 2008 23:25:10 +0000 (00:25 +0100)]
implement shared memory for 24bpp
Michael Gernoth [Tue, 15 Jan 2008 22:19:49 +0000 (23:19 +0100)]
Fix for shared memory leak by Kurt Miller.
Thanks to Deanna Phillips for forwarding it.
Michael Gernoth [Tue, 15 Jan 2008 21:18:18 +0000 (22:18 +0100)]
shrink game window to fit on screen if necessary
Michael Gernoth [Tue, 15 Jan 2008 21:10:35 +0000 (22:10 +0100)]
more big endian fixes (overlays on minimaps)
Michael Gernoth [Tue, 15 Jan 2008 17:31:23 +0000 (18:31 +0100)]
add /usr/X11R6/lib to libpath
Michael Gernoth [Tue, 15 Jan 2008 17:26:20 +0000 (18:26 +0100)]
replace call to setpgrp with setpgid, as setpgrp is defined different on OS X Tiger
Michael Gernoth [Tue, 15 Jan 2008 17:21:11 +0000 (18:21 +0100)]
rename setenv and unsetenv to not clash with functions provided by libc
Michael Gernoth [Tue, 15 Jan 2008 13:30:34 +0000 (14:30 +0100)]
fix colors on BGR displays
Michael Gernoth [Tue, 15 Jan 2008 13:02:27 +0000 (14:02 +0100)]
fix dependencies for simulator binary
Michael Gernoth [Mon, 14 Jan 2008 22:57:53 +0000 (23:57 +0100)]
correctly differentiate between solaris and SunOS
Michael Gernoth [Mon, 14 Jan 2008 22:51:57 +0000 (23:51 +0100)]
use bash builtin to detect player
Michael Gernoth [Mon, 14 Jan 2008 22:40:07 +0000 (23:40 +0100)]
enable swapping for 8 bit on big endian machines
Michael Gernoth [Mon, 14 Jan 2008 22:37:51 +0000 (23:37 +0100)]
sh compatibility fixes
Michael Gernoth [Mon, 14 Jan 2008 22:15:02 +0000 (23:15 +0100)]
better search for matching visual
Michael Gernoth [Mon, 14 Jan 2008 22:10:44 +0000 (23:10 +0100)]
fix 15 bit mode
Michael Gernoth [Mon, 14 Jan 2008 20:43:40 +0000 (21:43 +0100)]
initialize HostName
Michael Gernoth [Mon, 14 Jan 2008 17:37:01 +0000 (18:37 +0100)]
fix height of windows in column 1
Michael Gernoth [Mon, 14 Jan 2008 14:18:53 +0000 (15:18 +0100)]
correctly resize editor window to be in sync with the mini map
Michael Gernoth [Mon, 14 Jan 2008 12:13:00 +0000 (13:13 +0100)]
resize editor when resizing window
Michael Gernoth [Mon, 14 Jan 2008 09:11:50 +0000 (10:11 +0100)]
allow window to be resized
this is not optimal, as the embedded subwindows do not resize but at least it
is usable on smaller displays
Michael Gernoth [Sun, 13 Jan 2008 23:05:37 +0000 (00:05 +0100)]
add afplay to player script
Thanks to Rafi Goldberg for telling me it is available on OS X 10.5
Michael Gernoth [Sun, 13 Jan 2008 23:01:03 +0000 (00:01 +0100)]
inform user, when no audio player is found
do not print all played files to the console
Michael Gernoth [Sun, 13 Jan 2008 19:42:15 +0000 (20:42 +0100)]
search for available audioplayer
Michael Gernoth [Sun, 13 Jan 2008 19:28:18 +0000 (20:28 +0100)]
disable image translation until a case is found where it is really needed
Michael Gernoth [Sun, 13 Jan 2008 16:49:31 +0000 (17:49 +0100)]
fix for main window not appearing on all window managers
Michael Gernoth [Sun, 13 Jan 2008 15:23:06 +0000 (16:23 +0100)]
only swap bytes in mini map when needed
Michael Gernoth [Sun, 13 Jan 2008 13:34:24 +0000 (14:34 +0100)]
ignore SIGCHLD to reap zombies
Michael Gernoth [Sun, 13 Jan 2008 12:51:38 +0000 (13:51 +0100)]
play sounds using 'play'
Michael Gernoth [Sun, 13 Jan 2008 12:04:29 +0000 (13:04 +0100)]
automatic byteorder detection
Michael Gernoth [Sun, 13 Jan 2008 11:05:53 +0000 (12:05 +0100)]
automatically detect byteorder of X server
Michael Gernoth [Sun, 13 Jan 2008 10:05:13 +0000 (11:05 +0100)]
disable shm for now
Michael Gernoth [Sun, 13 Jan 2008 02:21:25 +0000 (03:21 +0100)]
fix 24bit wire mode
Michael Gernoth [Sun, 13 Jan 2008 02:20:53 +0000 (03:20 +0100)]
add path to X11 libs
Michael Gernoth [Sun, 13 Jan 2008 02:20:04 +0000 (03:20 +0100)]
let bundled tcl compile with recent tools
Michael Gernoth [Sun, 13 Jan 2008 02:06:11 +0000 (03:06 +0100)]
Import Micropolis from http://www.donhopkins.com/home/micropolis/