Skip to content

Commit

Permalink
Merged 0.0 changes from revision 3035 to 3065 to trunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn committed Jan 23, 2007
1 parent d139584 commit 05bdb92
Show file tree
Hide file tree
Showing 14 changed files with 65 additions and 49 deletions.
36 changes: 34 additions & 2 deletions ChangeLog
@@ -1,4 +1,34 @@
2007-01-14 Bjørn Lindeijer <bjorn@lindeijer.nl> 2007-01-23 Bjørn Lindeijer <bjorn@lindeijer.nl>

* src/gui/shoplistbox.cpp, docs/INSTALL/win32.txt, INSTALL, NEWS:
Upgraded to Guichan 0.6.1.

2007-01-22 Bjørn Lindeijer <bjorn@lindeijer.nl>

* src/gui/updatewindow.cpp: Identify ourselves when requesting files
from the update server.

2007-01-17 Eugenio Favalli <elvenprogrammer@gmail.com>

* docs/win32-release.txt, src/gui/register.cpp, src/main.cpp: Changed
default server.

2007-01-15 Bjørn Lindeijer <bjorn@lindeijer.nl>

* src/gui/viewport.cpp, src/gui/viewport.h: Fixed issue where the
player stops walking.
* docs/INSTALL/win32.txt, INSTALL: Updated to mention Guichan 0.6.0.

2007-01-15 Eugenio Favalli <elvenprogrammer@gmail.com>

* data/help/header.txt, NEWS, README: Updated release date.

2007-01-14 Eugenio Favalli <elvenprogrammer@gmail.com>

* src/gui/updatewindow.cpp, src/main.cpp, tmw.cbp: Fixed windows
headers issues.

2007-01-14 Bjørn Lindeijer <bjorn@lindeijer.nl>


* src/game.cpp, src/main.cpp, src/gui/trade.cpp, src/gui/sell.cpp, * src/game.cpp, src/main.cpp, src/gui/trade.cpp, src/gui/sell.cpp,
src/gui/connection.cpp, src/gui/buddywindow.cpp, src/gui/browserbox.h, src/gui/connection.cpp, src/gui/buddywindow.cpp, src/gui/browserbox.h,
Expand Down Expand Up @@ -30,14 +60,16 @@
src/gui/chatinput.cpp, src/net/tradehandler.cpp, src/gui/chatinput.cpp, src/net/tradehandler.cpp,
src/net/playerhandler.cpp: Upgraded to Guichan 0.6.0 (merge from src/net/playerhandler.cpp: Upgraded to Guichan 0.6.0 (merge from
guichan-0.6.0 branch). guichan-0.6.0 branch).
* src/winver.h, configure.ac, data/help/header.txt, NEWS, README,
CMakeLists.txt: Updated version to 0.0.22.1.


2007-01-13 Bjørn Lindeijer <bjorn@lindeijer.nl> 2007-01-13 Bjørn Lindeijer <bjorn@lindeijer.nl>


* data/graphics/sprites/Makefile.am, * data/graphics/sprites/Makefile.am,
data/graphics/sprites/CMakeLists.txt: Updated with regard to renaming data/graphics/sprites/CMakeLists.txt: Updated with regard to renaming
of cotton equipment. of cotton equipment.


2006-01-13 Eugenio Favalli <elvenprogrammer@gmail.com> 2007-01-13 Eugenio Favalli <elvenprogrammer@gmail.com>


* src/gui/debugwindow.cpp, src/gui/viewport.h: Fixed mouse coordinates * src/gui/debugwindow.cpp, src/gui/viewport.h: Fixed mouse coordinates
display in debug window. display in debug window.
Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Expand Up @@ -20,7 +20,7 @@ and some libraries. The required libraries are:
* SDL_mixer http://www.libsdl.org/projects/SDL_mixer/ * SDL_mixer http://www.libsdl.org/projects/SDL_mixer/
* SDL_image http://www.libsdl.org/projects/SDL_image/ * SDL_image http://www.libsdl.org/projects/SDL_image/
* SDL_net http://www.libsdl.org/projects/SDL_net/ * SDL_net http://www.libsdl.org/projects/SDL_net/
* Guichan 0.5.0 http://guichan.sourceforge.net/ * Guichan 0.6.1 http://guichan.sourceforge.net/
* libxml2 http://www.xmlsoft.org/ * libxml2 http://www.xmlsoft.org/
* physfs 1.0.x http://icculus.org/physfs/ * physfs 1.0.x http://icculus.org/physfs/
* zlib 1.2.x http://www.gzip.org/zlib/ * zlib 1.2.x http://www.gzip.org/zlib/
Expand Down
8 changes: 8 additions & 0 deletions NEWS
@@ -1,3 +1,11 @@
0.0.22.2 (...)
- Updated to work with Guichan 0.6.1 (older versions no longer supported)

0.0.22.1 (15 January 2007)
- Updated to work with Guichan 0.6.0 (older versions no longer supported)
- Fixed mouse coordinates in debug window
- Fixed clicking on GUI to cause the player to start walking sometimes

