summaryrefslogtreecommitdiff
path: root/src/game.cpp
AgeCommit message (Collapse)AuthorFilesLines
2005-08-24Simply don't show equipped items in sell dialog since it's annoying. Code ↵Yohann Ferreira1-1/+1
cleanups and improvements to the login sequence.
2005-08-23Some code cleanups in the sell dialog. Made the dialog accept items instead ↵Björn Steinbrink1-2/+4
of looking them up in the inventory itself.
2005-08-22Enable Enter to deathNotice Dialog to resurrect. Todo: See how to remove a ↵Yohann Ferreira1-0/+9
bit duplicated code.
2005-08-22Converted the buy & sell diaogs asserts into ifs to avoid game crashing, and ↵Yohann Ferreira1-0/+2
made additional checks on buy sell events to have buttons enabled only when they're useful.
2005-08-21Cleaned and fixed an error in my previous commitEugenio Favalli1-30/+8
2005-08-19Moved gui window construction from engine.cpp to game.cppBjörn Steinbrink1-0/+122
2005-08-18Updated reference to latest libxml, fixed a bug in updating skills, updated ↵Eugenio Favalli1-25/+6
skill names database.
2005-08-13Updated dev-cpp project file, removed unnecessary header, fixed some include ↵Eugenio Favalli1-0/+1
paths.
2005-08-13Huge header cleanup to reduce dependencies and compile time.Björn Steinbrink1-41/+51
2005-08-10Moved knowledge about whether we use OpenGL into the Graphics class. Added ↵Björn Steinbrink1-51/+29
helper function for being creation to reduce code duplication. Some code simplifications.
2005-08-03Now the 'Apply' and 'Cancel' buttons of the setup window work correctly.Yohann Ferreira1-2/+2
2005-08-03Commented a switch case label that was left uncommentedBjörn Steinbrink1-1/+1
2005-08-03Moved my invented variable, since it makes more sense.Andrej Sinicyn1-1/+0
2005-08-02Fix my previous fix because it broke my own code.Andrej Sinicyn1-4/+5
2005-08-02Fixed "Trade canceled" happening often.Andrej Sinicyn1-0/+1
2005-08-01Small cleanups in the drawing code, the autoTarget checks and some headers.Björn Steinbrink1-6/+7
2005-08-01Fixed autoTarget not being set to NULL on map change.Björn Steinbrink1-0/+1
2005-08-01Show the name of the trade partner in the trade dialog.Andrej Sinicyn1-0/+4
2005-07-31Don't allow more than one request trade dialog at once.Andrej Sinicyn1-1/+5
2005-07-31Don't allow more than one trade dialog at once; if a trade is canceled on ↵Andrej Sinicyn1-0/+13
the other side, close the trade window.
2005-07-28Fixed popup window not always being correctly hidden when the player clicks ↵Björn Steinbrink1-7/+4
somewhere else.
2005-07-28Added an action enumeration to th Being class and removed the old #define's.Björn Steinbrink1-41/+30
2005-07-28Cleaned up the showPopup() code, moved "map"-related code into game.cpp, ↵Björn Steinbrink1-1/+13
made the popup show up at mouse coordinates instead of being aligned to tiles.
2005-07-26OpenGL/SDL combined in the same exe. Not in the cutest way, but we'll find aBjørn Lindeijer1-8/+8
nicer approach after the release.
2005-07-26Added Being::Type enumeration and type-aware findNode(). Fixed font not ↵Björn Steinbrink1-50/+69
being reset after drawing speech. Target marker drawing moved into engine.
2005-07-26- New smilies by ModanungEugenio Favalli1-5/+0
- New skill names - New title song
2005-07-23Made the key event handler use switches instead of if-else.Björn Steinbrink1-154/+183
2005-07-23Restored Being::setDestination, a pointer to the current map is now kept as ↵Björn Steinbrink1-12/+12
a member in Being.
2005-07-23Removed knowledge about the engine and maps from the being class..Björn Steinbrink1-15/+16
2005-07-22Merge between moi1392's branch and headCedric Borgese1-54/+37
2005-07-21Restore the joypad code, the 'new' code location wasn't checked for joypad ↵Björn Steinbrink1-3/+23
events...
2005-07-21Moved the joypad button checks to the according keyboard checks to reduce ↵Björn Steinbrink1-23/+3
code duplication
2005-07-18Created Inventory class. (Really) Small code simplifications and cleanups.Björn Steinbrink1-19/+20
2005-07-17Fixing linking issuesEugenio Favalli1-1/+21
2005-07-17Added Item and Equipment class and made the appropriate places make use of ↵Björn Steinbrink1-81/+56
them. Plus some cleanups.
2005-07-16- Fixing data path in Win32Eugenio Favalli1-0/+9
- 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-15Fixed compiler warnings and added plain text file loading to resource manager.Bjørn Lindeijer1-1/+1
2005-07-15Initialize joystick to NULL and allow right shift and control keys to be used.Bjørn Lindeijer1-3/+3
2005-07-15- Adding joypad tolerance to config fileEugenio Favalli1-44/+20
- Trying to put updates in the data folder (is this the right way?)
2005-07-15A small hack to let me sit and pick up objects :PEugenio Favalli1-32/+21
2005-07-15Enabling support for joypads:Eugenio Favalli1-51/+143
- 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-14Made attacking/aiming easier: Shift+Click = Don't walk, only interact.Björn Steinbrink1-1/+9
2005-07-11Committed header dependencies reducing patch by DoenerBjørn Lindeijer1-4/+18
2005-07-11Updating win32.txt about not using old stable Dev-C++ and committed patch byBjørn Lindeijer1-1/+6
Greybeard
2005-07-03- Fixed blue, red and yellow damage fonts to work in SDL modeBjørn Lindeijer1-5/+5
- Added two international characters to fixed font, fixed autotarget - Fixed mouse autotarget (now default for left click) - Cleaned up showing of empty right click menus
2005-07-03Minor fixes and cleanupsEugenio Favalli1-7/+3
2005-07-03- Removing "walk to", "attack" from context menuEugenio Favalli1-11/+10
- Attack is now default for left click (auto attack is not working yet with mouse) - Commented out "follow" from context menu
2005-07-03- Commenting out buddy and new skills windowsEugenio Favalli1-2/+4
- Some code cleaning - Workaround for colored text not being displayed in SDL mode (disabled)
2005-07-02Now the browser or the config windows closes when pushing enter.Yohann Ferreira1-0/+8
2005-07-02Music doesn't restart anymore if it's the same between maps.Eugenio Favalli1-3/+4
(I hope Bjorn likes it this way :P)