Permalink
Browse files

Music testing added.

  • Loading branch information...
bitman
bitman committed Dec 15, 2001
1 parent e42cbd5 commit e376f892aa7feda93706398b5c53d71619ebb05c
Showing with 716 additions and 218 deletions.
  1. +4 −4 Makefile
  2. +4 −5 README
  3. +7 −1 display.h
  4. +7 −1 display_dos.c
  5. +12 −8 docs/kbasics.hlp
  6. +1 −1 docs/kevedit.hlp
  7. +4 −0 docs/knew.hlp
  8. +8 −0 docs/kobjedit.hlp
  9. +151 −46 editbox.c
  10. +4 −1 editbox.h
  11. +77 −1 panel_ed.c
  12. +148 −148 soundfx.zzm
  13. +257 −1 zzm.c
  14. +32 −1 zzm.h
View
@@ -2,7 +2,7 @@
# Choose your compiler
CC = i586-pc-msdosdjgpp-gcc
#CC = gcc
CC = gcc
# Uncomment next line to optimize kevedit
# Uncomment second line to not optimize and include debugging information
@@ -39,7 +39,7 @@ endif
# Objects
CENTRALOBJS = main.o misc.o menu.o editbox.o screen.o
CENTRALOBJS = misc.o menu.o editbox.o screen.o
LIBRARYOBJS = libzzt.o svector.o files.o zzm.o zzl.o selection.o zlaunch.o helplist.o hypertxt.o gradient.o
MISCOBJS = patbuffer.o help.o infobox.o register.o
DRAWOBJS = panel.o panel_f1.o panel_f2.o panel_f3.o panel_ed.o panel_hl.o panel_bi.o panel_wi.o panel_g1.o panel_g2.o panel_dd.o panel_fd.o panel_fn.o scroll.o tbox.o cbox.o
@@ -52,8 +52,8 @@ OBJECTS = $(CENTRALOBJS) $(LIBRARYOBJS) $(MISCOBJS) $(DRAWOBJS) $(DISPLAYOBJS)
# Targets
all: kevedit
kevedit: $(OBJECTS)
$(CC) -o $@ $(OBJECTS) $(CFLAGS)
kevedit: $(OBJECTS) main.o
$(CC) -o $@ $(OBJECTS) main.o $(CFLAGS)
.cpp.o:
$(CC) -o $@ $< $(CFLAGS) -c
View
9 README
@@ -25,11 +25,10 @@ http://members.aol.com/chronos30/ and unzip the .hlp files into the same folder
New Features / Bug Fixes
------------------------
New features in 0.3.4
* Multi-directory file dialogs
* Goes directly to the title screen when running ZZT worlds
Bugs fixed in 0.3.4
* Infrequent help system crash repaired
New features in 0.3.5
* ZZT Music Testing
* Support for extended help when running ZZT
Bugs fixed in 0.3.5
Blatant Plug of ZZT Under Windows
---------------------------------
View
@@ -1,5 +1,5 @@
/* display.h -- Defines for modular display
* $Id: display.h,v 1.9 2001/11/10 04:48:12 bitman Exp $
* $Id: display.h,v 1.10 2001/12/15 00:54:53 bitman Exp $
* Copyright (C) 2000 Kev Vance <kev@kvance.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -34,6 +34,8 @@ typedef struct displaymethod {
int (*getch) (void); /* DOS style getch */
int (*kbhit) (void); /* TRUE when key waits in buffer */
void (*cursorgo) (int x, int y); /* Move the cursor */
void (*print) (int x, int y, int c, char *ch); /* Simple print function */
@@ -105,9 +107,12 @@ extern void RegisterDisplays();
/* Ctrl-letter keys */
/* TODO: replace with 'a' | DKEY_CTRL, etc */
#define DKEY_CTRL_A ('a' - 0x60)
#define DKEY_CTRL_B ('b' - 0x60)
#define DKEY_CTRL_C ('c' - 0x60)
#define DKEY_CTRL_D ('d' - 0x60)
#define DKEY_CTRL_E ('e' - 0x60)
#define DKEY_CTRL_F ('f' - 0x60)
#define DKEY_CTRL_T ('t' - 0x60)
#define DKEY_CTRL_V ('v' - 0x60)
#define DKEY_CTRL_X ('x' - 0x60)
#define DKEY_CTRL_Y ('y' - 0x60)
@@ -120,6 +125,7 @@ extern void RegisterDisplays();
#define DKEY_ALT_M (50 | DDOSKEY_EXT)
#define DKEY_ALT_O (24 | DDOSKEY_EXT)
#define DKEY_ALT_S (31 | DDOSKEY_EXT)
#define DKEY_ALT_T (20 | DDOSKEY_EXT)
#define DKEY_ALT_Z (44 | DDOSKEY_EXT)
#define DKEY_ALT_MINUS (130 | DDOSKEY_EXT)
View
@@ -1,5 +1,5 @@
/* display_dos.c -- Functions for the DOS display method
* $Id: display_dos.c,v 1.12 2001/11/10 07:42:39 bitman Exp $
* $Id: display_dos.c,v 1.13 2001/12/15 00:54:53 bitman Exp $
* Copyright (C) 2000-2001 Kev Vance <kev@kvance.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -171,6 +171,11 @@ int display_dos_getch()
return key;
}
int display_dos_kbhit()
{
return kbhit();
}
void display_dos_gotoxy(int x, int y)
{
gotoxy(x + 1, y + 1);
@@ -238,6 +243,7 @@ displaymethod display_dos =
display_dos_end,
display_dos_putch,
display_dos_getch,
display_dos_kbhit,
display_dos_gotoxy,
display_dos_print,
display_dos_titlebar,
View
@@ -210,16 +210,20 @@ World Info dialog to modify the title.
:zzt;Working with ZZT
To aid in testing a game, pressing 'r'
will run ZZT on the current world. It
will not jump directly to the game; you
still must choose your input device, etc.
When you return to KevEdit, you will be
asked if you want to reload the world, in
case ZZT was used to edit the world in
some way.
will run ZZT on the current world, jumping
directly to the title screen.
For this to work, zzt.exe and zzt.dat must
be either in the current directory, the
same directory as kevedit.exe, or, for
zzt.exe only, on the path.
KevEdit now supports extended help
systems when running ZZT. Simply extract
an extended help package (such as
Chronos's ZZTWeb) into the same folder as
kevedit.exe and run the installation batch
file. Be sure to delete any zzt.dat files
on your hard-drive, EXCEPT the one in the
KevEdit folder, as these may interfere
with the process.
View
@@ -1,5 +1,5 @@
$-----------------------------------------
KevEdit 0.3.4
KevEdit 0.3.5
A world file editor for the game ZZT
$-----------------------------------------
Copyright (C) 2000-2001
View
@@ -1,6 +1,10 @@
@New Features
$New Features
$New in Version 0.3.5
!-kobject:play;Testing ZZT Music
!-kbasics:zzt;Extended help in ZZT
$New in Version 0.3.4
!-kadvance:gradtool;Gradient Tool
!-kbasics:zzt;Run ZZT at title screen
View
@@ -6,6 +6,7 @@ $The Object Code Editor
!ascii;ASCII Charater Insertion
!files;Loading and Saving Text Files
!zzm;Importing ZZT Music
!play;Testing ZZT Music
!zoc;ZOC Mode
!help;Context Sensitive Help
@@ -76,6 +77,13 @@ to be editted before using. See the
included file soundfx.zzm for an example
of how to do this.
:play;Testing ZZT Music
To test a song in KevEdit, simply move the
cursor to the beginning of the song and
press CTRL-T. To hear the music without
the slurring problem (that is, with tiny
breaks between notes), use ALT-T.
:zoc;ZOC Mode
It may be useful to turn ZOC mode off when
editing files which are not ZZT Object
Oops, something went wrong.

0 comments on commit e376f89

Please sign in to comment.