Commit Graph
89 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 5733e3de1c PRINCE: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
D G Turner a45106412a PRINCE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-27 02:34:35 +00:00
Eugene Sandulenko 9a5ba52e6b PRINCE: Cleanup debug output 2018-05-06 19:33:45 +02:00
Adrian Frühwirth 7f85a988c0 Revert "PRINCE: Don't output debug information unless requested"
This reverts commit dfbf6b7287.
2018-05-06 09:25:31 +02:00
Adrian Frühwirth dfbf6b7287 PRINCE: Don't output debug information unless requested 2018-05-06 01:24:12 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Filippos Karapetis 0f0ca25e43 PRINCE: Remove trailing whitespace 2014-10-28 16:21:53 +02:00
Torbjörn Andersson 0579bf6f18 PRINCE: Fix potential out-of-bounds reads (CID 1248500, 1248503)
Since heroSetTable[] is an array of int, use >= ARRAYSIZE() instead
of > sizeof().
2014-10-25 20:57:52 +02:00
Strangerke f553a48329 PRINCE: Reduce the scope of several variables in Hero 2014-10-10 20:13:26 +02:00
lukaslw 9db1d77d47 PRINCE: Remove readScript and LittleEndianReader templates from Script
Change all of READ_UINT16 to READ_LE_UINT16 and all READ_UINT32 to READ_LE_UINT32 for endian-safety
2014-10-09 17:54:46 +02:00
lukaslw 257fd35f5a PRINCE: Hero::showHeroShadow - ct_loop variable rename to ctLoop 2014-10-09 00:04:55 +02:00
lukaslw a554fa9f7d PRINCE: Changing all occurrences of NULL to nullptr
To beconsistent and to keep just one of them
2014-10-08 18:09:18 +02:00
lukaslw e1774dc446 PRINCE: countDrawPosition() - clean up 2014-09-30 15:43:16 +02:00
lukaslw 9bda7c37c3 PRINCE: Shadows drawing - update 2014-08-16 22:54:38 +02:00
lukaslw 89bda02eb1 PRINCE: showHeroShadow - shadowLine data reading fix 2014-08-15 20:32:32 +02:00
lukaslw 1354146548 PRINCE: showHeroShadow - left side clipping fix 2014-08-14 04:41:58 +02:00
lukaslw 7026f687ff PRINCE: loadTrans(), drawTransparentWithTransDrawNode() - implementation 2014-08-10 21:47:35 +02:00
lukaslw 01b243d996 PRINCE: Hero::getData() - fix 2014-08-09 22:11:52 +02:00
lukaslw 5791d48c46 PRINCE: showHero - special animations drawing position fix 2014-08-04 22:07:00 +02:00
lukaslw 2bed872498 PRINCE: showHero() - special animations fix 2014-08-04 21:31:19 +02:00
lukaslw c3a3bdebd7 PRINCE: showHero() update 2014-08-04 12:02:00 +02:00
lukaslw 85f4c2ccd2 PRINCE: showHeroShadow - update 2014-08-04 08:55:20 +02:00
lukaslw 3c29d61f67 PRINCE: Code clean-up 2014-08-01 17:38:04 +02:00
lukaslw b3589c76da PRINCE: Parallax and animSet loading update 2014-08-01 00:35:31 +02:00
lukaslw 34f496c38a PRINCE: Second hero implementation 2014-07-31 20:59:41 +02:00
lukaslw 60881987d0 PRINCE: Animations - update 2014-07-31 05:29:03 +02:00
lukaslw 08dd3f6d37 PRINCE: showHero() - kHeroStateRun fix 2014-07-31 00:09:12 +02:00
lukaslw 08d781b6ad PRINCE: Game saving - basic implementation 2014-07-29 02:25:42 +02:00
lukaslw 9ea766ce2b PRINCE: Hero state names - update 2014-07-26 19:31:54 +02:00
lukaslw 2a1b354a6d PRINCE: Hero bored timer - update 2014-07-25 15:21:31 +02:00
lukaslw 9264796288 PRINCE: showHero(), heroMoveGotIt() - frames counting fix 2014-07-25 02:03:02 +02:00
lukaslw 933b6b7997 PRINCE: Spec hero animation - getSurface(), countDrawPosition(), showHero() update 2014-07-23 20:41:17 +02:00
lukaslw 2024fea1ec PRINCE: showHero(), scrollHero() update 2014-07-21 17:20:16 +02:00
lukaslw 6a4ea9ef87 PRINCE: Destination direction of hero movement 2014-07-21 16:36:16 +02:00
lukaslw d024d998ab PRINCE: showHero() update 2014-07-21 16:14:42 +02:00
lukaslw 2749f97dd9 PRINCE: freeHeroAnim(), O_SETHEROANIM() 2014-07-20 17:38:17 +02:00
lukaslw f66a285551 PRINCE: walkTo(), moveRunHero(), O_RUNHERO, O_MOVEHERO, O_CLEARPATH, O_SETPATH, O_LOADPATH 2014-07-19 18:10:11 +02:00
lukaslw 5a5211fbbc PRINCE: tracePath() - fix 2014-07-19 03:11:27 +02:00
lukaslw 40e1ddf88a PRINCE: showHero() update - hero movement and turning 2014-07-18 21:16:16 +02:00
lukaslw f4a35de7eb PRINCE: showHero() update 2014-07-18 15:35:43 +02:00
lukaslw dfddfbbd79 PRINCE: scanDirections() fix 2014-07-17 14:28:44 +02:00
lukaslw b0c454fc9b PRINCE: Pathfinding - bug fixing, first correct path 2014-07-14 03:26:17 +02:00
lukaslw 59e8dc2fd3 PRINCE: O_SETHERO, O_GETHERODATA, O_GETHEROX, O_GETHEROY, O_GETHEROD, O_HEROCOLOR, O_TALKHEROSTOP, O_ENABLENAK, O_DISABLENAK, O_GETMOBNAME 2014-07-08 16:38:09 +02:00
lukaslw 31ea215447 PRINCE: Hero animations fix - frame height calculation 2014-06-22 20:09:22 +02:00
lukaslw 306c234eb7 PRINCE: moveSet - names change 2014-06-22 20:09:17 +02:00
lukaslw f00eeeda91 PRINCE: Hero talking - dialog option choosing 2014-06-22 20:09:15 +02:00
lukaslw 854de5845b PRINCE: Hero Z coordinate fix 2014-06-22 20:08:39 +02:00
lukaslw 94ab6b268c PRINCE: DrawNode struct, runDrawNodes(), freeDrawNodes() 2014-06-22 20:08:37 +02:00
lukaslw 5f222a55ef PRINCE: Hero - checkMasks fix 2014-06-22 20:08:33 +02:00