26 Commits

Author SHA1 Message Date
Gregory Montoir
43a62296cd pass arguments by reference-to-const rather than by value, it's usually more efficient...
svn-id: r15477
2004-10-08 19:58:49 +00:00
Eugene Sandulenko
94d9a2149b Implement scene change via exits. You still cannot leave first scene
because it goes to now buggy isometric level. Use debugger to switch
to some word, say, in Dog Castle and there you may go between rooms.

svn-id: r15462
2004-10-08 01:22:39 +00:00
Eugene Sandulenko
29a5f6bbd3 Remove duplicated code in actor walk code.
Turn ActionMap into real object.
Rename ActionMap variables to conform our code guidelines.

svn-id: r15456
2004-10-07 22:31:39 +00:00
Eugene Sandulenko
8b7740d8af R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.
svn-id: r15414
2004-10-04 23:09:38 +00:00
Eugene Sandulenko
632042dae4 Move CON_* to a class.
svn-id: r14538
2004-08-10 18:31:33 +00:00
Eugene Sandulenko
166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +00:00
Joost Peters
936142bf40 rename load() to loadMap()
svn-id: r14426
2004-08-01 22:52:45 +00:00
Eugene Sandulenko
ea694ffd68 Pass SagaEngine object to Anim and ActionMap objects
svn-id: r14422
2004-08-01 13:34:20 +00:00
Eugene Sandulenko
f97621d6e4 Remove unneeded code
svn-id: r14421
2004-08-01 13:29:39 +00:00
Jonathan Gray
0bbeb61f5e merge gfx_mod.h into gfx.h and stick functions into a class
svn-id: r14419
2004-08-01 11:48:53 +00:00
Max Horn
4ef4583523 Oh the beauty of stack based objects: they free themselves automatically, so you don't leak them all the time (fixed 10e6 object leaks :-)
svn-id: r14417
2004-08-01 10:02:41 +00:00
Eugene Sandulenko
6a2e05edb8 More tweaks
svn-id: r14413
2004-08-01 07:50:28 +00:00
Eugene Sandulenko
890d667087 oops
svn-id: r14412
2004-08-01 07:41:15 +00:00
Eugene Sandulenko
2ed2770eed Yet more proper memory free'ing
svn-id: r14411
2004-08-01 07:37:42 +00:00
Jonathan Gray
182dd48bd4 merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
svn-id: r14405
2004-08-01 01:56:22 +00:00
Eugene Sandulenko
f1cfbe9065 Forgot to implement destructor for ActionMap
svn-id: r14400
2004-08-01 00:07:17 +00:00
Eugene Sandulenko
d530fc7696 Objectize actionmap.cpp
svn-id: r14399
2004-08-01 00:03:45 +00:00
Eugene Sandulenko
46a1c45d70 Extended CVAR_RegisterFunc with callback object parameter.
Got rid of static structure in animation.cpp

svn-id: r14397
2004-07-31 23:33:14 +00:00
Torbjörn Andersson
148872d1fd Replaced R_printf() with debug() and warning(). There are still a couple of
standard printf()s left, though.

svn-id: r13791
2004-05-05 13:05:45 +00:00
Eugene Sandulenko
8de181f4f0 Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.
In fact there were no binary writes at all.

svn-id: r13773
2004-05-04 03:33:03 +00:00
Eugene Sandulenko
5de55d2dfa indent
svn-id: r13771
2004-05-03 23:12:59 +00:00
Eugene Sandulenko
51801dc503 Started work on moving from ys_read/write to MemoryReadStream
svn-id: r13769
2004-05-03 23:06:57 +00:00
Eugene Sandulenko
1ecf43aabe Remove unneeded #defines
svn-id: r13689
2004-05-01 06:31:50 +00:00
Paweł Kołodziejski
1ac5aef647 indent
svn-id: r13688
2004-05-01 06:16:57 +00:00
Eugene Sandulenko
1353e2d2dc Move from custom unsigned types to those provided by main config.h
svn-id: r13687
2004-04-30 23:02:23 +00:00
Eugene Sandulenko
f3d340fb0c WIP for SAGA engine.
o text formatting is not consistent with rules, just indent utility is too
   dumb for that
 o it does not use OSystem, i.e. it runs on direct SDL calls
 o it may not even compile on your box
 o if you enable it, expect zillions of warnings
 o no sound

Now it runs ITE intro as reinherit did

svn-id: r13564
2004-04-12 21:40:49 +00:00