Commit Graph
56 Commits
Author SHA1 Message Date
Filippos Karapetis c76c72c799 CGE2: Remove trailing whitespace 2014-10-28 16:06:07 +02:00
Strangerke 9a927d7fd1 CGE2: Initialize some variables 2014-09-29 00:23:42 +02:00
Matthew Hoops cbfa8bfccd CGE2: Silence gcc warnings 2014-09-28 15:29:49 -04:00
uruk 277f844f09 CGE2: Initialize _maxDist in Hero's constructor. 2014-08-13 19:54:59 +02:00
uruk 8e22ef9b6d CGE2: Fix possible string overflow in Hero::expand(). 2014-08-13 19:49:56 +02:00
Eugene Sandulenko 148793cadd CGE2: Fix compilation 2014-08-12 10:52:38 +02:00
Strangerke 2697c71301 CGE2: Misc cleanup 2014-08-03 14:47:25 +02:00
Strangerke 9dc06870e7 CGE2: Start removing the checks on the return value of new 2014-08-03 01:51:33 +02:00
Strangerke f2de89c7bc CGE2: Fix CppCheck warnings by reducing variable scope 2014-08-02 22:26:00 +02:00
Strangerke c012c762d0 CGE2: Remove moveHi() and moveLo() from bitmap 2014-08-01 19:22:12 +02:00
uruk e51888d9ce CGE2: Refactor Hero::expand() and Sprite::expand(). 2014-07-29 15:59:43 +02:00
uruk 5963a540ef CGE2: Add destructor to Hero().
Hopefully it will cut short the leak problems with _dim[].
2014-07-17 17:33:04 +02:00
uruk 7d6c02ce3f CGE2: Add Hero::contract().
Fix the crash introduced by previous commit on the second scene.
2014-07-15 23:12:58 +02:00
uruk 0b0f998aac CGE2: Try a different approach regarding _dim.
Now it doesn't crash the hospital scene, but I am not entirely sure it's totally leak-free...
2014-07-15 22:15:06 +02:00
uruk 035fb6ad1c CGE2: Hopefully fix a memory leak problem regarding Hero::_dim; 2014-07-15 13:53:26 +02:00
uruk 5a1383343f CGE2: Rework number(). 2014-07-09 11:33:02 +02:00
uruk ffbed9f86d CGE2: Comment out Hero::contract() for now. 2014-07-08 14:09:11 +02:00
uruk be5ec466b3 CGE2: Fix another probable memory-leak source. 2014-07-07 23:58:06 +02:00
uruk 10a37ea478 CGE2: Fix Hero::setCurrent().
This fixes a crash regarding the mechanic on scene 6.
2014-07-07 23:35:27 +02:00
uruk 1335247f82 CGE2: Hopefully fix memory leak problems regarding _ext. 2014-07-07 21:52:16 +02:00
uruk c7aa91019b CGE2: Replace NULL with nullptr everywhere. 2014-07-07 21:42:45 +02:00
uruk 7810df976b CGE2: Rework Hero::expand() so it won't modify Text's content. 2014-06-30 01:10:17 +02:00
uruk 69c8871c3f CGE2: Silence GCC warning in Hero::tick(). 2014-06-28 19:53:05 +02:00
Strangerke 840eef8eb1 CGE2: Add a big hack to work around the coordinates issue 2014-06-23 18:10:05 +02:00
uruk 7b628c7ffc CGE2: Fix some formatting in Hero. 2014-06-22 19:06:40 +02:00
uruk cb3dce698c CGE2: Rework Hero::len(). 2014-06-22 14:10:47 +02:00
uruk f36cfb629c CGE2: Fix mapCross(). 2014-06-22 13:26:55 +02:00
uruk 76846bf4f5 CGE2: Implement Hero::fun(). 2014-06-19 12:23:00 +02:00
uruk ff99cb9658 CGE2: Implement Sprite::works().
Now Anna is also reachable/playable.
2014-06-19 11:43:01 +02:00
uruk 58c312d9e9 CGE2: Implement snReach() and connected functions. 2014-06-14 20:13:08 +02:00
uruk a2c3a11708 CGE2: Rename setCave() to setScene(). 2014-06-13 22:36:32 +02:00
uruk 95e3f240d6 CGE2: Implement Hero::turn(). 2014-06-13 19:41:43 +02:00
uruk 3aae5cfa06 CGE2: Implement Hero::hStep(). 2014-06-13 19:39:24 +02:00
uruk 235d0fffbd CGE2: Reimplement Hero::setCave(). 2014-06-13 19:36:36 +02:00
uruk 2ad2be370e CGE2: Implement Hero::tick(). 2014-06-13 16:31:32 +02:00
Strangerke 207f3c8be2 CGE2: Implement FXP code. Still WIP, loadTab to be fixed 2014-06-12 07:20:55 +02:00
Strangerke 45f8bd755c CGE2: Fix code computing distance 2014-06-12 01:18:10 +02:00
uruk e10f22b62f CGE2: Move kLineMax to cge2.h. 2014-06-10 14:02:17 +02:00
uruk 93010a8407 CGE2: Implement CGE2Engine::mapCross().
Rework Map during the process.
2014-06-08 14:26:42 +02:00
uruk ba8bc2e40b CGE2: Rework empty-checks of strings. 2014-06-08 12:55:19 +02:00
uruk 5fca8c328c CGE2: Fix stub message in CGE2Engine::mapCross(). 2014-06-08 07:44:46 +02:00
uruk 5a7924678a CGE2: Further implement Hero's functions. 2014-06-08 07:41:25 +02:00
uruk 9aa80d6d05 CGE2: Implement helper functions connected to Hero.
Also rework Hero::len() during the process.
2014-06-08 07:30:31 +02:00
uruk a62e044174 CGE2: Keep on implementing Hero.
Also add a couple of helping functions to CGE2Engine.
2014-06-07 21:35:48 +02:00
uruk f2a1d4f1c8 CGE2: Implement walkTo() and snap() in Hero. 2014-06-07 21:09:19 +02:00
uruk acb81c5e74 CGE2: Fully implement caveUp().
Also implement connected parts of Hero.
2014-06-07 19:44:16 +02:00
uruk f2c0069765 CGE2: Change BitmapPtr *_shpList -> BitmapPtr _shpList.
Update rest of the code accordingly.
2014-06-06 14:57:34 +02:00
Strangerke 516ad6e843 CGE2: Reduce the scope of some variables 2014-06-03 22:41:19 +02:00
Strangerke 11ebdcb5e0 CGE2: nullify some pointers 2014-06-03 20:18:48 +02:00
Strangerke de8affdec5 CGE2: Silence some gcc warnings 2014-06-03 17:39:10 +02:00