2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /freespace2/code/Scramble/scramble.h $
15 * Header file for file scrambler
18 * Revision 1.2 2002/06/09 04:41:14 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/24/98 11:41p Dave
27 * 1 10/24/98 11:31p Dave
29 * 4 4/14/98 1:39p Lawrance
30 * Add command line switches to preprocess ship and weapon tables
32 * 3 3/31/98 1:14a Lawrance
33 * Get .tbl and mission file encryption working.
35 * 2 3/30/98 5:51p Lawrance
36 * file encryption and decryption
38 * 1 3/30/98 5:19p Lawrance
43 #ifndef __SCRAMBLE_H__
44 #define __SCRAMBLE_H__
46 #define PREPROCESS_SHIPS_TBL 0
47 #define PREPROCESS_WEAPONS_TBL 1
49 void scramble_file(char *src_filename, char *dest_filename = NULL, int preprocess = -1);
50 void unscramble_file(char *src_filename, char *dest_filename = NULL);