0.0.22 (24 December 2006) 0.0.22 (24 December 2006)
- Added support for female-specific equipment graphics - Added support for female-specific equipment graphics
- Added support for monster sounds - Added support for monster sounds
Expand Down
2 changes: 1 addition & 1 deletion README
@@ -1,7 +1,7 @@
THE MANA WORLD THE MANA WORLD
============== ==============


Version: 0.0.22 Date: 24/12/2006 Version: 0.0.22.1 Date: 15/01/2007




Development team: Development team:
Expand Down
2 changes: 1 addition & 1 deletion data/help/header.txt
Expand Up @@ -2,7 +2,7 @@
##1 T H E M A N A W O R L D ##1 T H E M A N A W O R L D
##1 ========================================== ##1 ==========================================


##2Version:##6 0.0.22 ##2Date:##324 December 2006 ##2Version:##6 0.0.22.1 ##2Date:##315 January 2007


##2 Website: http://themanaworld.org ##2 Website: http://themanaworld.org


Expand Down
2 changes: 1 addition & 1 deletion docs/INSTALL/win32.txt
Expand Up @@ -28,7 +28,7 @@ Besides a C++ compiler, TMW depends on the following libraries:
1) SDL 1) SDL
2) SDL_mixer 2) SDL_mixer
3) SDL_image 3) SDL_image
4) Guichan 0.4.0 4) Guichan 0.6.1
5) libiconv 5) libiconv
5) libxml2 5) libxml2
6) PhysFS 6) PhysFS
Expand Down
2 changes: 1 addition & 1 deletion docs/win32-release.txt
Expand Up @@ -19,7 +19,7 @@ Every Win32 releaser should follow this checklist when creating a new package.
<configuration> <configuration>
<option name="chatlog" value="chatlog.txt"/> <option name="chatlog" value="chatlog.txt"/>
<option name="guialpha" value="0.8"/> <option name="guialpha" value="0.8"/>
<option name="host" value="animesites.de"/> <option name="host" value="server.themanaworld.org"/>
<option name="hwaccel" value="0"/> <option name="hwaccel" value="0"/>
<option name="port" value="6901"/> <option name="port" value="6901"/>
<option name="remember" value="0"/> <option name="remember" value="0"/>
Expand Down
3 changes: 2 additions & 1 deletion src/gui/menuwindow.cpp
Expand Up @@ -58,7 +58,8 @@ MenuWindow::MenuWindow():
}; };
int x = 0, y = 3, h = 0; int x = 0, y = 3, h = 0;


