summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2009-04-16Make sure math functions are still inlinedBjørn Lindeijer1-1/+0
A function call could be quite a large overhead on top of a fast square root function.
2009-04-14Start a MathUtils fileJared Adams1-1/+2
It has fast(inv)sqrt and weightedAverage. Also cleanup the last ocmmit a bit.
2009-04-11Remove more support #ifdefsJared Adams1-2/+2
2009-04-10Reduced the GCContainer to be even more trivialBjørn Lindeijer1-2/+2
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
2009-04-10Introduced a Desktop widget to handle the wallpaperBjørn Lindeijer1-2/+4
Cleans up main.cpp a little.
2009-04-08Add a more flexible wallpaper systemJared Adams1-0/+2
2009-04-08Moved wrong file in CMakeLists.txtJared Adams1-2/+2
2009-04-08Make some more file build for both serversJared Adams1-4/+4
Also some cleanup in main.cpp
2009-04-08Move ChatInput into the files for ChatWindowJared Adams1-2/+0
2009-04-08Disable po-update for cmake; move buildflags to prevent overwritingBernd Wachter1-2/+3
2009-04-08CMake: We actually no longer depend on Guichan OpenGLBjørn Lindeijer1-3/+0
2009-04-08Associated setup tab name with the tab itselfBjørn Lindeijer1-0/+1
Keeps things together in the right place and allowed writing a bit more generic code in the Setup class.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-39/+39
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.
2009-04-07Make GeneralHandlers for both networksJared Adams1-0/+7
Also make Net::LogoutHandler
2009-04-06Implement TMWServ's CharHandlerJared Adams1-0/+2
Also cleanup character creation, which isn't functional at the moment.
2009-04-06Fixed compile warning about initialization orderBjørn Lindeijer1-2/+2
Also made CMakeLists.txt consistent with Makefile.am regarding the BuySellDialog.
2009-04-06Add TMWServ's SkillHandlerJared Adams1-0/+2
Also namespace both Player- and TradeHandlers
2009-04-06Updated cmake file listBjørn Lindeijer1-0/+4
2009-04-06Fixed DATADIR and LOCALEDIR variables for CMake-build; fixed game data ↵Bernd Wachter1-1/+2
installation
2009-04-04Fixed CMake build files; both tmwserv and eathena clients will get built, ↵Bernd Wachter1-112/+180
the eathena-binary gets named tmw-ea Fixed gitignore for CMake files
2009-03-27Removed the unused BuddyList classBjørn Lindeijer1-2/+0
This class would store the buddy list in a file on the client, which is really not that useful. It was removed before in d268447e18c6e3edd80658f8f8d4317740c33af9, but apprently had come back with the merge with mainline.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer1-5/+16
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer1-3/+8
Conflicts: Many files.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer1-9/+85
This merge involved major changes on both sides, and as such took several weeks. Lots of things are expected to be broken now, however, we now have a single code base to improve and extend, which can be compiled to support either eAthena or tmwserv. In the coming months, the plan is to work towards a client that supports both eAthena and tmwserv, without needing to be recompiled. Conflicts: Everywhere!
2009-03-19Some minor cleanups in a few windows and build scripts, as well asIra Rice1-5/+3
fixing tables to correct the highlights to draw where they're supposed to, as well as at the opacity they're supposed to. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-17Add the TextPreview widget to CBP and CMakeJared Adams1-0/+2
2009-03-17Finish renaming gui/color.* to gui/palette.*Jared Adams1-2/+2
2009-03-14Made a label class derived from the guichan label class which utilizesIra Rice1-0/+2
the palette colors. While technically, this can be accomplished through other means, it's rather clumsy overall, and is prone to introducing in programmer errors. This commit finally catches every case where text is used, and applies the text color from the color dialog to each of them appropriately. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-12Extend color config gui to support the new colorsMajin Sniper1-0/+2
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
2009-03-12Extending the internal handling of colorssniper1-2/+3
The internal storage for colors was in the file color.h/color.cpp. It mainly managed the colors in the chat. The Color class was extended to be more generic now and it stores gcn::Color objects instead of integers now. A lot of new colortypes are now available, though not many of them are used for now, that will come in the next patches. The Color class was renamed to Palette and color.{h,cpp} to palette.{h,cpp} to better describe its purpose. The color config gui now lists the new colors, even changes them, but the result is not displayed properly for now.
2009-03-11Added a new Popup class, which overall is functionally similar to theIra Rice1-0/+2
Window class, but stripped down to the bare essential functionality to just draw and position them. This means no resizing, no close buttons, no ability to move them, etc. This should help reduce the overhead in drawing speech bubbles, as well as other popup type dialogs, but is also not a drop in replacement for the Window class as well. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-11Moved the Skin class outside of the Window class, in order to allowIra Rice1-0/+2
other widget containers to use skins as well, and to make it easier to extend later. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-09Add an interface for eAthena's storage systemJared Adams1-0/+2
2009-03-08Add an interface for eAthena's storage systemJared Adams1-0/+2
2009-03-08Add units files to CMake listJared Adams1-0/+2
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-2/+2
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-18Introduced a toLower method and grouped string utilsBjørn Lindeijer1-2/+2
The string utility methods are now grouped together in the stringutils.h header. Also, a toLower method was added for convenience.
2009-02-15Merge commit 'aethyra/master'Bjørn Lindeijer1-2/+0
Conflicts: CMakeLists.txt configure.ac data/help/header.txt packaging/windows/setup.nsi po/POTFILES.in src/being.cpp src/being.h src/game.cpp src/gui/color.cpp src/gui/color.h src/gui/equipmentwindow.h src/gui/popupmenu.cpp src/gui/recorder.cpp src/gui/setup_colors.h src/gui/setup_keyboard.cpp src/gui/setup_keyboard.h src/gui/skill.cpp src/gui/speechbubble.cpp src/gui/speechbubble.h src/gui/table.cpp src/keyboardconfig.cpp src/keyboardconfig.h src/localplayer.cpp src/main.cpp src/main.h src/map.cpp src/resources/colordb.cpp src/resources/colordb.h src/resources/emotedb.cpp src/resources/emotedb.h src/text.cpp src/text.h src/tmw.rc src/winver.h
2009-02-11Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-10Fixed header files, as well as removed the unused buddy list class (notIra Rice1-2/+0
useful since buddy lists are tracked through the player relation interface instead) Signed-off-by: Ira Rice <irarice@gmail.com>
2009-02-10Changed spelling from colour to color.Philipp Sehmisch1-4/+4
2009-02-09Merged with Aethyra master as of 2009-02-09Bjørn Lindeijer1-8/+33
Conflicts: A lot of files...
2009-02-09Merged with Aethyra master as of 2009-01-27Bjørn Lindeijer1-0/+17
Conflicts: Almost everywhere.
2009-02-04Went through the gui folder and revised the include statements to notIra Rice1-1/+0
include anything not needed by that specific widget or window. This appears to have cleaned up system performance a bit on my current setup, where it went from idling on 45% in game with opengl down to 30% now. Also moved iptostring to the tostring header, as importing all of network.h is a little overkill to use that function, and it goes along with the basic functions that are in that header file anyways. TODO: find out a way to get rid of warnings when a class doesn't use this function. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-28Added missing files to CMakeLists.Ira Rice1-7/+33
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-20Added WoW style item adding to chat window. Right click, then leftDavid Athay1-0/+2
clicking on add to chat to put the item in the chat input. Left click the item link to show a popup description, and click the link again to remove the popup.
2009-01-19Fixes to the NPC Integer input fieldIra Rice1-2/+2
Also don't set "The Mana World" to start with. Signed-off-by: Ira Rice <irarice@gmail.com> (cherry picked from Aethyra commit d2b804c1a817ccdd85b4b1220bf929e9d370d774) Conflicts: src/game.cpp src/gui/inttextfield.cpp src/gui/item_amount.cpp src/gui/textfield.h
2009-01-18Fixed the NPC Integer input field, as well as cut some bull from theIra Rice1-2/+2
NPC String class. The Integer input field was rather horribly broken to the point where it could send invalid data, the increment and decrement buttons didn't work, and overall it was tripping over itself. As for the NPC String, "The Mana World" as a string is not needed to set the field to that length, but instead fills the text field with that text for starting. This is completely inappropriate for a text entry field, and a more sensible default would be to leave it empty, so that people can type in what they want without having to delete it. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-01-18Fixed layout of video setup page when translatedBjørn Lindeijer1-0/+2
Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets.
2009-01-18Fixed layout of video setup page when translatedBjørn Lindeijer1-0/+2
Introduced a LayoutHelper class which can be used for any non-Window container where you want to use a layout to place child widgets.