[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src include/ccl.h stratagus/ccl.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src include/ccl.h stratagus/ccl.c |
Date: |
2 Jan 2004 14:13:59 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 04/01/02 14:13:59
Modified files:
src/include : ccl.h
src/stratagus : ccl.c
Log message:
CclCommand returns int
Patches:
Index: stratagus/src/include/ccl.h
diff -u stratagus/src/include/ccl.h:1.49 stratagus/src/include/ccl.h:1.50
--- stratagus/src/include/ccl.h:1.49 Fri Jan 2 08:24:08 2004
+++ stratagus/src/include/ccl.h Fri Jan 2 14:13:58 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: ccl.h,v 1.49 2004/01/01 21:24:08 jsalmon3 Exp $
+// $Id: ccl.h,v 1.50 2004/01/02 03:13:58 jsalmon3 Exp $
#ifndef __CCL_H__
#define __CCL_H__
@@ -80,7 +80,7 @@
extern void LoadCcl(void); /// Load ccl config file
extern void SaveCcl(CLFile* file); /// Save CCL module
extern void SavePreferences(void); /// Save user preferences
-extern void CclCommand(const char*); /// Execute a ccl command
+extern int CclCommand(const char*); /// Execute a ccl command
extern void CclFree(void*); /// Save free
extern void CleanCclCredits(); /// Free Ccl Credits Memory
Index: stratagus/src/stratagus/ccl.c
diff -u stratagus/src/stratagus/ccl.c:1.151 stratagus/src/stratagus/ccl.c:1.152
--- stratagus/src/stratagus/ccl.c:1.151 Fri Jan 2 12:14:17 2004
+++ stratagus/src/stratagus/ccl.c Fri Jan 2 14:13:58 2004
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: ccl.c,v 1.151 2004/01/02 01:14:17 jsalmon3 Exp $
+// $Id: ccl.c,v 1.152 2004/01/02 03:13:58 jsalmon3 Exp $
//@{
@@ -893,7 +893,7 @@
**
** @param command Zero terminated command string.
*/
-global void CclCommand(const char* command)
+global int CclCommand(const char* command)
{
int status;
@@ -1063,7 +1063,7 @@
}
fprintf(fd, "--- -----------------------------------------\n");
- fprintf(fd, "--- $Id: ccl.c,v 1.151 2004/01/02 01:14:17 jsalmon3 Exp
$\n");
+ fprintf(fd, "--- $Id: ccl.c,v 1.152 2004/01/02 03:13:58 jsalmon3 Exp
$\n");
fprintf(fd, "SetVideoResolution(%d, %d)\n", VideoWidth, VideoHeight);
fprintf(fd, "SetGroupKeys(\"");
@@ -1099,7 +1099,7 @@
}
fprintf(fd, "--- -----------------------------------------\n");
- fprintf(fd, "--- $Id: ccl.c,v 1.151 2004/01/02 01:14:17 jsalmon3 Exp
$\n");
+ fprintf(fd, "--- $Id: ccl.c,v 1.152 2004/01/02 03:13:58 jsalmon3 Exp
$\n");
// Global options
if (OriginalFogOfWar) {
@@ -1208,7 +1208,7 @@
extern SCM oblistvar;
CLprintf(file, "\n;;; -----------------------------------------\n");
- CLprintf(file, ";;; MODULE: CCL $Id: ccl.c,v 1.151 2004/01/02 01:14:17
jsalmon3 Exp $\n\n");
+ CLprintf(file, ";;; MODULE: CCL $Id: ccl.c,v 1.152 2004/01/02 03:13:58
jsalmon3 Exp $\n\n");
for (list = oblistvar; gh_list_p(list); list = gh_cdr(list)) {
SCM sym;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src include/ccl.h stratagus/ccl.c,
address@hidden <=