Update of /cvsroot/agd/server
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4457
Modified Files:
ChangeLog Ideas TODO
Log Message:
Routine commit.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/agd/server/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChangeLog 12 Mar 2004 16:05:04 -0000 1.2
--- ChangeLog 15 Mar 2004 18:53:35 -0000 1.3
***************
*** 2,8 ****
0.0.2:
----------------------------------------------------------------------------
2004-03-12
* interpreter.c: fixed F_RETURN and F_CALL_OTHER
-
* compiles on MacOSX
* compiles on Solaris again (id_t was redefined)
--- 2,12 ----
0.0.2:
----------------------------------------------------------------------------
+ 2004-03-15
+ * fixed popping locals if this_ob was destructed
+ * garbage collection for program_t - clones now use the master's
+ program_t.
+ * fixed input_to resetting with player_t->input_to_called
2004-03-12
* interpreter.c: fixed F_RETURN and F_CALL_OTHER
* compiles on MacOSX
* compiles on Solaris again (id_t was redefined)
Index: TODO
===================================================================
RCS file: /cvsroot/agd/server/TODO,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TODO 12 Mar 2004 08:32:10 -0000 1.1
--- TODO 15 Mar 2004 18:53:35 -0000 1.2
***************
*** 32,35 ****
--- 32,36 ----
- dfuns:
query_ip() for players.
+ int random(int highest)
- better logging system
- log using lib's facilities (master::log()?)
***************
*** 60,65 ****
all of the clones would be broken too.
- default values for arguments
! - string table for each object, and F_PUSH_STRING takes index into the table
! - F_PUSH_*VAR don't push T_LVALUE, F_PUSH_*VAR_LVALUE does (for assign lvalue and ++, -- lvalues)
- clean up includes, not everything needs everything in std.h and lpc_incl.h, etc.
- for div, mul and mod - if both sides are direct_type, calculate result at compile-time
--- 61,66 ----
all of the clones would be broken too.
- default values for arguments
! int foo(int i, int j = 1);
! - string table for each program, and F_PUSH_STRING takes index into the table
- clean up includes, not everything needs everything in std.h and lpc_incl.h, etc.
- for div, mul and mod - if both sides are direct_type, calculate result at compile-time
Index: Ideas
===================================================================
RCS file: /cvsroot/agd/server/Ideas,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Ideas 12 Mar 2004 08:32:10 -0000 1.1
--- Ideas 15 Mar 2004 18:53:35 -0000 1.2
***************
*** 3,10 ****
lpc:
* if(x == 1 || == 2 && != 3)
- * Optimized status type. A variable_t of type T_STATUS should have an index
- into an array of bits. The value of the variable is array_of_bits & (0x1 << index).
- We then only use sizeof(char) + 1 bytes instead of sizeof(long int)
* Argument type grouping
int foo(int i, j, k, string s1, s2, s3, object ob1, ob2);
!
--- 3,12 ----
lpc:
* if(x == 1 || == 2 && != 3)
* Argument type grouping
int foo(int i, j, k, string s1, s2, s3, object ob1, ob2);
! * k integer constants:
! 100k equals to 100000
! 1k equals to 1000 etc.
! * the same for K, M
! K (or maybe Kb / KB) = 1024
! M = 1024 * 1024
|