2006-08-14 Andrew Sayman <lorien420@myrealbox.com>
[crack-attack.git] / ChangeLog
blobaeaf7a2809d9f7667a39afc8767fcb84b965eacd
1 2006-08-14  Andrew Sayman <lorien420@myrealbox.com>
3         * src/gtk-gui/persist.cxx, src/Game.h, src/ComputerPlayer.cxx,
4         src/ComputerPlayerAI.cxx, src/Displayer.cxx: Previous "using namespace std;"
5         clean up missed some of the debug-only usages. The biggest violators were
6         the output macros defined in Game.h.
7         * src/ComputerPlayerAI.cxx: Removed remnants of more_gray since it's not
8         used at all anymore. Put back gray_height because it is used in debug mode.
10 2006-08-13  Bjørn Lindeijer  <bjorn@lindeijer.nl>
12         * src/String.cxx, src/obj_clock.cxx, src/obj_sign.cxx, data/*,
13         windows/package_script.nsi: Reverted three big sets of small images
14         back to TGA, since the PNG versions load unacceptably slow compared to
15         the instantly loading TGA versions.
17 2006-08-12  Andrew Sayman <lorien420@myrealbox.com>
19         * src/Game.h: Properly undefined the new model property when using 
20         BINRELOC.
22 2006-08-12  Bjørn Lindeijer  <bjorn@lindeijer.nl>
24         * NEWS: Moved contents of ChangeLog here.
25         * src/Displayer.cxx: Removed call to glutDestroyWindow, as the window
26         is already being cleaned up automatically once the program exists.
27         * src/Makefile.am, src/gtk-gui/Makefile.am: Removed linking with the
28         Xmu library, since we don't seem to use it anywhere.
29         * src/*: Cleaned up most occurances of "using namespace std;". Also
30         made sure that each module includes its own header first, in order to
31         ensure that no header silently depends on another header to be
32         included first.
33         * src/Game.h: Removed definition of max since it conflicts with the
34         definition of std::max.
35         * src/sstream.h: Removed this file since it was only solving a
36         compatibility issue for old versions of MSVC. Modern compilers should
37         support the sstream header fine.
38         * configure.ac, enet/*: Updated enet to the 1.0 release.
39         * src/obj_sign.cxx: Still define a static MAX because ANSI C++ doesn't
40         support dynamic arrays on the stack.
41         * src/gtk-gui/modeparser.cxx: Introduced a const_cast to work around a
42         compiler warning. Is probably bad practice, should be checked.
43         * src/gtk-gui/persist.cxx: Fixed compile errors related to std
44         namespace caused by the earlier cleanup.
45         * src/stamp-h.in, src/config.h.in: Removed these dynamically generated
46         files.
47         * INSTALL: Updated.
48         * mkinstalldirs: Removed this generated file.
49         * src/Makefile.am: Removed "-lGL -lGLU -lglut" since they are
50         automatically added because they are checked in configure.ac.
51         * configure.ac, cracksplash.glade, data/Makefile.am, src/Game.h,
52         src/GarbageFlavorImage.cxx, src/Makefile.am, src/String.cxx,
53         src/TextureLoader.cxx, src/TextureLoader.h, src/obj_clock.cxx,
54         src/obj_external_candy.cxx, src/obj_garbage.cxx, src/obj_messages.cxx,
55         src/obj_sign.cxx: Images are now loaded using SDL_image, so that
56         not only uncompressed TGA is supported but many formats.
57         * COPYRIGHT: Added my email address.
58         * data/Makefile.am, data/*.tga, data/*.png,
59         windows/package_script.nsi: Converted all textures from TGA to PNG,
60         reducing the size of the game by about 3.5 MB.
61         * data/Makefile.am, data/bjorn.png, data/models/Makefile.am,
62         data/models/cube.mtl, data/models/cube.obj, src/OBJModel.cxx:
63         Implemented support for loading textures on models and added a simple
64         cube with a silly picture of me as texture (needs to be hacked in, not
65         available from the GUI).