summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-09-26Now error message is displayed properly when the map server is offline.Eugenio Favalli1-1/+2
2005-09-26...and those ones. :/Eugenio Favalli1-2/+2
2005-09-26Oops, I forgot this oneEugenio Favalli1-1/+1
2005-09-26Added a nicer handling of when you get disconnected from the server.Eugenio Favalli1-25/+41
2005-09-23Merged most of the changes in biggeruniverse's second memory cleanup patch.Bjørn Lindeijer1-0/+4
2005-09-19Mostly code cleanups related to commits in past two days.Bjørn Lindeijer1-1/+1
* Replaced custom function FIND_PATH with AC_PATH_PROG, used for finding sdl-config. * Removed -lphysfs from Makefile.am which should be added automatically already. * Actually show the overweight message, and only show it once for each time weight goes above half the max weight. * Surfaces passed to SDL_BlitSurface shouldn't be locked according to the manual. * Minimal fps limit is now 10 fps. * Reverted change by Bertram that hardcoded the updatehost value.
2005-09-18Increased joypad tolerance which is safer and simplifyed joypad state reset ↵Eugenio Favalli1-1/+1
code.
2005-09-18 Applyed biggeruniverse's patch to fix memory leaks.Eugenio Favalli1-0/+2
2005-09-14Header cleanups.Björn Steinbrink1-1/+1
2005-09-13Merged with SDL_NET_TEST branch.Björn Steinbrink1-4/+2
2005-09-13Removed some globals.Björn Steinbrink1-3/+0
2005-09-13Unified the loops for the various dialogs that are shown before the actual ↵Björn Steinbrink1-51/+78
game starts.
2005-09-08Removed inclusion of malloc.h header as it doens't seem necessary and wasBjørn Lindeijer1-1/+2
problematic on FreeBSD.
2005-08-25Adding min and max length check for password, more code cleanups in login ↵Yohann Ferreira1-3/+3
and removing possible buffer overflows by replacing some global char[] by std::strings.
2005-08-19Added support for parsing command line options. Added option to skip the ↵Björn Steinbrink1-2/+64
update process. Made the logger being created immediately after start, because some destructors use it.
2005-08-18Semi-separated OpenGL and SDL graphics classes, improving OpenGL performance.Björn Steinbrink1-1/+8
2005-08-15Made the OpenGL related code fully #ifdef'ed.Björn Steinbrink1-2/+6
2005-08-14Fully removed the useOpenGL global.Björn Steinbrink1-5/+7
2005-08-14Started to fade out the useOpenGL global variable.Björn Steinbrink1-1/+1
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-28/+27
2005-08-04Added a method to the resource mananger to determine the real path of a file ↵Björn Steinbrink1-1/+1
in the search path. Added a first user of that function. Minor cleanup.
2005-08-02Use PhysFS to determine user's home directory on unix. Removed an now unused ↵Björn Steinbrink1-14/+1
header.
2005-08-02Moved graphics setup code into the graphics class.Björn Steinbrink1-62/+16
2005-07-30Removed unnecessary value assignment to a variable.Andrej Sinicyn1-2/+0
2005-07-30Fixed check for updates directory. Moved search/write path setup from ↵Björn Steinbrink1-8/+17
resourcemanager to main initialization.
2005-07-28Fixed updates directory not being created on non-unix systems.Björn Steinbrink1-8/+10
2005-07-27Added support for updates to the resource manager.Björn Steinbrink1-3/+5
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-2/+2
nicer approach after the release.
2005-07-26- New smilies by ModanungEugenio Favalli1-1/+1
- New skill names - New title song
2005-07-19Move a variable declaration at the top of the main function.Cedric Borgese1-1/+3
2005-07-19Rewrite UpdaterWindow in a more object oriented style.Cedric Borgese1-1/+3
2005-07-16Updated changelog, got rid of remaining extern SDL_Surface *screen cases,Bjørn Lindeijer1-6/+3
fixed double free and cleaned up a bit.
2005-07-16Made Image/SubImage being drawn by Graphics. Removed some redundant code.Björn Steinbrink1-1/+4
2005-07-16- Fixing data path in Win32Eugenio Favalli1-1/+2
- Adding default values to config - Fixes after Bertram changes (I hope this way it works even in Linux) - Error message are now displayed in browser for better readability - Already downloaded files are not downloaded aother time (As usually it needs testing so please report to me evry malfunctioning)
2005-07-16A little improvement in the code.Yohann Ferreira1-8/+4
2005-07-16Using strings instead of char* where it's more convenient.Yohann Ferreira1-24/+22
2005-07-16Now check for the existence of /home/user/.tmw/data at startup. Will be ↵Yohann Ferreira1-5/+23
improved later.
2005-07-15Enabling support for joypads:Eugenio Favalli1-3/+3
- Only <=6 buttons are supported - Only the first jopad is used (if you have more than one) - Axes need to be tuned - You can only move and attack with joypad Small fix in the updating system
2005-07-14Committed resource manager cleanup patch by Doener, and properly implementedBjørn Lindeijer1-0/+1
the custom mouse cursor option, which is now also dynamically changeable through the setup window.
2005-07-13My version of the updaterEugenio Favalli1-165/+1
(ok it needs a lot of bug fixes, a lot of checks and whaever else) WARNING: Needs to be tested
2005-07-13- Adding the wonderful new font by Bjorn to speech and player namesEugenio Favalli1-26/+28
- Way to system cursor (now you can choose the original sdl cursor in config)
2005-07-12windows compilation fixesEugenio Favalli1-0/+1
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-0/+5
2005-07-11Introducing new font, sans serif 8.Bjørn Lindeijer1-2/+1
2005-07-09Some win32 fixes most of allEugenio Favalli1-41/+48
2005-07-09Update now checks to make sure resources.txt existed on the server and didAaron Marks1-0/+6
not download an error page.
2005-07-08Small changes to updating code and removing tabs.Bjørn Lindeijer1-91/+62
2005-07-08Added basic update system (depends on curl).Aaron Marks1-1/+161
2005-06-23Finishing resource manager ability to clean up resources. Still work to do onBjørn Lindeijer1-1/+4
resources other than images.
2005-06-14Added background to minimap. Only used in Tonori Desert map for now, and itsBjørn Lindeijer1-1/+0
style is up for discussion.