summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-09-23Fixed some glitches in Equipment and Inventory window, and made the code ↵Bertram3-2/+5
more logical... Now, the setAlpha() function is called with less changing numbers which can help increasing FPS a bit...
2009-09-23Added a basic smooth effect to rescaled wallpapers in OpenGL.Bertram2-0/+32
The current login wallpaper (as any streched ones) will look a bit less ugly...
2009-09-21Fix character creation failure message IDJared Adams1-1/+1
2009-09-21Fix an unused variableJared Adams1-2/+2
2009-09-22Added support for the go-through-walls case with mouse movement on TMWserv.Bertram2-3/+16
Also removed an (now) unuseful debug piece of information. Thanks Kage for reporting this case.
2009-09-22An attempt to fix the mouse ignoring collisions in TMWserv.Bertram1-0/+5
2009-09-22Mostly fixed the mouse movement in TMWserv client.Bertram3-16/+10
The only case left in mouse movement is that the client doesn't check for walkability of the destination point when you click on a unwalkable point. Let me explain this NASTY bug: The bug remained in the Being::SetDestination() function, when recalculating the path from tiles to pixels. The changeX and changeY variables went crazy when (endX - startX) gave a negative value. That why the given path became random, and the player went anywhere. This didn't happened to monsters, NPCs, and when walking using the keyboard because the patnodes system isn't used for movement up to 1 tile at a time. I removed some dead code (in viewpoint.cpp), made the keyboard navigation a little bit more bearable, and fixed this client bug. Now, I'll be up to finish fixing the movement system using mouse (What's remaining is a joke next to what I had to do to discover this...), and I'll look at a third time to the keyboard system which is a bit raw, just for now... Regards, P.S.: Kage, I'd like to get a three-cheese pizza!
2009-09-19Removed unexplained exceptions to undressing logic in player outfits ↵Fate1-7/+3
handling, making the system more intuitive to use
2009-09-17Partially (but mainly) resolved Mantis #753 by making monsters, NPC, and ↵Bertram12-13/+171
Floor Items visible even covered. Next Step would be to add a caching system for multi-layered sprites + copy functions for SDL and OpenGL. Then, I'll be able to finish this, by making also players visible when covered... But Kage asked me (each and every hour) to do something else first ;)
2009-09-17Optimized the Image::setAlpha() function for SDL.Bertram1-14/+25
2009-09-14Fix context menu for items in the EquipmentWindowJared Adams5-3/+19
2009-09-13Add ellipsis (...) to some options requiring further inputKess Vargavind2-4/+12
2009-09-13Fix hair browsing bug in character creationKess Vargavind1-0/+4
Selecting the previous hair style/colour got unexpected results sometimes (when the id was negative).
2009-09-06Resolved Mantis #857: Make Show Own Name consistent.Bertram1-0/+1
2009-09-03Resolved Mantis #847: Login stage Windows won't go less than the default gui ↵Bertram15-68/+154
opacity. Of course, in-game, the wanted opacity still shows up.
2009-09-02Added a minimum alpha opacity value handle in SkinLoader and made use of it.Bertram8-30/+119
Part 1 of 3 for Mantis #847 Only a few controls follow minimum opacity value at login stage. Part 2 will make all other controls do the same. Part 3 will try to set default gui opacity value as a constant.
2009-09-01Disable correction points in eA clientKess Vargavind2-7/+24
For now, until correction points are supported in eA. By the way, I notice mDec et cetera aren't private members. Not sure what you are up to.
2009-08-31Fixes NPC names on the popup menu.Freeyorp1-6/+2
Mantis-issue: 861
2009-08-31Change 'Tile' to 'Cursor' in debug windowKess Vargavind1-2/+2
This has confused many players, as we at times have believed them to be the player coordinates and not those of the cursor. (A possible extension might be to put the player coordinates as well in the debug window or elsewhere, for instance the minimap.)
2009-08-30Keeping two similar gettext strings identicalKess Vargavind1-1/+1
2009-08-30Fixed a style error.Philipp Sehmisch1-1/+1
2009-08-30Merge branch 'master' of git@gitorious.org:tmw/mainlinePhilipp Sehmisch5-8/+17
2009-08-30Particle count is again displayed properly in debug window (was cut off by ↵Philipp Sehmisch1-1/+1
layout manager)
2009-08-30Tweak to previous commitKess Vargavind1-1/+1
Now when I've wakened up I realize I could have used a more sane check.
2009-08-30Fix exit hang of eA client on AmigaOS4Kess Vargavind1-0/+3
As reported and fixed by afxgroup on the forums. Note that the tmwserv client still hangs on exit.
2009-08-24Change default for whispers in tabsJared Adams1-1/+1
It will now default to showing whispers in tabs.
2009-08-23Fix some layout issues with TabbedAreasJared Adams2-5/+12
2009-08-20Simplify applying GM statusJared Adams1-2/+1
2009-08-16More merges and conflict resolvesPhilipp Sehmisch53-997/+1329
2009-08-16fixed a compilation errorPhilipp Sehmisch1-1/+1
2009-08-16Merged changes from last month with a commit I forgot to commit before I ↵Philipp Sehmisch147-3022/+3610
went on vacation.
2009-08-15Fix changing setting for own name visibilityJared Adams1-0/+2
2009-08-15Fix some compile errorsJared Adams1-1/+1
2009-08-14Remove some uneeded codeJared Adams4-26/+0
This should've been removed earlier with the layout fixes.
2009-08-15Removed unused include.Bertram1-1/+0
2009-08-15Mantis #783: Fixed window opacity breaks in software (SDL) mode.Bertram2-39/+74
2009-08-14Add functions to more easily work with equipmentJared Adams5-20/+53
Move hair changes back over to them; related server change was reverted. Also move NPCs back over to extending Player. NPCs will have equipment in the future too, but for now, disable that part while we finish the system.
2009-08-14Fixed the compilation without OpenGL Support, and remove a too young function.Bertram2-44/+5
2009-08-13Fix compile errorsJared Adams1-8/+10
2009-08-13Clean up Being and it's derivativesJared Adams26-475/+365
Move stuff only needed for Players into Player (like slots and sprite limits). Move name handling into Being (no need for three copies of this code). Clean up terminology (including Map terminology). Remove hair-related variables.
2009-08-13Make NPC inherit from Being instead of PlayerJared Adams2-15/+2
No need for NPCs to inherit from Player. Player has functions NPC doesn't need and overrides that NPC doesn't need. This change reduces the number of functions needed to be overrided by NPC.
2009-08-14Added a Alpha Channel copier for 32 bit SDL based images.Bertram2-6/+45
This will later be used to keep the original alpha value...
2009-08-14Minor update...Bertram1-3/+0
2009-08-14Prevented another possible segfault...Bertram1-0/+3
2009-08-14Reliability fix in Image::Image(SDL_Surface*)...Bertram1-3/+2
2009-08-14Added a new function to know if an image is using an alpha channel.Bertram2-3/+49
This all will be useful for my next patch: Repair windows opacity break in SDL mode.
2009-08-14Made the mLoaded member working again.Bertram2-2/+28
2009-08-13Changed mImage member to mSDLSurface as it is SDL specific...Bertram3-35/+39
2009-08-13Cleaned up the image code a bit...Bertram2-170/+204
2009-08-13Fix initial sizing issue with TabbedAreasJared Adams2-3/+2
Also remove some commented code from ChatWindow