summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)AuthorFilesLines
2009-03-27Fixed some compiler warningsBjørn Lindeijer4-33/+32
Fixed a faulty == statement that should have been an assignment and a mismatched 'else' block.
2009-03-27Moved choosing of random death message to a functionBjørn Lindeijer1-1/+2
Also dynamically calculated the size of the array, so that you don't have to count the messages manually. :P
2009-03-27Changed the includes for the net/tmwserv/ directoryBjørn Lindeijer1-0/+2
2009-03-27Include statement cleanup for net/ea/ directory.Bjørn Lindeijer6-28/+26
2009-03-26Major clean up of ChatTab handlingJared Adams11-118/+69
ChatTabs now manage their own adding/removal from the chat window, which lost most of it's chat related messages. Whisper handling is stil done by the ChatWindow, but it no longer manages any other tabs. ChannelTab handling is now the sole responsability of the Channels they are attached to. The general tab is handled by Game.
2009-03-26Add WhisperTabsJared Adams5-1/+176
2009-03-27Fixed name of "UpdateSliders" and reduced redundant docsBjørn Lindeijer6-59/+25
2009-03-27Fixed include structure in resource/ directoryBjørn Lindeijer8-102/+105
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
2009-03-27Compile warning fixesBjørn Lindeijer5-24/+20
Mostly unsigned/signed mismatches and an unused variable.
2009-03-27Fix the ColorTypes MacroMajin Sniper2-8/+10
2009-03-26Add ChannelTab for chat channelsJared Adams6-26/+164
This fixes TMWServ compilation form the previous commit.
2009-03-26Move ChatWindow over to ChatTabsJared Adams5-415/+514
TMWServ compilation is likely not functional after this, I didn't check. THe next commit will address that.
2009-03-26First batch of include cleanupBjørn Lindeijer13-61/+64
Since the relative includes are getting ugly and somewhat inconvenient, we'll switch to includes relative to the project root. We've done this for a while already with tmwserv. Another rule which we've always had but was never written down, is that each source file first includes its own header. This is common practice and ensures each header compiles without needing other stuff to be included first. Somebody using Code::Blocks might want to fix the project file by adding the 'src' directory to the list of include paths.
2009-03-26Fixes to file headers and header guardsBjørn Lindeijer33-170/+168
Mostly removal of branding for tmwserv related files, as was done for the eAthena client before.
2009-03-26Remove redundancy, fix variable names and other code cleanupsBjørn Lindeijer13-126/+114
2009-03-25A host of code style fixesBjørn Lindeijer33-79/+84
Mostly putting & and * in the right place and making some getters const.
2009-03-25Fixed some headers of recently added filesBjørn Lindeijer4-14/+10
2009-03-25Don't crash cause of deleting a model twiceBjørn Lindeijer1-3/+0
This reverts commit c2e4a7a70971355f1446bb01053af8a1da8c98e1.
2009-03-25Merge branch 'eathena/master'Bjørn Lindeijer121-1675/+4522
Conflicts: A lot of files.
2009-03-23Merge branch 'aethyra/master'Bjørn Lindeijer83-880/+1974
Conflicts: Many files.
2009-03-23Move all TMWServ-specific code to net/tmwservJared Adams9-11/+13
Also fix several instances where the same net handler was being used for both servers, and a few other related oddities.
2009-03-23Make some getters constJared Adams2-3/+3
2009-03-23Merge eA's command handling into CommandHandlerJared Adams4-493/+76
Also drop Aethyra's custom magic code
2009-03-22Move handling of eA skill messages to SkillHandlerJared Adams2-150/+3
2009-03-22Fix chat under eAthenaJared Adams2-75/+69
2009-03-22Fixed some compiler warningsBjørn Lindeijer3-10/+13
Superfluous semicolons, initialization order and signed/unsigned mismatches.
2009-03-22Merged the tmwserv client with the eAthena clientBjørn Lindeijer94-534/+6131
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-19Throttle framerates down to save CPU cycles. Now that we're getting highIra Rice1-14/+18
framerates in OpenGL even on older hardware, this should be done to conserve on CPU usage, rather than stressing it with more frames than the monitor can render. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Reduced down label code.Ira Rice1-29/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Forgot to remove some now unneeded includes.Ira Rice4-4/+0
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Made the plus and minus buttons in the last commit look moreIra Rice5-10/+12
aesthetically pleasing. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Reformatted the item amount window and the buy/sell windows so thatIra Rice10-62/+156
their guis are similarly laid out. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Simplified trading dialog controls.Ira Rice3-36/+22
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-19Some minor cleanups in a few windows and build scripts, as well asIra Rice5-298/+13
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-19Make sure positionable dialogs start out centeredJared Adams23-20/+57
2009-03-19Port Progressbar to TextRendererMajin Sniper1-23/+8
2009-03-19Port Progressbar to TextRendererMajin Sniper2-14/+10
2009-03-19Fixed SDL_ttf include againBjørn Lindeijer1-1/+1
Please set up your include path if this include doesn't work for you.
2009-03-18Fix up the NPC interraction widnows a bitJared Adams12-36/+78
2009-03-18A few more fixes in the ItemAmount dialogJared Adams1-1/+5
2009-03-18Clean up TtemAmount dialog and add an All buttonJared Adams2-27/+33
2009-03-18Clean up TtemAmount dialog and add an All buttonJared Adams2-27/+33
2009-03-18Fix up the NPC interraction widnows a bitJared Adams10-12/+41
2009-03-18Windows compilation fixesPhilipp Sehmisch2-2/+2
2009-03-18Fixed a broken Mac include for SDL_ttfBjørn Lindeijer1-2/+2
Reviewed-by: trapdoor
2009-03-15Fixed BuySell dialog to remember its position. For proper configurationIra Rice1-0/+1
saving, this needed a window name set. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Overrode the reset window function in the chat window to also reset theIra Rice7-9/+27
position of the recorder, as well as fixed resetting the help window, and exposing the buy/sell window to being resettable, as well as remembering its previous position. All windows should now be covered by the reset button on the setup pane. Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fixed color previews for item types.Ira Rice1-0/+1
Signed-off-by: Ira Rice <irarice@gmail.com>
2009-03-15Fix some mem leaksJared Adams6-4/+10
2009-03-14Improved pulsating algorithm to look better for impure colors.Ira Rice1-3/+3
Signed-off-by: Ira Rice <irarice@gmail.com>