12001-03-27 David Hedbor <david@hedbor.org> 2 3 * Version 1.3.4 released. 4 5 * hyperoid.c (main): Don't draw during pause. This caused a crash 6 in windows when iconifying from fullscreen mode. Unfortunately 7 this also means that the nice little "PAUSED" text isn't shown. 8 (RestartHyperoid): Also show version on the intro screen. 9 10 * sdlroids.6.in: Updated to include the new keybindings. 11 12 * sdl.c (init_graphics): Don't do SDL_ShowCursor(0) until the 13 video mode is selected or you'll get a crash when using DGA2 14 rendering (and possibly others). 15 (update_graphics): Improved fullscreen/window toggling. Added 16 Ctrl-g binding to grab+hide / release+show mouse pointer. Added 17 Ctrl-z key binding which iconifies and pauses the game. 18 192001-03-26 David Hedbor <david@hedbor.org> 20 21 * autogen.sh: Removed a bashism. 22 232001-03-23 David Hedbor <david@hedbor.org> 24 25 * sdl.c: Added code to do scaled blitting for the status bar when 26 it's smaller than 16 pixels. Scale blit code written by Greg 27 Velichansky <hmaon@bumba.net>. 28 292001-03-23 David Hedbor <david@hedbor.org> 30 31 * sdlroids.6.in: Updated date. 32 33 * configure.in, Makefile.am (windows): Various changes needed to 34 compile for Windows. 35 36 * icons/sdlroids.ico: Added Windows .ico file. 37 38 * sdlroids.rc.in: Windows resource file for the icon. 39 40 * autogen.sh: Change directory to srcdir before running. 41 422001-03-13 David Hedbor <david@hedbor.org> 43 44 * sdlsound.c: Always include stdlib.h for exit declaration. 45 46 * sdl.c: Include string.h for memset() declaration. 47 482000-11-27 David Hedbor <david@hedbor.org> 49 50 * Version 1.3.3 released. Adds support for joystick control. 51 52 * sdl.c (IsKeyDown): Now it doesn't crash when there are no 53 joysticks present. 54 552000-10-25 David Hedbor <david@hedbor.org> 56 57 * configure.in: Added check for setenv. 58 59 * sdl.c: Added support for joysticks. 60 61 * getargs.c (pov), getargs.h: Added new joystick related options. 62 63 * hyperoid.c (DrawPlayer): Fixed analog joystick control. 64 65 * graphics.h: Changed prototype for IsKeyDown. 66 67 * sdlroids.6.in: Added documentation about the new joystick support. 68 692000-07-16 David Hedbor <david@hedbor.org> 70 71 * Version 1.3.2 released. 72 73 * sdlroids.6.in: Changed date to Jul 17th. 74 75 * Makefile.am (SDLRoids.txt): Added target to build text version 76 of the manual. 77 78 * hyperoid.c (RestartHyperoid): Fixed bug which reset shield and 79 num bombs after an astroid crash. 80 81 * rand.c, rand.h: Better rand functions. 82 832000-07-15 David Hedbor <david@hedbor.org> 84 85 * roidsupp.c (datafilename): Removed forgotten debug. 86 87 * sdlroids.6.in: Document SRDATADIR environment variable. 88 89 * roidsupp.c (datafilename): Concatenates two strings and does 90 filename environment magic. 91 92 * sdlsound.c, hyperoid.c, sdl.c: Now tries a number of things to 93 find the data files including the current directory, the directory 94 of the binary and the directory pointed to by the environment 95 variable SRDATADIR. Thanks to David Powell <avid@mad.scientist.com> 96 for the suggestions. This is _mainly_ for the BeOS support, but 97 not only. 98 99 * sdlsound.h: Renamed from sound.h 100 101 * hyperoid.c, sdl.c: Removed double buffering code since it was 102 way to slow. Optimized updating significantly (seems like about 2x 103 the speed) by updating all rectangles by themselves instead of 104 individually. Also fixed locking of the surface so the fullscreen 105 mode works correctly in BeOS (bad me!). 106 1072000-07-14 David Hedbor <david@hedbor.org> 108 109 * Makefile.am (beos): Added a BeOS target that sets resources 110 (icon etc) for the binary and also set files' mime-types. 111 1122000-07-11 David Hedbor <david@hedbor.org> 113 114 * sdl.c: Use a static table for coordinate conversion. Seems 115 slightly (marginally might be a better word) faster. 116 1172000-07-10 David Hedbor <david@hedbor.org> 118 119 * petopt.c, configure.in: Check for syslog. Another BeOS fix. 120 121 * hyperoid.c (do_sleep): New function for sleeping the SDL 122 way. SDLRoids now compile and run on BeOS. 123 124 * sdlsound.c (play_audio): Fixed typo when not using SDL_mixer, 125 and also fixed a type error. 126 127 * Version 1.3.1 released. 128 129 * sdlroids.6.in: Improved documentation and increased date. 130 1312000-07-09 David Hedbor <david@hedbor.org> 132 133 * sdl.c (score_graphics): Fixed some bugs in the drawing of the 134 score. I also move the display of the score if the window is 135 resized, which makes it look nicer. Also use scaling if the score 136 would be too small to fit in the window. It uses SDL_SoftStretch, 137 which isn't perfect but at least works ok. 138 139 * hyperoid.c: Shields now work differently. Now you have a certain 140 amount of "shields" which gets drained as you use them, ie when 141 you have the shield button pressed. I believe this is nicer since 142 it gives the player more control. 143 144 * misc.h, hyperoid.c: Added a struct of the player which contains 145 information like lives etc. Makes for a cleaner "global" 146 namespace, which I like. 147 148 * sdl.c (drawcircle): Function to draw a circle. Slightly modified 149 version of the SGE library function. 150 151 * hyperoid.c (DrawShield): Shield is now drawn as a circle around 152 the ship instead of the previous ugly thing. Looks a lot 153 better. :) 154 155 * sdl.c (bmp2surface): Convert loaded image surfaces to the 156 current visual. 157 158 * hyperoid.c, sdl.c, sdlsound.c: Free loaded / allocated data at 159 exit. Not really necessary but nice programming standards. Also 160 renamed init/exit functions to a more uniform version. 161 162 * configure.in (VERSION): Added microversion and made the CVS 163 version 1.3.1 instead of 1.4. 164 165 * sdl.c (graphics_init, load_images): Now setting the window title 166 and icon caption, as well as the icon bitmap. 167 1682000-07-08 David Hedbor <david@hedbor.org> 169 170 * Version 1.3 released. 171 172 * sdlroids.6.in: Added documentation for all new options. 173 174 * sdl.c (graphics_init): Use the specified geometry if available. 175 176 * getargs.c (parse_option): Added version printing and extended 177 the help printed with --help. Also added geometry option. 178 179 * hyperoid.c (main): Do command line parsing and added a benchmark 180 mode that runs X frames without delay and quits, printing the FPS. 181 182 * getargs.c, getargs.h: Implemented parsing of command line 183 arguments using petopt. 184 185 * petopt.c, petopt.h, README.petopt, Makefile.am: Added petopt 186 files. Petopt is a small, open source argument parser. 187 188 * hyperoid.c (FireShot): Added dual and tripple gun upgrades as 189 well as upgrades that increased the range of the guns. 190 191 * sdl.c (score_graphics): Only redraw score if something has changed. 192 193 * hyperoid.c (DeleteBadguys): Deletes badguys from a list without 194 exploding them. Used when restarting. 195 196 * hyperoid.c (NewGame): Fixed bugs with starting a new game after 197 the player died. 198 1992000-07-07 David Hedbor <david@hedbor.org> 200 201 * sdl.c (sdl_drawpixel): Use a faster method in pixeldrawing, 202 which basically doubles the speed. There's one function per bit 203 depth - which one to use is cached. Also the r,g,b->Uint32 part is 204 cached. 205 206 * sounds: Lowered volume on some sounds and replaced player shot 207 sound. 208 209 * hyperoid.c: When the game is restarted due to death, the 210 playfield is reset first (NewGame). Also lowered the restart delay 211 some. 212 213 * sdl.c (graphics_update): Play thrust sample in looping mode. 214 215 * sdlsound.c (loopsam): Play/Stop playing looped sample. 216 217 * hyperoid.c (HitPlayer): Changed so astroids, enemy ships etc 218 explode if you hit them while the shield is on. 219 220 * sdl.c (_sdl_drawpixel): New version of the function. Fixed bug 221 where it would write outside the buffer causing a segfault 222 2232000-07-06 David Hedbor <david@hedbor.org> 224 225 * Should have done this earlier, but here goes. This is now the 226 SDL port tree. Improvements (other than the porting itself): 227 228 Added Pause functionality, fixed centering of play area and 229 drawing of boundary box around it, objects now wraps more nicely 230 (before they kinda "popped" from one side to another), fixed 231 flickering problem, added (ugly-looking) shield graphics instead 232 of changing the color of the ship, added configure / automake, 233 reindented the source. 234 2352000-05-14 Russell Marks <russell.marks@ntlworld.com> 236 237 * Version 1.2. (Starting here to carry on from Hyperoid's version 238 number.) 239 240 * Given up on finding the original author :-/ (since I'm merely 241 prefixing the original name with `x' I felt I should really ask 242 permission, as it were), and decided to just release it anyway. 243 244 * gtk.c: fixed strange X errors on exit (it seems a gdk_flush() 245 was needed in gc_init(), though I don't quite see why :-/). Also 246 now works in mono, though not especially well. 247 2482000-04-12 Russell Marks <russell.marks@dtn.ntl.com> 249 250 * xhyperoid.6: created. 251 252 * README: created. 253 254 * Makefile: finished off and cleaned up a bit. 255 2562000-03-26 Russell Marks <russell.marks@dtn.ntl.com> 257 258 * Tweaked level.xpm and score.xpm to be more readable (well, 259 slightly less *un*readable, anyway :-)). 260 261 * gtk.c: finally got the X version sorted out. The big speed 262 problem was with doing so many colour switches with a single GC; 263 using multiple `single-colour' GCs avoided the need for that. 264 2652000-03-24 Russell Marks <russell.marks@dtn.ntl.com> 266 267 * gtk.c: first hack at an X version. Slow and jerky. :-( 268 2692000-03-23 Russell Marks <russell.marks@dtn.ntl.com> 270 271 * Sorted out sounds. They now seem at least reasonably 272 appropriate. 273 2742000-03-22 Russell Marks <russell.marks@dtn.ntl.com> 275 276 * More concerted attempt at removing the most severe macro abuse. 277 Also mass conversion of "//" comments. 278 2792000-03-21 Russell Marks <russell.marks@dtn.ntl.com> 280 281 * hyperoid.c: fixed segfault (from original code) where NULL 282 pointer was occasionally dereferenced when breaking up an 283 asteroid. 284 285 * Got score and other status indication working. 286 2872000-03-18 Russell Marks <russell.marks@dtn.ntl.com> 288 289 * hyperoid.c: added sound support (lifted from zblast). Only the 290 code is there at the moment; tested with zblast sounds, but need 291 to put together some appropriate for this. 292 293 * hyperoid.c: got a crude svgalib port mostly working - there's an 294 intermittent segfault problem, but I suspect that was in the 295 original code (not that that helps :-)), and I haven't implemented 296 the score etc. display yet. 297 2982000-03-17 Russell Marks <russell.marks@dtn.ntl.com> 299 300 * Started port. The first step is to try and remove the more 301 obvious Windows dain bramage and unsightly Pascal/Modula-2-isms. I 302 may be some time. ;-) 303