Commit Graph
319 Commits
Author SHA1 Message Date
Littleboy 6aeda2638b LASTEXPRESS: More include re-organization 2012-07-27 00:54:24 -04:00
Julien 115a4d36ba LASTEXPRESS: Move includes to header for setup function templates 2012-07-27 00:32:10 -04:00
Julien 3d6807b359 LASTEXPRESS: Implement Logic::resetState() 2012-07-27 00:15:05 -04:00
Julien b4b4a7d127 LASTEXPRESS: Replace setup macros by functions 2012-07-27 00:15:05 -04:00
Julien 2d6f799235 LASTEXPRESS: Cleanup unused arguments from BEGIN_SETUP macro 2012-07-27 00:15:04 -04:00
Julien 813c2bb965 LASTEXPRESS: Merge the remaining macros in entity_intern.h into entity.h 2012-07-27 00:15:04 -04:00
Julien 938961e237 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_1 macro 2012-07-27 00:15:03 -04:00
Julien b6b98483c5 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_3 macro 2012-07-27 00:15:02 -04:00
Julien 37770212c0 LASTEXPRESS: Remove TIME_CHECK_CALLBACK_2 macro 2012-07-27 00:15:02 -04:00
Julien 7450ae23fb LASTEXPRESS: Move RESET_ENTITY_STATE macro to entity.h 2012-07-27 00:15:01 -04:00
Julien 7974b62b71 LASTEXPRESS: Reduce nesting in Entities::processEntity() 2012-07-27 00:15:01 -04:00
Julien 552e8d45b2 LASTEXPRESS: Switch some warnings to debug console output 2012-07-27 00:15:00 -04:00
Julien 8545991739 LASTEXPRESS: Remove several TIME_CHECK* macros 2012-07-27 00:15:00 -04:00
Julien e985f7374f LASTEXPRESS: Move Entity function declaration macros to entity.h 2012-07-27 00:14:59 -04:00
Julien 82ad017a8e LASTEXPRESS: Replace UPDATE_PARAM_GOTO macro 2012-07-27 00:14:58 -04:00
Julien 8de4cb6547 LASTEXPRESS: Replace UPDATE_PARAM_PROC and UPDATE_PARAM_PROC_TIME macros 2012-07-27 00:14:58 -04:00
Julien e13290a028 LASTEXPRESS: Replace UPDATE_PARAM_CHECK macro 2012-07-27 00:14:57 -04:00
Julien 95503250f8 LASTEXPRESS: Replace UPDATE_PARAM macro 2012-07-27 00:14:56 -04:00
Julien 2e20e1d1e2 LASTEXPRESS: Replace TIME_CHECK_PLAYSOUND_UPDATEPOSITION macro 2012-07-27 00:14:55 -04:00
Julien c589e69ec9 LASTEXPRESS: Replace TIME_CHECK_CALLBACK_ACTION macro 2012-07-27 00:14:55 -04:00
Julien 5d4a8f1e15 LASTEXPRESS: Remove use of function wrappers in shared entity functions 2012-07-27 00:14:54 -04:00
Julien 2c4518d615 LASTEXPRESS: Move some macros to entity.h 2012-07-27 00:14:54 -04:00
Littleboy 6a8d037af1 LASTEXPRESS: Fix variable shadowing and update comments 2012-07-19 20:58:40 -04:00
Littleboy d830c0edc9 LASTEXPRESS: Replace TIME_CHECK_SAVEPOINT and TIME_CHECK_OBJECT macros 2012-07-16 23:51:32 -04:00
Littleboy 0181a464eb LASTEXPRESS: Use filter 16 as default filter for NIS animations
This makes sure the sound is at the correct volume
2012-07-16 23:51:32 -04:00
Littleboy be94a24fd2 LASTEXPRESS: Replace INVERT_Y macro 2012-07-16 23:51:31 -04:00
Littleboy 3cf7e8ccf3 LASTEXPRESS: Replace INCREMENT_DIRECTION_COUNTER macro 2012-07-16 23:51:30 -04:00
Littleboy 04a181a787 LASTEXPRESS: Replace 2 macros in Sophie entity implementation 2012-07-16 23:51:30 -04:00
Littleboy 2b116592cb LASTEXPRESS: Remove LOADSCENE_FROM_POSITION macro 2012-07-16 23:51:29 -04:00
Littleboy 3d1b7b2d96 LASTEXPRESS: Merge the two savegameBloodJacket functions into the base Entity class 2012-07-16 23:51:28 -04:00
Littleboy e517c1199a LASTEXPRESS: Move LOW_BYTE macro to helpers.h 2012-07-16 23:51:27 -04:00
Littleboy 132dd5b4bc LASTEXPRESS: Replace SYNC_STRING macro by function 2012-07-16 23:51:27 -04:00
Littleboy d4f7c02323 LASTEXPRESS: Replace PLAY_STEAM macro by function 2012-07-16 23:51:26 -04:00
Littleboy 96d0aedba9 LASTEXPRESS: Replace SAVEGAME_BLOOD_JACKET macro by function 2012-07-16 23:51:25 -04:00
Littleboy 876a8f9377 LASTEXPRESS: Replace COMPARTMENT_TO and COMPARTMENT_FROM_TO macros 2012-07-16 23:51:25 -04:00
Littleboy 9e64e62c08 LASTEXPRESS: Comment unused variable 2012-07-16 23:51:24 -04:00
Littleboy 43d3b2f378 LASTEXPRESS: Remove strange casts 2012-07-16 23:51:23 -04:00
Littleboy 4cee0836c9 LASTEXPRESS: Replace CALLBACK_ACTION macro by member function 2012-07-14 14:34:42 -04:00
Littleboy 13c00d4048 LASTEXPRESS: Fix sound in animated sequences 2012-07-14 14:26:22 -04:00
Littleboy 0635d99ec7 LASTEXPRESS: Cleanup
- Add missing initializer/destructors
 - Add some const modifiers
 - Remove some unneeded casts
 - Use enumeration values in switch constructs
2012-07-14 14:26:00 -04:00
Littleboy 732a2c80dd LASTEXPRESS: Remove duplicated include statements 2012-07-14 13:23:54 -04:00
Johannes Schickel 1cda4f903b LASTEXPRESS: Get rid of casts on CursorManager::replaceCursor calls. 2012-06-16 03:28:43 +02:00
Johannes Schickel 2e97e043fb LASTEXPRESS: Get rid of casts on OSystem::copyRectToScreen calls. 2012-06-16 02:38:59 +02:00
Johannes Schickel a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Christoph Mallon 75efdd2d84 JANITORIAL: Replace (x ? false : true) by !(x). 2012-03-13 15:43:36 +01:00
Tarek Soliman a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Andrea Corna a6ec4f70da COMMON: Make more members of Archive constant. 2011-12-13 17:55:57 +01:00
Christoph Mallon e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
Littleboy 735fedeee9 LASTEXPRESS: Fix typos in shared game code (as reported by _sev) 2011-11-07 20:33:23 -05:00
Littleboy a21f72c87b LASTEXPRESS: Fix typos in entity code (as reported by _sev) 2011-11-07 20:25:14 -05:00