for (const char **curBtn = buttonNames; *curBtn; curBtn++) { for (const char **curBtn = buttonNames; *curBtn; curBtn++)
{
gcn::Button *btn = new Button(*curBtn, *curBtn, &listener); gcn::Button *btn = new Button(*curBtn, *curBtn, &listener);
btn->setPosition(x, y); btn->setPosition(x, y);
add(btn); add(btn);
Expand Down
2 changes: 1 addition & 1 deletion src/gui/shoplistbox.cpp
Expand Up @@ -112,7 +112,7 @@ void ShopListBox::setSelected(int selected)
mSelected = std::min(mListModel->getNumberOfElements() - 1, mSelected = std::min(mListModel->getNumberOfElements() - 1,
std::max(-1, selected)); std::max(-1, selected));


gcn::BasicContainer *parent = getParent(); gcn::Widget *parent = getParent();
if (parent) if (parent)
{ {
gcn::Rectangle scroll; gcn::Rectangle scroll;
Expand Down
16 changes: 11 additions & 5 deletions src/gui/updatewindow.cpp
Expand Up @@ -28,15 +28,16 @@
#include <SDL_thread.h> #include <SDL_thread.h>
#include <zlib.h> #include <zlib.h>


#include <curl/curl.h>

#include <guichan/widgets/label.hpp> #include <guichan/widgets/label.hpp>


#include "browserbox.h" #include "browserbox.h"
#include "button.h" #include "button.h"
#include "progressbar.h" #include "progressbar.h"
#include "scrollarea.h" #include "scrollarea.h"


// Curl should be included after Guichan to avoid Windows redefinitions
#include <curl/curl.h>

#include "../configuration.h" #include "../configuration.h"
#include "../log.h" #include "../log.h"
#include "../main.h" #include "../main.h"
Expand Down Expand Up @@ -137,7 +138,7 @@ void UpdaterWindow::action(const gcn::ActionEvent &event)
if (event.getId() == "cancel") if (event.getId() == "cancel")
{ {
// Register the user cancel // Register the user cancel
mUserCancel=true; mUserCancel = true;
// Skip the updating process // Skip the updating process
if (mDownloadStatus == UPDATE_COMPLETE) if (mDownloadStatus == UPDATE_COMPLETE)
{ {
Expand Down Expand Up @@ -262,6 +263,11 @@ int UpdaterWindow::downloadThread(void *ptr)
curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile); curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile);
} }


#ifdef PACKAGE_VERSION
curl_easy_setopt(curl, CURLOPT_USERAGENT, "TMW/" PACKAGE_VERSION);
#else
curl_easy_setopt(curl, CURLOPT_USERAGENT, "TMW");
#endif
curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, uw->mCurlError); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, uw->mCurlError);
curl_easy_setopt(curl, CURLOPT_URL, url.c_str()); curl_easy_setopt(curl, CURLOPT_URL, url.c_str());
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0);
Expand Down Expand Up @@ -365,13 +371,13 @@ void UpdaterWindow::logic()
case UPDATE_ERROR: case UPDATE_ERROR:
if (mThread) if (mThread)
{ {
if(mUserCancel){ if (mUserCancel) {
// Kill the thread, because user has canceled // Kill the thread, because user has canceled
SDL_KillThread(mThread); SDL_KillThread(mThread);
// Set the flag to false again // Set the flag to false again
mUserCancel = false; mUserCancel = false;
} }
else{ else {
SDL_WaitThread(mThread, NULL); SDL_WaitThread(mThread, NULL);
} }
mThread = NULL; mThread = NULL;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/viewport.cpp
Expand Up @@ -324,7 +324,7 @@ Viewport::mousePressed(gcn::MouseEvent &event)
} }


void void
Viewport::mouseMoved(gcn::MouseEvent &event) Viewport::mouseDragged(gcn::MouseEvent &event)
{ {
if (!mMap || !player_node) if (!mMap || !player_node)
return; return;
Expand Down
2 changes: 1 addition & 1 deletion src/gui/viewport.h
Expand Up @@ -92,7 +92,7 @@ class Viewport : public WindowContainer, public gcn::MouseListener,
* Handles mouse move on map * Handles mouse move on map
*/ */
void void
mouseMoved(gcn::MouseEvent &event); mouseDragged(gcn::MouseEvent &event);


/** /**
* Handles mouse button release on map. * Handles mouse button release on map.
Expand Down
4 changes: 1 addition & 3 deletions src/main.cpp
Expand Up @@ -39,8 +39,6 @@
#if (defined __USE_UNIX98 || defined __FreeBSD__) #if (defined __USE_UNIX98 || defined __FreeBSD__)
#include <cerrno> #include <cerrno>
#include <sys/stat.h> #include <sys/stat.h>
#elif defined WIN32
#define NOGDI
#endif #endif


#include "configuration.h" #include "configuration.h"
Expand Down Expand Up @@ -174,7 +172,7 @@ void initConfiguration(const Options &options)
{ {
// Fill configuration with defaults // Fill configuration with defaults
logger->log("Initializing configuration..."); logger->log("Initializing configuration...");
config.setValue("host", "animesites.de"); config.setValue("host", "server.themanaworld.org");
config.setValue("port", 9601); config.setValue("port", 9601);
config.setValue("hwaccel", 0); config.setValue("hwaccel", 0);
#if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL #if (defined __APPLE__ || defined WIN32) && defined USE_OPENGL
Expand Down
31 changes: 1 addition & 30 deletions tmw.cbp
Expand Up @@ -19,6 +19,7 @@
<Compiler> <Compiler>
<Add option="-Wall"/> <Add option="-Wall"/>
<Add option="-DUSE_OPENGL"/> <Add option="-DUSE_OPENGL"/>
<Add option="-DNOGDI"/>
</Compiler> </Compiler>
<Linker> <Linker>
<Add library="enet"/> <Add library="enet"/>
Expand Down Expand Up @@ -172,16 +173,6 @@
<Option link="0"/> <Option link="0"/>
<Option target="default"/> <Option target="default"/>
</Unit> </Unit>
<Unit filename="src\gui\buddywindow.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\buddywindow.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\button.cpp"> <Unit filename="src\gui\button.cpp">
<Option compilerVar="CPP"/> <Option compilerVar="CPP"/>
<Option target="default"/> <Option target="default"/>
Expand Down Expand Up @@ -222,16 +213,6 @@
<Option link="0"/> <Option link="0"/>
<Option target="default"/> <Option target="default"/>
</Unit> </Unit>
<Unit filename="src\gui\chargedialog.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\chargedialog.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\chat.cpp"> <Unit filename="src\gui\chat.cpp">
<Option compilerVar="CPP"/> <Option compilerVar="CPP"/>
<Option target="default"/> <Option target="default"/>
Expand Down Expand Up @@ -448,16 +429,6 @@
<Option link="0"/> <Option link="0"/>
<Option target="default"/> <Option target="default"/>
</Unit> </Unit>
<Unit filename="src\gui\newskill.cpp">
<Option compilerVar="CPP"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\newskill.h">
<Option compilerVar=""/>
<Option compile="0"/>
<Option link="0"/>
<Option target="default"/>
</Unit>
<Unit filename="src\gui\npc_text.cpp"> <Unit filename="src\gui\npc_text.cpp">
<Option compilerVar="CPP"/> <Option compilerVar="CPP"/>
<Option target="default"/> <Option target="default"/>
Expand Down

0 comments on commit 05bdb92

Please sign in to comment.