Module CS/plugins/video/canvas/sdl/util/

back to main page

Summary Period: 2000-08-29 to 2002-01-18

Modules

[root]/CS/plugins/video/canvas/sdl/util

Lines Of Code


Total Lines Of Code: 3608 (2003-07-11 20:29)

Authors

Author Changes Lines of code Lines per change
jorrit 5 (100.0%) 3632 (100.0%) 726.4

Most Recent Commits

jorrit 2002-01-18 11:47

Slight code cleanup: removed all trailing spaces and tabs from
all lines in all source and make files throughout the entire project.
Note that this will most likely not result in a significant
FPS increase :-)

24 lines of code changed in:

jorrit 2000-08-29 12:06

- Integrated a new SDL canvas made by George Yohng
<cspace@mmts.nsys.by>.
- Fixed default HALO parsing. If a NOVA halo was used in a level
all following halo's would be NOVA too.
- Fixed a bug in csSector::RemoveThing. This function didn't
delete the thing in the past but it did now. I changed it back
to the old behaviour. This fixes Blocks again.
- Added two new vectors 'things' and 'skies' to csWorld. The plan
is to make things and skies have almost exactly the same API with
regards to movement and placement in sectors. The move to csMovable
is one step. But this list is another one.
- Removed csSector::RemoveThing/RemoveSky since that happens the
same way as with sprites now. Added csThing::RemoveFromSectors()
and csThing::MoveToSector().
- Added csMovable and iMovable::UpdateMove(). Made RemoveFromSectors(),
MoveToSector(), and UpdateMove in csThing and csSprite private
since this will now be called by the csMovable. This means
that when you did:
sprite->UpdateMove ()
you have to change this to:
sprite->GetMovable ().UpdateMove ();
Also instead of calling RemoveFromSectors() you now need to
call GetMovable ().ClearSectors() and instead of calling
MoveToSector() you need to call GetMovable ().SetSector().
And don't forget the UpdateMove()!
- The change above allow application developers to make movement
routines based only on a csMovable without having to care about
what object is being moved (csThing or csSprite).
- Made MoveToSector, UpdateMove, and RemoveFromSectors in
csSprite and csThing virtual so that subclasses can override
them. This happens for csParticle for example. It overrides
MoveToSector for its specific purposes.
- Added is_sky parameter to the csThing constructor so that a
thing knows it is a sky object or a normal thing.
- Fixed all the apps with regards to the above changes.
- Update the apidoc17.txi documentation with regards to the above
changes.
- Update simple.txi and simple2.txi tutorials.

3608 lines of code changed in:


Generated by StatCvs v0.2-dev