| 1 |
2024-05-25: Version 0.2.0 released |
| 2 |
|
| 3 |
Now based on SDL2, SDL2_image, SDL2_gfx and SDL2_mixer. |
| 4 |
Now contains the roundbeetle sound engine that used to be |
| 5 |
in the CosmoSmash game. |
| 6 |
The makefiles now use datarootdir instead of datadir. |
| 7 |
|
| 8 |
2019-11-11: Version 0.1.7 released |
| 9 |
|
| 10 |
Fixed g++ 4.7.2 and g++ 7.2.0 compilation warnings |
| 11 |
(re: narrowing conversion, dynamic exception specifications). |
| 12 |
Fixed compilation issues with clang 6.0 re: SDL_Rect. |
| 13 |
|
| 14 |
2012-07-14: Version 0.1.6 released |
| 15 |
|
| 16 |
Joystick class now supports two sticks, as well as the two |
| 17 |
trigger buttons. D-pad support dropped. |
| 18 |
Fixed bug with Joystick::getYAxisValue(). |
| 19 |
Added squaredLength() and dotProduct() to Couple and RCouple. |
| 20 |
PixmapArray constructor does not require fixed array size anymore; |
| 21 |
the internal vector now resizes as needed. |
| 22 |
Put new FSF address in GPL copyright notices. |
| 23 |
Small fixes to compile under Visual C++ on Win32. |
| 24 |
RPM spec file rewritten using Fedora template. |
| 25 |
(RPM spec file now compatible with /usr/lib64 directory.) |
| 26 |
|
| 27 |
2010-05-16: Version 0.1.5 released |
| 28 |
|
| 29 |
Added support for toggling between full screen mode and |
| 30 |
window mode. |
| 31 |
Centralized pixel, line and filled rectangle drawing |
| 32 |
functions that were previously in Cosmosmash. |
| 33 |
Added version of writeStringXCentered() that accepts |
| 34 |
a vertical position and centers the string with respect |
| 35 |
to the whole screen width. |
| 36 |
Centralized Xbox 360 USB controller code that was |
| 37 |
previously in some flatzebra-based games. |
| 38 |
Fixed compilation warnings to satisfy gcc's -Weffc++ option. |
| 39 |
|
| 40 |
2010-03-30: Version 0.1.4 released |
| 41 |
|
| 42 |
New GameEngine constructor argument: processActiveEvent. |
| 43 |
New virtual function: processActivation(). |
| 44 |
Together, they allow a game to go to pause when it loses |
| 45 |
focus or is iconified. |
| 46 |
In full screen mode, the mouse pointer is now disabled. |
| 47 |
|
| 48 |
2009-06-21: Version 0.1.3 released |
| 49 |
|
| 50 |
Fixed SDL_LIBS in configure.ac so that "-lSDL_image -lSDL_mixer" |
| 51 |
will be inserted in the dependency_libs field of the installed |
| 52 |
.la file. The flatzebra shared library will also specify |
| 53 |
SDL_image and SDL_mixer as being needed (according to ldd). |
| 54 |
|
| 55 |
Fixed compilation warnings. |
| 56 |
|
| 57 |
2009-02-26: Version 0.1.2 released |
| 58 |
|
| 59 |
Pixmap leak fixed. |
| 60 |
|
| 61 |
The font_13x7.xpm file now defines "const char **" arrays. |
| 62 |
The loadPixmap() methods now expect a "const char **" argument. |
| 63 |
|
| 64 |
Each Sprite instance has a unique ID across a single execution |
| 65 |
of the program. |
| 66 |
|
| 67 |
RCouple now has floor() and ceil() methods, and they return a |
| 68 |
result of type Couple, like round(). |
| 69 |
|
| 70 |
Better error checking in SDL initialization procedure. |
| 71 |
|
| 72 |
2004-05-02: Version 0.1.1 released |
| 73 |
|
| 74 |
New classes RCouple and RSprite that allow one to write games |
| 75 |
with coordinates in real numbers instead of integers. |
| 76 |
Some convenience functions have been added. |
| 77 |
The audio "chunk size" is now 128 bytes instead of 256, to help |
| 78 |
avoid delays before a sound effect is heard. |
| 79 |
|
| 80 |
2003-06-02: Version 0.1.0 released |
| 81 |
|
| 82 |
New name to reform the version numbers. |
| 83 |
|
| 84 |
The library is now defined in the `flatzebra' C++ namespace. |
| 85 |
|
| 86 |
There is no flatzebra.m4 anymore. Use pkg-config with |
| 87 |
'flatzebra-1.0' as the module name. |
| 88 |
|
| 89 |
Sound mixer class added. Key state class added. |
| 90 |
|
| 91 |
SDL_HWSURFACE not used anymore when setting up full screen mode: |
| 92 |
it has been reported to cause much flickering under Mac OS X, |
| 93 |
and it does not seem to be required under GNU/Linux anyway. |
| 94 |
Cleanup of makefiles. |
| 95 |
|
| 96 |
2002-04-03: gengameng 4.1 released |
| 97 |
|
| 98 |
Library now comes with a "dynamic" gengameng-config script that |
| 99 |
replaces the "static" gengamengConf.sh script. The latter takes |
| 100 |
the options --version, --cflags, --libs and --help, in a manner |
| 101 |
similar to sdl-config. |
| 102 |
|
| 103 |
There is a homegrown sdl_image.m4 in macros/ that tries to link |
| 104 |
with the SDL_image library, which is needed in addition to SDL. |
| 105 |
SDL_image is available at <http://www.libsdl.org/projects/SDL_image/>. |
| 106 |
|
| 107 |
These changes do not affect the binary interface of the library. |
| 108 |
This is why only the minor version number has increased. |
| 109 |
|
| 110 |
2001-11-25: gengameng 4.0 released |
| 111 |
|
| 112 |
Programs that use this library should use an #include directive |
| 113 |
of this form: |
| 114 |
|
| 115 |
#include <gengameng/GameEngine.h> |
| 116 |
|
| 117 |
instead of: |
| 118 |
|
| 119 |
#include <GameEngine.h> |
| 120 |
|
| 121 |
Those programs will thus better document which headers are taken |
| 122 |
for this library. |
| 123 |
|
| 124 |
2001-04-27: gengameng 3.0 released |
| 125 |
|
| 126 |
This version now uses SDL (http://www.libsdl.org/). |
| 127 |
|
| 128 |
2001-03-24: gengameng 2.1 started |
| 129 |
|
| 130 |
The statement |
| 131 |
|
| 132 |
#include "PixmapLoadError.h" |
| 133 |
|
| 134 |
was added in src/GameEngine.h to make this file compile under |
| 135 |
RedHat 7.0, which uses g++ 2.96. I use g++ 2.95.2 under |
| 136 |
RedHat 6.2. |
| 137 |
|
| 138 |
Also, gengameng 2.1 does not link with libXaw nor libXmu anymore. |
| 139 |
Preceding versions used superfluous -l directives. |
| 140 |
|
| 141 |
The library's interface does not change because of this, |
| 142 |
so only the "release" number is incremented. |
| 143 |
|
| 144 |
2001-03-13: gengameng 2.0 released |
| 145 |
|
| 146 |
Version 2.0 avoids polling the keyboard with XQueryKeymap() |
| 147 |
and expects instead to be informed of key state changes upon |
| 148 |
KeyPress and KeyRelease events. See xtmain.cc in BurgerSpace |
| 149 |
for an example of how to get those events and how to transmit |
| 150 |
the information to the game engine. |
| 151 |
|
| 152 |
This change seems to solve some of the problems of people who |
| 153 |
reported that the game did not receive any keyboard input. |
| 154 |
However, there are still reports of similar problems. |
| 155 |
|