Implemented support for loading textures on models and added a simple example.
[crack-attack.git] / ChangeLog
blob0438a69de4c3219694171fb10d4e3c74bf031f97
1 2006-08-12  Bjørn Lindeijer  <bjorn@lindeijer.nl>
3         * NEWS: Moved contents of ChangeLog here.
4         * src/Displayer.cxx: Removed call to glutDestroyWindow, as the window
5         is already being cleaned up automatically once the program exists.
6         * src/Makefile.am, src/gtk-gui/Makefile.am: Removed linking with the
7         Xmu library, since we don't seem to use it anywhere.
8         * src/*: Cleaned up most occurances of "using namespace std;". Also
9         made sure that each module includes its own header first, in order to
10         ensure that no header silently depends on another header to be
11         included first.
12         * src/Game.h: Removed definition of max since it conflicts with the
13         definition of std::max.
14         * src/sstream.h: Removed this file since it was only solving a
15         compatibility issue for old versions of MSVC. Modern compilers should
16         support the sstream header fine.
17         * configure.ac, enet/*: Updated enet to the 1.0 release.
18         * src/obj_sign.cxx: Still define a static MAX because ANSI C++ doesn't
19         support dynamic arrays on the stack.
20         * src/gtk-gui/modeparser.cxx: Introduced a const_cast to work around a
21         compiler warning. Is probably bad practice, should be checked.
22         * src/gtk-gui/persist.cxx: Fixed compile errors related to std
23         namespace caused by the earlier cleanup.
24         * src/stamp-h.in, src/config.h.in: Removed these dynamically generated
25         files.
26         * INSTALL: Updated.
27         * mkinstalldirs: Removed this generated file.
28         * src/Makefile.am: Removed "-lGL -lGLU -lglut" since they are
29         automatically added because they are checked in configure.ac.
30         * configure.ac, cracksplash.glade, data/Makefile.am, src/Game.h,
31         src/GarbageFlavorImage.cxx, src/Makefile.am, src/String.cxx,
32         src/TextureLoader.cxx, src/TextureLoader.h, src/obj_clock.cxx,
33         src/obj_external_candy.cxx, src/obj_garbage.cxx, src/obj_messages.cxx,
34         src/obj_sign.cxx: Images are now loaded using SDL_image, so that
35         not only uncompressed TGA is supported but many formats.
36         * COPYRIGHT: Added my email address.
37         * data/Makefile.am, data/*.tga, data/*.png,
38         windows/package_script.nsi: Converted all textures from TGA to PNG,
39         reducing the size of the game by about 3.5 MB.
40         * data/Makefile.am, data/bjorn.png, data/models/Makefile.am,
41         data/models/cube.mtl, data/models/cube.obj, src/OBJModel.cxx:
42         Implemented support for loading textures on models and added a simple
43         cube with a silly picture of me as texture (needs to be hacked in, not
44         available from the GUI).