Age | Commit message (Collapse) | Author | Files | Lines |
|
Using unsigned rarely makes sense, especially when the server doesn't
use it either. Other uses of unsigned should be reviewed.
In all other cases, int is the fastest integer type on any architecture.
Using 8 or 16 bits can basically only be a memory optimization.
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Loosely based on TMW commit f04a8713ffc83db8b3dc4a472b28aad25a2b2bd1
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
text dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
through the list requires the use of the mouse wheel at the moment),
fixed wrapping behavior for wrapping around lists to actually wrap
around lists properly, and placed a few checks for current_npc where
they were assumed before which could cause the client to hang or crash
in case the NPC is no longer around.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
(which would happen from using the keyboard instead of the mouse).
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Make it possible to sell non-stackable items all at once by introducing
"Duplicate Items" and a Shop that can handle them. Also fix a
trivial bug to correctly preview you money while selling.
|
|
|
|
|
|
other languages as well).
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
enable/disable this effect (default is off) and another option to disable the pickup notification in the chat log (default is on).
|
|
The string utility methods are now grouped together in the stringutils.h
header. Also, a toLower method was added for convenience.
|
|
It shouldn't have been moved to where it was in the first place, as it
doesn't have any effecxt on that code, but was originally on the other
code (where it is now).
|
|
That check can probably be removed entirely, as it's inappropriate.
|
|
the recipient nickname is parsed out.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
disallowing empty whispers and whispers to yourself, since both of those
cases cause the server to report back stating that the player wasn't
found (even if they are there, like yourself).
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
line's string was empty after trimming, the client would crash when
trying to get a substring.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
By using indexed instead of alpha-layered images, the GUI opacity can
also be supported in software mode.
|
|
Comparison between signed and unsigned integer expressions.
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
bumps).
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Also a few whitespace and spelling fixes.
|
|
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
The log is mainly used to aid the developers, hence shouldn't be
translated to the user's local language. Also introduces unnecessary
work for all translators.
|
|
|
|
Mainly removed trailing whitespace. Also small fix in header of
recorder.cpp.
|
|
|
|
Sometimes it's nice for clarity, but most of the time this is just
clutter. C++ != Java. :)
|
|
useful since buddy lists are tracked through the player relation
interface instead)
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Setup_Video tab.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
all and show speech bubbles without names). Since a checkbox won't work
any more for all of these modes, it's now a slider.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
|
|
|
|
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
suggestion by Grimmjow.
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Decision is to go with exact authors when some file is basically done by
one person, and in most other cases assign TMW or Aethyra team copyright
when multiple people from those teams have been involved.
Also, the first summary line should now contain the subset of
functionality that the file is part of, not the name of the whole
project.
|
|
Removed tab characters and trailing spaces and added spaces between
"if(", "for(", "while(" and "switch(".
|
|
removed the need for sending graphics to the setSpeech function (since
it isn't needed) and started actually using the time variable which it's
passed (could be set to show the speech longer if the dialog is
longer, for example).
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
Signed-off-by: Ira Rice <irarice@gmail.com>
|
|
instances number so that it accurately reflects the number of instances,
instead of always being +1. I wasn't intending on using that variable
that way, but in case anyone does in the future, it'll at least be
accurate.
Signed-off-by: Ira Rice <irarice@gmail.com>
|