summaryrefslogtreecommitdiff
path: root/src/vector.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12General code cleanupsThorbjørn Lindeijer1-20/+4
* Use default member initializers * Use range-based for loops * Avoid needless pointer references for ShopItem::mDuplicates * Removed type aliases that are only used once or twice * Removed more unused includes * Removed some unused functions * Removed superfluous .c_str() * Rely on default copy and assignment operators for Vector class * Use std::unique_ptr in some places * Removed duplicated mPlayerMoney updating in SellDialog * Removed duplicated Game::handleInput call * Removed unused SDLInput::mMouseInWindow * Removed remnant of manual widget positioning in HelpWindow * Removed superfluous initialization of static pointers
2024-01-29Apply C++11 fixitsThorbjørn Lindeijer1-1/+1
modernize-loop-convert modernize-deprecated-headers
2024-01-25Added assignment operator for VectorThorbjørn Lindeijer1-0/+8
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-22Prevented looking at item when picking up while movingErik Schilling1-0/+5
+ Fixes from Bjorns review. Reviewed-by: Bjorn.
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-9/+0
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-09Got rid of non-sensical Vector operator overloadsThorbjørn Lindeijer1-25/+8
Just because something is the kind of calculation that seems to be required does not mean it makes sense in general. Let's try to keep things understandable.
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram1-0/+26
This is the First step to get rid of most hardcoded 32 values.
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2009-10-04Fix a spelling mistakeJared Adams1-2/+2
2009-01-25Removed the TMW branding from header guardsBjørn Lindeijer1-3/+3
2009-01-23Removed unnecessary references to The Mana World in code headersBjørn Lindeijer1-4/+4
This dates back to the old days of TMW, but the usage instructions of GPLv2 don't mention this being necessary. Since it doesn't add anything, avoid the branding in these sections.
2009-01-04Merged Vector class improvements from mainlineBjørn Lindeijer1-5/+63
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
I don't know why we dealt with these things for so long. Did we ever get anything out of it?
2007-08-29Made sell dialog resizable and tweaked inventory resize code a bit.Bjørn Lindeijer1-1/+1
2007-08-28Added Vector class and used it in the particle engine.Bjørn Lindeijer1-0/+134