Commit Graph

4216 Commits

Author SHA1 Message Date
TomyLobo
94543b9deb [E2] Replaced E2 by a giant pancake. 2009-11-02 00:52:28 +00:00
TomyLobo
509cdde052 [E2] debug.lua: printColor(R) and E:printCoorDriver(R) should no longer cause script errors. 2009-11-01 16:57:45 +00:00
TomyLobo
9440c724dd [GPU] gpu_serverbus.lua: Rewrote the error-causing sections. Everything should work fine now. 2009-10-31 20:59:05 +00:00
TomyLobo
33b3653553 [Text Screen] Fixed an odd error occuring only in mult-player mode. 2009-10-31 16:22:54 +00:00
TomyLobo
d2d2066538 [HUD Indicator] cl_init.lua: Fixed a lua error when leaving a vehicle hooked to a hud indicator.
[GPULib] cl_gpulib.lua: Added documentation. Fixed a Lua error occurring when removing the 33rd screen
[GPU] gpu_serverbus.lua: Fixed a Lua error occuring when entering the game and at other points.
[Entity Marker] init.lua+STOOL: Added wire_emarker_model cvar to change models.
[Cam Controller] init.lua+STOOL: Added wire_cam_model cvar to change models.
[E2] STOOL: Optimized think hook
Rest: Cleanup, formatting changes etc
2009-10-31 14:11:22 +00:00
TomyLobo
996c822c5b [GPULib] Added render target text files for render targets 17 to 32
[GPULib] Lowered amount of render targets to 32
2009-10-30 14:39:53 +00:00
TomyLobo
ca0e43b6bb [GPULib] Increased number of render targets from 16 to 64, since they're shared with text screen now.
[Text Screen] Cleanup.
2009-10-30 13:42:21 +00:00
TomyLobo
2fecbd48bc [Text Screen]
o Converted to GPULib. This has the following effects:
- Much crisper text display
- Slightly improved performance, especially with static text screens.
- Many more models available (wire_textscreen_model)
o Due to the higher resolution i had to pick different font sizes and make a custom layout engine, so your existing text might be off now.
o Cleaned up display.lua
o Removed some leftover checkboxes and language items.
2009-10-30 05:52:43 +00:00
TomyLobo
536c4cadc2 [Text Screen] Removed all inputs except "String", which instantly changes the text now, and added FGColor and BGColor inputs. 2009-10-30 01:50:19 +00:00
TomyLobo
caedda46cc [GPU] gpu_serverbus.lua: Fixed GPU. 2009-10-29 22:50:26 +00:00
TomyLobo
7800e562d0 [Gates] Fixed "id to entity" gate. 2009-10-29 11:54:40 +00:00
TomyLobo
daff5ce868 [E2] extpp.lua: Cleanup 2009-10-29 11:44:20 +00:00
TomyLobo
fb959b79ba [E2] debug.lua: Removed some debug messages. (no pun intended) 2009-10-29 11:12:38 +00:00
TomyLobo
b6bf9c4c4c [E2] extpp.lua: Fixed varargs methods (like E:func(...))
[E2] debug.lua+cl_debug.lua: Added E:printColorDriver(...) and E:printColorDriver(R)
[GPU] No longer sending GPU data to a player every time he spawns.
2009-10-29 11:03:23 +00:00
TomyLobo
3450648499 [GPU] gpu_serverbus.lua: Messages to players who disconnected in the meantime are now discarded.
[GPULib] WireMonitors.lua:
- All models with no specific monitor definition will now have their screen on the largest face, with the screen's width being >= its height.
- Equilateral PHX cubes now have the screen on the front instead of the top
2009-10-27 22:57:20 +00:00
TomyLobo
4adcc47b41 [GPULib] WireMonitors.lua: Made models/props_lab/workspace002.mdl fit a bit better. 2009-10-27 21:03:42 +00:00
TomyLobo
bd3df27405 [GPU] cl_init.lua: Now using the new GPULib OO interface.
[GPULib] cl_gpulib.lua: Extended GPULib OO interface to fit GPU's needs
[GPULib] WireMonitors.lua:
- Made some internal changes that make defining monitors easier.
- Added monitor definition for models/props_lab/workspace002.mdl.
2009-10-27 20:05:39 +00:00
TomyLobo
079e6752ff [E2] find.lua: find*Player(S) and findPlayerByName(S) now work with plain strings instead of patterns. 2009-10-27 19:13:59 +00:00
TomyLobo
8335ced921 [E2] vector.lua: round(V,N) now works for all vectors, not just half of them.
[Text Screen] init.lua: Simplified TriggerInput handler.
2009-10-27 17:01:06 +00:00
TomyLobo
d3cedf3127 [Light] Added a "wire_light_model" cvar, which allows you to change the model of wire light. (By Chris/Quabit) 2009-10-27 14:49:52 +00:00
Asbjorn Espe
579a14f19b [Gates]
Renamed the derivative gates to Delta.
Fixed a lot of nil/NULL problems.
Fixed Entity ID gate.
Added Entity Driver gate.
Added Angle Delta gate.
2009-10-27 14:29:16 +00:00
TomyLobo
b0edd7052c [Gates] WireGates.lua: Added an "ID to Entity" gate. Fixed a few error return types. 2009-10-24 21:57:59 +00:00
TomyLobo
569968a73a [Debugger] Lua errors in the debugger's think hook no longer kill the debugger for everyone. 2009-10-24 20:43:20 +00:00
TomyLobo
778e257bc1 [GPULib] cl_gpulib.lua: Prevented Lua errors from messing up the view
[GPU/GPULib] cl_init.lua+cl_gpulib.lua: Used render.DrawQuad instead of surface.DrawPoly. This fixes an error about a missing material.
2009-10-24 16:08:01 +00:00
TomyLobo
8ea274a3d2 [GPULib] cl_gpulib.lua+WireMonitors.lua: rot90 now means yaw=-90° instead of +90°. Monitors's offsets now describe the center of the screen, not somewhere in the left half. Fixed all monitors for the new origin position.
[GPULib] WireMonitors.lua: Made a function to generate a monitor from a box+rotation information. Added the 2 TF2 billboards this way.
[GPU] cl_init.lua Made adjustments for the new origin position. There is a small chance that the GPU-integrated graphics tablet is broken now. Please report if you have any problems.
2009-10-24 13:53:04 +00:00
TomyLobo
cce5cdd129 [GPU] STOOL: Cleanup. 2009-10-23 22:37:21 +00:00
TomyLobo
af756c84bd [GPULib] WireMonitors.lua: Combined OF, OR and OU into one "offset" field, which is a vector in local coordinates.
[GPULib] cl_gpulib.lua: Got rid of some leftovers
[GPU] cl_init.lua: Made some optimizations and adjustments to the new monitor description format.
2009-10-23 21:42:13 +00:00
TomyLobo
90f8980378 [E2] E2Helper: The key of the E2Helper.Descriptions table can now be either a function signature ("applyForce(e:v)") or a function name ("applyForce"). 2009-10-23 20:30:52 +00:00
TomyLobo
e5a27c4925 [E2] number.lua: Fixed round(N,N)
[E2] vector.lua: Fixed round(V,N)
[E2] vector2.lua: Fixed round(XV2,N) and round(XV4,N)
2009-10-23 20:22:40 +00:00
TomyLobo
577193590b [GPULib] cl_gpulib.lua: Fixed a possible Lua error when incorrect rotation values are specified (GPU/Console Screen).
[Console Screen] Optimized drawing code for graphical characters (128-131).
2009-10-23 19:24:26 +00:00
TomyLobo
e25340be1f [E2] bitwise.lua: Fixed bShr and bShl by writing "return garry_sucks".
[E2] number.lua: Fixed an error message in number's debug type checker.
2009-10-23 18:21:06 +00:00
TomyLobo
90be46e6c2 [GPULib] cl_gpulib.lua: Render targets are now cleared before being used.
[Console Screen] cl_init.lua: Now obeying scaling and rotation again (did anyone ever use that anyway?)
[Digital Screen] cl_init.lua:
- Clearing the screen no longer scans the screen line by line.
- No more gaps between pixels in some resolutions.
2009-10-23 15:40:41 +00:00
TomyLobo
23f89b48eb [Oscilloscope] cl_init.lua: Converted to use the new WireGPU class.
[Remote Controller] shared.lua: Added AddCSLuaFile, so it should now show up in people's spawn menus even if they don't have wire.
2009-10-23 11:11:02 +00:00
TomyLobo
fdfb945392 [GPULib] Optimized a lot, removed some superfluous stuff. 2009-10-23 10:41:53 +00:00
TomyLobo
a5db208bdc [GPULib] cl_gpulib.lua: Made a WireGPU class that makes it easier to use GPULib functionality.
[Digital+Console Screen] cl_init.lua: Used new WireGPU class.
2009-10-23 00:17:11 +00:00
TomyLobo
a845467e3e [Remote Controller] Hello ShaRose :D 2009-10-22 10:47:42 +00:00
Anticept
526ac063d0 [RemoteController] ShaRose finally got the remotecontroller working for MP in sweps menu. 2009-10-22 01:11:34 +00:00
TomyLobo
ee37a54c01 [E2] e2lib.lua+WireLib.lua: Added a server tag ("e2_restricted") that indicates when some of E2's default functions have been disabled.
[Ingiter] Renamed to Igniter.
2009-10-21 23:24:32 +00:00
TomyLobo
c9d159483e [E2] tokenizer.lua: Made errors concerning constants more accurate and optimized constant parsing.
[E2] parser.lua: Adjusted some comments.
2009-10-21 00:15:25 +00:00
TomyLobo
7f959cad3e [E2] parser.lua+core/init.lua: Fixed constants. 2009-10-20 22:33:14 +00:00
TomyLobo
3ffeedfac3 [E2] string.lua: S:matchFirst(S[, N]) no longer returns an empty table instead of an empty string on failure. 2009-10-20 16:24:10 +00:00
TomyLobo
ff9b68b6db [E2] Added optimized type checkers. This is the first step to making generic array getters/setters.
[E2] quaternion.lua: Removed the unneeded input/output serializers.
[E2] wirelink.lua: Removed some TODOs and noteds.
[E2] compiler.lua: Removed some old commented-out code
2009-10-19 17:50:11 +00:00
TomyLobo
6cb7a88c90 [E2] hologram.lua: Now checking models properly again. 2009-10-18 00:49:32 +00:00
TomyLobo
c039f5657b [Console Screen] cl_init.lua: Now obeying the Rot90 property. This fixes the problem with console screen and phx plates.
[Oscilloscope] cl_init.lua: Now obeying the Rot90 property. This fixes the problem with oscilloscope and phx plates.
[Digital Screen] cl_init.lua: Cleanup
All 3: optimized draw hook a bit
[GPULib] WireMonitors.lua: Removed some debug output
2009-10-16 20:58:25 +00:00
TomyLobo
3b94b0bc67 [GPULib] WireMonitors.lua: All GPULib-based screens can now use any prop's upper side for display. Best suited for PHX plates. 2009-10-16 12:53:37 +00:00
TomyLobo
abfa7cf700 [WireLib] WireShared.lua: Added an unshift method to the deque container. 2009-10-16 10:38:32 +00:00
TomyLobo
215bdac91e [E2] core.lua+init.lua: runOnLast() now also works with reset(). 2009-10-15 19:38:26 +00:00
TomyLobo
a6017c0193 [E2] init.lua: reset() now defers construction by a tick and destruction until the end of Execute().
[E2] core/init.lua: Throwing a "cancelhook" error now cancels all hooks after the current one.
[E2] core/core.lua: Added last() and runOnLast(). Made reset() execute postexecute and destruct hooks properly. Remaining issue: reset() doesn't trigger last().
2009-10-15 01:05:48 +00:00
TomyLobo
d8524642c1 [E2] e2lib.lua: Cleanup
[E2] console.lua+find.lua+npc.lua+ranger.lua+sound.lua: You can now disable these extensions by writing "wire_expression2_extension_disable <name>" where <name> is the file name without .lua.
[E2] files.lua: You can now disable these extensions by writing "wire_expression2_extension_disable file"
[E2] hologram.lua: You can now disable these extensions by writing "wire_expression2_extension_disable holo"
2009-10-14 14:54:36 +00:00
TomyLobo
7be2a9ff82 [E2] Resetting a chip no longer removes the @directives. 2009-10-13 21:32:34 +00:00