Subversion Repositories plumbers

Compare Revisions

Regard whitespace Rev 25 → Rev 24

/trunk/LICENSE
File deleted
/trunk/README.md
File deleted
\ No newline at end of file
/trunk/FileFormat/C/plumbers.h
1,20 → 1,3
/*
* Plumbers Don't Wear Ties - Structure of GAME.BIN
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
 
#ifndef PLUMBERS_GAMESTRUCT_HEADER
#define PLUMBERS_GAMESTRUCT_HEADER
 
36,12 → 19,11
struct _actionDef {
int32_t scoreDelta;
int16_t nextSceneID; // will jump to the scene with the name "SCxx", where xx stands for nextSceneID (2 digits at least)
// SCENEID_PREVDECISION (0x7FFF) = end game
// SCENEID_ENDGAME (0xFFFF) = go back to the last decision
int16_t sceneSegment; // SEGMENT_BEGINNING (0) = start scene from beginning
// SEGMENT_DECISION (1) = go to decision page
// 7FFF (32767) = end game
// FFFF ( -1) = go back to the last decision
int16_t sceneSegment; // 0 = scene from beginning, 1 = decision page
_coord cHotspotTopLeft;
_coord cHotspotBottomRight;
_coord cHotspotBottomRigh;
};
 
struct _sceneDef {
/trunk/FileFormat/Delphi/GameBinStruct.pas
1,22 → 1,5
unit GameBinStruct;
 
(*
* Plumbers Don't Wear Ties - Structure of GAME.BIN
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
{$A-}
 
interface
/trunk/SceneEditor/BinEdit.dpr
1,22 → 1,5
program BinEdit;
 
(*
* Plumbers Don't Wear Ties - Inofficial Scene Editor
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
/trunk/SceneEditor/Unit1.pas
1,22 → 1,5
unit Unit1;
 
(*
* Plumbers Don't Wear Ties - Inofficial Scene Editor
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
// TODO: the "folder open" icons look like you can CHOOSE a file, not open it!
// - change the icon to something else
// - add open-dialogs for choosing the bmp and wav files
/trunk/Win32_Player/Game.pas
1,22 → 1,5
unit Game;
 
(*
* Plumbers Don't Wear Ties - Inofficial Win32 Player
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
interface
 
uses
/trunk/Win32_Player/Main.pas
1,22 → 1,5
unit Main;
 
(*
* Plumbers Don't Wear Ties - Inofficial Win32 Player
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
// BUG: If you drag the window, the dia show will stop playing, but the sound continues! This makes everything out of sync.
// TODO: When the windows is only resized a little bit (A few pixels), the window should not centered
// ... Calc the width and height of ALL pictures, and then size the form to the biggest value?
/trunk/Win32_Player/Showtime32.dpr
1,22 → 1,5
program ShowTime32;
 
(*
* Plumbers Don't Wear Ties - Inofficial Win32 Player
* Copyright 2017 - 2020 Daniel Marschall, ViaThinkSoft
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*)
 
uses
Forms,
Main in 'Main.pas' {MainForm},