summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-14Fixed TabbedAreas stealing click focus from their children widgets.Tametomo2-0/+16
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Match alignment better in the colors tab. Now the textfields terminateTametomo1-16/+16
at the same spot the scroll area does. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Allow handling drag events in tables as well.Tametomo1-0/+9
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Fixed duplicating of up and down actions with the dropdown widget. (itTametomo1-2/+4
used to get one event from the dropdown, then another from the listbox if dropped down. Otherwise, it only got one from the dropdown) Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Reduce the number of necessary logic checks, in order to improveTametomo1-2/+2
performance in ProgressBar logic loops. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Avoid some unnecessary pointer referencing in the Palette classThorbjørn Lindeijer1-22/+21
2010-02-14Ensure that gradients update when the framerate is 200 or more.Tametomo1-1/+2
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Some slight logic cleanups in the shortcut classes, as well as someTametomo2-14/+3
style cleanups. TODO: Either abstract out all of the shared information between these two classes to a parent class, or combine the two if it can be done without doing it clumsily. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-14Don't create the viewport until it's really needed.Tametomo3-9/+10
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Make NPC dialogs instance instead of globalJared Adams25-302/+436
This change allows players to talk to multiple NPCs at a time (if the server agrees). Manaserv's netcode allows multiple commerce instances too. eAthena's is limited to one commerce instance, due to protocol limitations.
2010-02-13Changed FPS display from a text field to a labelThorbjørn Lindeijer2-60/+26
Not really useful to be able to edit it by hand.
2010-02-13Fixed the FPS checkbox, field, and slider not updating properly onTametomo1-13/+19
cancel events. Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-13Moved keyboard input polling outside of the clock time loop. This isn'tTametomo1-1/+2
necessary so long as you're at least getting 1-2 fps (which would result in a typing speed between 60-120 wpm). Even then, you've got more serious things to be thinking about at that point than if all of your input is being tracked, and having it inside the clock time loop just cuts performance for everyone else. This loop should get removed altogether, but there are a few items left in it at the moment which would need to get reworked first before it can be eliminated. In cases where you can't accurately know where something would be because it's random, we should just scale the random formulas to take a more drastic adjustment to compensate for that lag. Signed-off-by: Tametomo <irarice@gmail.com> Manual-merge-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-13Remove imprecise operator== and just compare the textThorbjørn Lindeijer1-6/+1
2010-02-13Optimise TrueTypeFont::getWidthSteve Cotton2-1/+19
Use the cache created by TTF::drawString, drops the cost of TTF::getWidth from 5% of runtime to 0.5%. It increases the cost of calculating line-wrapping in the BrowserBox, but overall it's a saving, even with the BrowserBox recalculating on every redraw.
2010-02-13Ignore versioned Qt Creator .user filesThorbjørn Lindeijer1-2/+2
Qt Creator now backs up .user files for older versions, which should also be ignored by git.
2010-02-13Allow player to talk after deathAndrei Karas5-6/+7
Mantis-issue: 938 (TMW Mantis)
2010-02-12Add outfits wear and copy keys in settingsAndrei Karas3-65/+56
2010-02-11Allow redirects when downloading updatesBen Longbons1-0/+1
Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-02-11Removed The Mana World branding from the installerThorbjørn Lindeijer2-0/+0
Mantis-issue: 1
2010-02-10Adds missile-particle attribute to items and monster attacksChuck Miller11-18/+78
To use simply add something like: missile-particle="graphics/particles/arrow.particle.xml" to the item's or monster's xml entry This will only work on equipped weapons, and on specified monster attacks. This patch also fixes a memory leak with target particles
2010-02-10Remove extra incRef callJared Adams1-2/+0
2010-02-10Improve look and utility of the SkillDialogJared Adams5-159/+288
2010-02-09Don't translate the logThorbjørn Lindeijer1-11/+11
It's not meant for the user, translating it only burdens both us and our translators unnecessarily.
2010-02-09Got rid of non-sensical Vector operator overloadsThorbjørn Lindeijer3-28/+13
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-09Got successfully rid of tile width/height fallback values as asked by Jaxad.Bertram7-42/+30
But I added some logs when speed and other actions where refused due to game/map uninitialized. This could help.
2010-02-09Pushed away some 32 hardcoded values.Bertram6-18/+51
2010-02-08Fix crash when populating parties without BeingManagerJared Adams1-3/+8
2010-02-09Separated fallback defaults for tile width and height.Bertram6-18/+24
2010-02-09Made the Beings' logic be able to handle any tile height/width.Bertram14-25/+99
This is the First step to get rid of most hardcoded 32 values.
2010-02-08Open a WhisperTab when you double-click on an Avatar in an AvatarListBoxJared Adams1-0/+12
2010-02-08Fix finding width of bold textJared Adams2-1/+3
2010-02-08Move party creation command from eA's PartyTab to CommandHandlerJared Adams4-10/+39
Also fix party invite by name when you aren't in a party.
2010-02-08Fix some bugs in party handling and add HP to AvatarListBoxJared Adams7-3/+62
2010-02-08Remove a debugging statement that got left inJared Adams1-3/+0
2010-02-08Merge PartyWindow and GuildWindow into SocialWindowJared Adams43-1389/+1552
2010-02-08Delete models explicitly rather than relying on booleansThorbjørn Lindeijer6-16/+21
It is more clear in the end. Also fixed deleting of the mode list model.
2010-02-07Cleanup some memory issuesJared Adams8-9/+31
2010-02-07Remove equip_bg.pngJared Adams1-0/+0
From what I can find, it was never used.
2010-02-07Nicer way of indicating that we're waiting on the serverThorbjørn Lindeijer17-120/+245
No longer a dialog with an annoying progress bar (due to going back and forth), but rather a progress indicator that integrates better with the background.
2010-02-07Small fix to the update-copyright script.Bertram1-1/+2
2010-02-07Updated Copyright year to 2010!Bertram456-455/+478
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-02-07Use SDL_gfx to limit the framerateThorbjørn Lindeijer2-35/+18
Makes sense if we depend on SDL_gfx anyway, and it seems to do a better job at it than the code we had.
2010-02-07Removed the no longer used progress bar and labelThorbjørn Lindeijer1-24/+3
They got replaced by the ConnectionDialog.
2010-02-07Show the "Connecting..." dialog more oftenThorbjørn Lindeijer1-0/+2
Also show it when trying to login and when getting the list of characters, both of which are situations in which we are waiting for the server to respond. I hope I got the previous state thing right.
2010-02-07Renamed TakedDamage to DamageTakenThorbjørn Lindeijer2-6/+6
Sounds a bit better.
2010-02-06Merged the Engine class into the Game classThorbjørn Lindeijer17-267/+172
There was little point in keeping the Engine class separate. It wasn't an engine at all, but only kept track of the currently active map, a job more suitable for the Game class anyway.
2010-02-05Fixed the low framerate problem by not waiting for network eventsThorbjørn Lindeijer1-6/+2
The enet service loop was waiting up to 10ms for a new network packet to come in. There is no need for this, so just remove it. Raised the framerate from about 60 to over 200 fps for me.
2010-02-05Actually change the return type of getBoolPropertyJared Adams1-1/+1
2010-02-05Fix the return type of getBoolProperty and standardize the docsJared Adams1-4/+4