summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-05-04Replaced emote window with a new emote popupBjørn Lindeijer15-230/+421
The popup is meant to be temporary, showing the emote instantly when you click on it. It adapts nicely to show any number of emotes. I still need to add a better way of assigning emote shortcuts, since currently you can only change which emote is assigned to which shortcut by actually using it.
2009-05-04Unduplicated code for updating XP progress barsBjørn Lindeijer1-34/+29
Noticed while working on last commit.
2009-05-04Made the experience bar have a fixed, two digit precision past theTametomo1-5/+3
decimal point, as well as simplifying the logic to calculate it. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> (adapted patch)
2009-05-04Fixed seemingly random attacks from occuring once a target is put up.Tametomo2-3/+1
This was due to an uninitialized variable. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-04Fix link colors and item links for pickup messagesJared Adams2-3/+3
2009-05-04Fix a typo in --help outputJared Adams1-1/+3
Also make the line only show if compiled for OpenGL
2009-05-04Remove a superscript 2 from a source fileJared Adams1-1/+1
2009-05-04Fix char-server default selection to be firstJared Adams2-18/+15
Also send a different version to the login-server to tell it to send the main char-server first.
2009-05-04Check to see if their is a victim before sending a arrowChuck Miller1-1/+1
2009-05-04Prevented crash when arrow particle effect does not exist or has an error.Philipp Sehmisch1-3/+6
2009-05-04Fixed crash when no weapon is equipped and fixed height of arrow targetPhilipp Sehmisch1-1/+2
2009-05-03Fixed compile warnings and other tweaksBjørn Lindeijer8-33/+35
Warnings were about initialization order and signed variables compared to unsigned variables. Please pay attention to these things. Also made some getters const and turned some std::string parameters into const std::string &.
2009-05-03NPC Integer input plus and minusBlue2-10/+26
Added plus and minus buttons on NPC Integer input. No server side modifications.
2009-05-03Merge branch 'master' of git://gitorious.org/tmw/mainlineChuck Miller2-6/+45
2009-05-03Added rotational particles, and added code to show arrows when a player ↵Chuck Miller12-4/+246
shoots them.
2009-05-03Fix some layout issues with the NPC dialogJared Adams2-6/+45
Also add a reset button for the string and integer input modes.
2009-05-03Moved strprintf into stringutils.{h,cpp}Bjørn Lindeijer46-136/+60
2009-05-03Made the new present player count translatableBjørn Lindeijer2-6/+7
2009-05-03Don't choose default character server when given a character nameBjørn Lindeijer1-2/+1
Just cause a character name was given on the command line doesn't mean we should pick any random character server. For the latter we have -D.
2009-05-03Moved mIsGM from Being to Player and made isGM() constBjørn Lindeijer6-18/+20
2009-05-03De-hardcoded the color values for the minimap, and set them to theirTametomo2-10/+25
equivalent Palette color type. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-05-02Fix up some things in the NPC dialogJared Adams4-11/+32
2009-05-02Make sure messages on most tabs are handled rightJared Adams3-4/+3
2009-05-02fixed so /where will show the correct correct coordsChuck Miller1-2/+2
2009-05-02Fixed compile error on TMWServ buildsChuck Miller1-1/+3
2009-05-02Extend the /present command.Freeyorp1-4/+6
/present will now output the number of players present in addition to the names of players that are present.
2009-05-02Fix the /where command to include coordinates.Freeyorp1-2/+3
2009-05-02Changed chat window to allow downwards arrow to create a empty lineChuck Miller2-10/+16
Minor: removed some debugging output no longer needed
2009-05-01Changed the way beings are handled when clicked on with a TMWServ buildChuck Miller1-8/+16
(mainly talking to NPCs, and attacking Monsters / Players. Though combat is still broken.)
2009-05-01mainline - NPC String inputBlue1-0/+6
Adding support for npc string input for tmwserv.
2009-05-01Forgot the new dialogJared Adams2-0/+462
2009-05-01Merge the NPC dialogs into oneJared Adams22-1049/+111
Also add support for the new TMWServ NPC packets
2009-05-01Fixed reference to selection.png not being clearedBjørn Lindeijer1-1/+1
2009-05-01Make sure mouse still moves smoothly during loginBjørn Lindeijer1-1/+6
By only limiting redraws when no SDL events were handled.
2009-04-29Some random cleanupsBjørn Lindeijer5-18/+10
2009-04-29Fix handling of party create response messagesJared Adams1-2/+3
Also tell the user that invite by name isn't available atm.
2009-04-29Fixed the name of the buy button member of BuySellDialogBjørn Lindeijer2-8/+9
Missed the m prefix.
2009-04-29Set default focuses on the BuySell dialog, the Buy dialog, and the SellTametomo4-4/+7
dialog to reduce the amount of needed tabbing by the user when using the keyboard to use these dialogs. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Fixed const-ness of TableModel related methodsBjørn Lindeijer7-51/+49
2009-04-29Allow item popups to run off of the top of the screen, as requested, asTametomo1-4/+5
well as fixing the item weight field not showing. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl> (partial cherry-pick)
2009-04-29Fixed a Table segfault which would occur by doing division by 0 whenTametomo1-1/+4
there are no rows present. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Made sure the right overloads are usedBjørn Lindeijer1-2/+3
2009-04-29Changed palette colors to be once again stored in a human readableTametomo3-4/+31
format once again. This was originally reverted because it caused a regression on Windows, but not Linux, which was later found out to be because there's a Linux kernel function which will convert hex strings into an integer format, while Windows doesn't share the same luxury. So, to avoid any issues, this commit adds an atox (ascii to hex) string utility, and uses it when parsing hex strings for colors from the configuration file. Also ensured that people who have colors saved in the old, raw integer format can get their colors converted to hex values. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-29Removed the button to toggle the Chat windowBjørn Lindeijer1-7/+1
Personally I consider this button rather useless. I think most people that often toggle the chat window will do that with the shortcut anyway.
2009-04-29Removed underscores from some non-conforming filenamesBjørn Lindeijer61-112/+116
We don't use underscores in the filenames generally, and let's be consistent on that matter.
2009-04-29Fixed openGL being disabled from time to time.Philipp Sehmisch1-2/+3
2009-04-28Remove some more support #ifdefsJared Adams1-9/+1
2009-04-28Made map non-resizable. Stopped emote spamming.David Athay2-4/+11
2009-04-27Fixed first item in inventory showing up in arrow slotBjørn Lindeijer2-4/+4
Index 0 is now a valid index, namely the first item in the inventory. I forgot to change this line to use -1.
2009-04-27Moved special coordinates packing into MessageOutBjørn Lindeijer7-85/+70
Is a better place. The reading part was already in MessageIn.