[go: up one dir, main page]

Menu

Code Commit Log


Commit Date  
[r12635] by dan_w

Merged Klauss' commit for premult alpha blend mode (r12630) onto the reformat branch.

2010-02-19 14:33:06 Tree
[r12634] by dan_w

Hunted for unsafe macros, one folder at a time. Gone through the main /src folder, and subfolders /gfx,
/cmd/ai and /cmd/collide2. Probably about 100 macros have been wrapped in do{}while(0). A problem
with vegaserver about it not being able to load the universe seems to have been fixed.

2010-02-18 20:01:40 Tree
[r12633] by dan_w

* wrapped a few more macros in do{}while(0)'s
* removed #include "unit.cpp" from unit.h; added #include "unit.h" to unit.cpp
* made it work :) unit.cpp now compiles to its own object file, for both vegastrike and vegaserver
* had to add a few <xxx>_server.cpp files, and modify the Makefile.am lists quite a bit
* re-uncrustified all changed files

2010-02-18 07:38:09 Tree
[r12632] by dan_w

planetary_transform.h and all its tentacles exorcised.

2010-02-14 08:27:22 Tree
[r12631] by dan_w

All warnings squashed, except for those happening in boost, of course.

2010-02-14 04:38:52 Tree
[r12630] by klaussfreire

Add premultiplied alpha blending mode to techniques:
ONE INVSRCALPHA

2010-02-13 17:21:02 Tree
[r12629] by dan_w

All files in the /src/gfx folder have been scanned for multi-line macros without do{}while(0) wrappers and fixed. About 1/3 of the files have also been const-corrected (adding const to functions that don't change the class state (usually those that return a value)). Run-time problems remain, however.

2010-02-13 07:41:44 Tree
[r12628] by dan_w

Managed to massage gnuhash.h enough that it could be reformatted by uncrustify.

2010-02-12 17:47:31 Tree
[r12627] by dan_w

All sources reformatted. Well, two files would NOT be reformatted: python_class.h and gnuhash.h. They both killed uncrustify by declaring macros that open a brace, and macros that close a brace. I also skipped the Sound folder, which appeared to contain files from an external library. The engine builds, but there's a couple of runtime issues: The subliminal messages at the game boots were replaced by a white rectangle, and some planets or stars, I think stars, look like they have a box around them.

2010-02-12 07:58:38 Tree
[r12626] by dan_w

Three BAD macros are now nicely wrapped in do{...}while(0)'s in basecomputer.cpp.

2010-02-12 02:52:22 Tree
Older >