summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2024-01-25Always use C++11 and remove related compatibility option/codeThorbjørn Lindeijer1-5/+0
2024-01-25Removed X11 dependencyThorbjørn Lindeijer1-6/+0
It was only used for the clipboard, which is now interacted with through SDL 2.
2024-01-25Ported to SDL2Thorbjørn Lindeijer1-33/+20
2013-05-04Client-side settings are now available from settings.xmlPrzemysław Grzywacz1-0/+4
2013-04-27Added support for charcreation.xml settingsThorbjørn Lindeijer1-0/+2
This file was introduced by ManaPlus as a way of configuring the character creation process. It defines the number of hair styles and colors, how stat points should be divided and what the starting equipment of the player is. The minimum and maximum hair color/style IDs are not supported at the moment. This is mostly a backport of ManaPlus commits 10cf52b5 and dcc18eba, with some style changes. Mantis-issue: 501 Reviewed-by: Ablu
2013-04-27Always read the attributes.xml fileThorbjørn Lindeijer1-2/+2
This way it can also be used when connecting to a tmwAthena server for customizing the min/max of attributes and the amount of starting points. Mantis-issue: 501 Reviewed-by: Ablu
2012-08-14Can now build using cmake on OSXSocapex1-1/+10
Tested-by: Frost.
2012-08-12Removed ImageLoader and ProxyImage classesThorbjørn Lindeijer1-2/+0
They allowed using gcn::Image, which in turns allows using gcn::Icon and gcn::ImageFont, but none of this is actually used anymore. Reviewed-by: Erik Schilling
2012-06-26don't overwrite system/environment CXXFLAGShasufell1-1/+1
Reviewed-by: Ablu.
2012-05-05Removed the shared base classes of MessageIn and MessageOutThorbjørn Lindeijer1-4/+0
There wasn't a whole lot gained by sharing a common base class, and it makes extending the manaserv Message{In,Out} classes with a debugging mode unnecessarily complicated. Reviewed-by: Yohann Ferreira
2012-03-24Introduced compile-time option to disable use of C++0xThorbjørn Lindeijer1-1/+5
This is in order to still support older compilers, in particular GCC 4.2.1, so that Mana may be compiled for Maemo 5. Reviewed-by: Yohann Ferreira
2012-02-07Added cmake status messages on compile options used.Yohann Ferreira1-0/+4
Reviewed-by: Erik Schilling
2012-01-24Use SDL_RWops directly on top of PhysFSThorbjørn Lindeijer1-0/+2
This avoids the creation of a temporary buffer containing a complete file for the sole purpose of wrapping it up in an SDL_RWops. The necessary wrapper is by Ryan C. Gordon and is included in the PhysFS repository under 'extras'. Reviewed-by: Yohann Ferreira
2012-01-18ColorDB -> HairDB.Yohann Ferreira1-2/+2
This will ease the reading of the next patch about hair handling at character creation time in tAthena. As requested by bjorn. Reviewed-by: bjorn
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-22/+22
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira
2012-01-10Made addition of custom servers be done in a separate window.Yohann Ferreira1-0/+2
Now the first window the user can see is a list of servers which can double-clicked, making it all less cluttered. This commit also makes custom servers able to now have their own titles and their own description, just as the official ones. I also fixed the add entry button being registered twice to the action listener, and the fact that the description wasn't updated properly at windows loading and when adding/removing an entry. Resolves: Mana-Mantis #237. Reviewed-by: Ablu
2011-09-08Merge remote-tracking branch 'origin/0.5'Ben Longbons1-0/+1
2011-09-07Changes need to build without OpenGLBen Longbons1-0/+1
2011-06-03Replace SDL_types.h with cstdintJared Adams1-0/+1
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2011-05-24Extended Guichan with an empty spacer widgetAngelo Castellani1-0/+2
Useful for making nicer layouts Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Widened the setup window by 5pxAngelo Castellani1-2/+2
To make room for the interface tab Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-05-24Broke the setup tab "Video" in twoAngelo Castellani1-0/+2
Added an 'Interface' tab for the items that seemed to fit better there than in 'Video'. Signed-off-by: Jared Adams <jaxad0127@gmail.com>
2011-04-09Renamed Listener to EventListenerThorbjørn Lindeijer1-2/+2
Makes it clear what kind of listener it is, since there are other listener classes as well. Acked-by: Jared Adams
2011-02-15Fix compilation on Haiku and set config and data paths for it.DarkWind1-1/+1
2011-02-01Merge branch '0.5'Thorbjørn Lindeijer1-5/+16
Conflicts: po/de.po src/game.cpp src/resources/wallpaper.cpp
2011-01-28Fix Windows build of the 0.5 version.Yohann Ferreira1-2/+2
The rc and specialfolders files where included with the manaserv specific files.
2011-01-26Prune the enet and manaserv files dependency of the 0.5 binary.Yohann Ferreira1-5/+16
Only using cmake conditions and an ifdef. This will greatly help packaging the mana 0.5 version on other distros.
2010-12-30Renamed protocol.h to manaserv_protocol.h to follow server's changes.Yohann Ferreira1-1/+1
I'll sync the two files as for the new enums in a separate commit. Trivial fix. Resolves: Mana-mantis #278.
2010-12-22Merge branch '0.5'Chuck Miller1-2/+0
2010-12-22Remove ambientoverlay class and filesChuck Miller1-2/+0
It was renamed and duplicated to "ambientlayer"
2010-11-15Remove the configlistener.h from the file listChuck Miller1-1/+0
Trivial fix
2010-11-09These files needed to be added to SRCS, not SRCS_MANAChuck Miller1-2/+2
Trivial fix
2010-08-26Merged testing branch into master.Yohann Ferreira1-2/+2
2010-08-16Move more to the event systemJared Adams1-1/+0
Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram
2010-08-15Merge branch '1.0'Chuck Miller1-3/+11
Conflicts: mana.cbp mana.files src/CMakeLists.txt src/Makefile.am src/utils/xml.cpp
2010-08-15Add included enet to CMakeBernd Wachter1-3/+9
2010-08-13Simplify handling of compressed filesJared Adams1-0/+2
ResourceManager will now check for ".gz" and act appropriately (unless told not to). Compression handling functions are now in new utils/zlib files, along with a function to load a file from drive, uncompressing it if it ends in ".gz". Reviewed-by: Freeyorp
2010-08-12Simplify working with the event systemJared Adams1-2/+0
EventManager has been merged into Event, with some new convinience methods added. Reviewed-by: Chuck Miller
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-4/+4
Reviewed-by: Yohann Ferreira
2010-08-03Merge remote branch 'origin/1.0'Jared Adams1-2/+2
Conflicts: src/net/tmwa/chathandler.cpp
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-0/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-07-23Fixing compatibility with cmake 2.6.0Renato Alves1-2/+2
The syntax IF ((condition) OR (condition)) is not accepted by cmake prior to 2.6.4. The syntax IF (NOT (condition OR condition)) is also not accepted. The patch should address this without affecting newer versions. A newline character was also automatically added to the end of the file.
2010-07-17Move ManaServ defines into the netcodeChuck Miller1-0/+1
Reviewed-by: Jared Adams
2010-07-17Modify how attributes and stats are handledChuck Miller1-0/+2
Handling moved from LocalPlayer to PlayerInfo class Event system used to update windows Reviewed-by: Jared Adams
2010-07-13Add the foundation for the event systemChuck Miller1-0/+7
2010-07-10Add the specialdb.cpp and specialdb.h files to CMakeChuck Miller1-0/+2
2010-07-08Fix crash in picking up an item that no longer existsremoitnane1-0/+1
Adds ActorSpriteListener to manage ActorSprite destruction as recommended by Jaxad0127. This likewise includes the changes made by Bertram. Reviewed-by: Jaxad0127, Bertram. Resolves: Manasource Mantis #160
2010-06-10Merge BeingManager and FloorItemManager as ActorSpriteManagerJared Adams1-4/+2
No need for two different classes to manage ActorSprites. Reviewed-by: Chuck Miller
2010-05-21Merge branch '1.0'Thorbjørn Lindeijer1-0/+4
Conflicts: src/beingmanager.cpp src/beingmanager.h src/client.cpp src/localplayer.cpp
2010-05-17Remove Monster, Player, and NPC classesJared Adams1-8/+2
Instead of having these three subclasses with minor differences, this commit merges them back into Being. In the future, we can make Beings that are talkable to some, attackable by others, etc. This also puts back support for monster equipment. Also changes remaining references to Being::Type and the constants to refer to ActorSprite::Type. Reviewed-by: Freeyorp