summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-12-24Fringe layer draw fix and change in policy on when using OpenGL is the default.Bjørn Lindeijer1-3/+3
2005-12-18Removed unused code and added changes to snowy map by Bertram.Eugenio Favalli1-15/+0
2005-12-05Display TMW version on Windows tooBjørn Lindeijer1-3/+2
2005-11-13Made the three desert maps use the fringe layer for objects. Reveals bug withBjørn Lindeijer1-1/+1
objects disappearing at the bottom and still some draw order problems.
2005-10-24Corrections to my previous commit for tmw for windows users.Yohann Ferreira1-3/+5
2005-10-23Grammar Corrections, and a little bit of work on getting the name of the Db.Yohann Ferreira1-0/+6
2005-10-16Use the ResourceManager to get spritesets.Björn Steinbrink1-20/+10
2005-10-16gl is default for win/apple/USE_OPENGL, needs to restart for fsDuane Bailey1-0/+4
2005-10-16The connection should be non-blocking now and fixed the problem with sound ↵Eugenio Favalli1-9/+10
not being played at startup.
2005-10-05Fixed some resource cleanup and memory leaks. Also changed the way danglingBjørn Lindeijer1-0/+3
references to resources are reported to be more informative.
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